* Updated rules that the service should use to sample requests. *
*/ private java.util.List* The last time a user changed the sampling rule configuration. If the sampling rule configuration changed since * the service last retrieved it, the service should call GetSamplingRules to get the * latest version. *
*/ private java.util.Date lastRuleModification; /** ** Information about * SamplingStatisticsDocument that X-Ray could not process. *
*/ private java.util.List* Updated rules that the service should use to sample requests. *
* * @return Updated rules that the service should use to sample requests. */ public java.util.List* Updated rules that the service should use to sample requests. *
* * @param samplingTargetDocuments * Updated rules that the service should use to sample requests. */ public void setSamplingTargetDocuments(java.util.Collection* Updated rules that the service should use to sample requests. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setSamplingTargetDocuments(java.util.Collection)} or * {@link #withSamplingTargetDocuments(java.util.Collection)} if you want to override the existing values. *
* * @param samplingTargetDocuments * Updated rules that the service should use to sample requests. * @return Returns a reference to this object so that method calls can be chained together. */ public GetSamplingTargetsResult withSamplingTargetDocuments(SamplingTargetDocument... samplingTargetDocuments) { if (this.samplingTargetDocuments == null) { setSamplingTargetDocuments(new java.util.ArrayList* Updated rules that the service should use to sample requests. *
* * @param samplingTargetDocuments * Updated rules that the service should use to sample requests. * @return Returns a reference to this object so that method calls can be chained together. */ public GetSamplingTargetsResult withSamplingTargetDocuments(java.util.Collection* The last time a user changed the sampling rule configuration. If the sampling rule configuration changed since * the service last retrieved it, the service should call GetSamplingRules to get the * latest version. *
* * @param lastRuleModification * The last time a user changed the sampling rule configuration. If the sampling rule configuration changed * since the service last retrieved it, the service should call GetSamplingRules to get * the latest version. */ public void setLastRuleModification(java.util.Date lastRuleModification) { this.lastRuleModification = lastRuleModification; } /** ** The last time a user changed the sampling rule configuration. If the sampling rule configuration changed since * the service last retrieved it, the service should call GetSamplingRules to get the * latest version. *
* * @return The last time a user changed the sampling rule configuration. If the sampling rule configuration changed * since the service last retrieved it, the service should call GetSamplingRules to get * the latest version. */ public java.util.Date getLastRuleModification() { return this.lastRuleModification; } /** ** The last time a user changed the sampling rule configuration. If the sampling rule configuration changed since * the service last retrieved it, the service should call GetSamplingRules to get the * latest version. *
* * @param lastRuleModification * The last time a user changed the sampling rule configuration. If the sampling rule configuration changed * since the service last retrieved it, the service should call GetSamplingRules to get * the latest version. * @return Returns a reference to this object so that method calls can be chained together. */ public GetSamplingTargetsResult withLastRuleModification(java.util.Date lastRuleModification) { setLastRuleModification(lastRuleModification); return this; } /** ** Information about * SamplingStatisticsDocument that X-Ray could not process. *
* * @return Information about SamplingStatisticsDocument that X-Ray could not process. */ public java.util.List* Information about * SamplingStatisticsDocument that X-Ray could not process. *
* * @param unprocessedStatistics * Information about SamplingStatisticsDocument that X-Ray could not process. */ public void setUnprocessedStatistics(java.util.Collection* Information about * SamplingStatisticsDocument that X-Ray could not process. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setUnprocessedStatistics(java.util.Collection)} or * {@link #withUnprocessedStatistics(java.util.Collection)} if you want to override the existing values. *
* * @param unprocessedStatistics * Information about SamplingStatisticsDocument that X-Ray could not process. * @return Returns a reference to this object so that method calls can be chained together. */ public GetSamplingTargetsResult withUnprocessedStatistics(UnprocessedStatistics... unprocessedStatistics) { if (this.unprocessedStatistics == null) { setUnprocessedStatistics(new java.util.ArrayList* Information about * SamplingStatisticsDocument that X-Ray could not process. *
* * @param unprocessedStatistics * Information about SamplingStatisticsDocument that X-Ray could not process. * @return Returns a reference to this object so that method calls can be chained together. */ public GetSamplingTargetsResult withUnprocessedStatistics(java.util.Collection