@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetSamplingTargetsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
GetSamplingTargetsResult() |
Modifier and Type | Method and Description |
---|---|
GetSamplingTargetsResult |
clone() |
boolean |
equals(Object obj) |
Date |
getLastRuleModification()
The last time a user changed the sampling rule configuration.
|
List<SamplingTargetDocument> |
getSamplingTargetDocuments()
Updated rules that the service should use to sample requests.
|
List<UnprocessedStatistics> |
getUnprocessedStatistics()
Information about
SamplingStatisticsDocument that X-Ray could not process.
|
int |
hashCode() |
void |
setLastRuleModification(Date lastRuleModification)
The last time a user changed the sampling rule configuration.
|
void |
setSamplingTargetDocuments(Collection<SamplingTargetDocument> samplingTargetDocuments)
Updated rules that the service should use to sample requests.
|
void |
setUnprocessedStatistics(Collection<UnprocessedStatistics> unprocessedStatistics)
Information about
SamplingStatisticsDocument that X-Ray could not process.
|
String |
toString()
Returns a string representation of this object.
|
GetSamplingTargetsResult |
withLastRuleModification(Date lastRuleModification)
The last time a user changed the sampling rule configuration.
|
GetSamplingTargetsResult |
withSamplingTargetDocuments(Collection<SamplingTargetDocument> samplingTargetDocuments)
Updated rules that the service should use to sample requests.
|
GetSamplingTargetsResult |
withSamplingTargetDocuments(SamplingTargetDocument... samplingTargetDocuments)
Updated rules that the service should use to sample requests.
|
GetSamplingTargetsResult |
withUnprocessedStatistics(Collection<UnprocessedStatistics> unprocessedStatistics)
Information about
SamplingStatisticsDocument that X-Ray could not process.
|
GetSamplingTargetsResult |
withUnprocessedStatistics(UnprocessedStatistics... unprocessedStatistics)
Information about
SamplingStatisticsDocument that X-Ray could not process.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<SamplingTargetDocument> getSamplingTargetDocuments()
Updated rules that the service should use to sample requests.
public void setSamplingTargetDocuments(Collection<SamplingTargetDocument> samplingTargetDocuments)
Updated rules that the service should use to sample requests.
samplingTargetDocuments
- Updated rules that the service should use to sample requests.public GetSamplingTargetsResult withSamplingTargetDocuments(SamplingTargetDocument... samplingTargetDocuments)
Updated rules that the service should use to sample requests.
NOTE: This method appends the values to the existing list (if any). Use
setSamplingTargetDocuments(java.util.Collection)
or
withSamplingTargetDocuments(java.util.Collection)
if you want to override the existing values.
samplingTargetDocuments
- Updated rules that the service should use to sample requests.public GetSamplingTargetsResult withSamplingTargetDocuments(Collection<SamplingTargetDocument> samplingTargetDocuments)
Updated rules that the service should use to sample requests.
samplingTargetDocuments
- Updated rules that the service should use to sample requests.public void setLastRuleModification(Date 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.
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 Date getLastRuleModification()
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 GetSamplingTargetsResult withLastRuleModification(Date 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.
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 List<UnprocessedStatistics> getUnprocessedStatistics()
Information about SamplingStatisticsDocument that X-Ray could not process.
public void setUnprocessedStatistics(Collection<UnprocessedStatistics> unprocessedStatistics)
Information about SamplingStatisticsDocument that X-Ray could not process.
unprocessedStatistics
- Information about SamplingStatisticsDocument that X-Ray could not process.public GetSamplingTargetsResult withUnprocessedStatistics(UnprocessedStatistics... unprocessedStatistics)
Information about SamplingStatisticsDocument that X-Ray could not process.
NOTE: This method appends the values to the existing list (if any). Use
setUnprocessedStatistics(java.util.Collection)
or
withUnprocessedStatistics(java.util.Collection)
if you want to override the existing values.
unprocessedStatistics
- Information about SamplingStatisticsDocument that X-Ray could not process.public GetSamplingTargetsResult withUnprocessedStatistics(Collection<UnprocessedStatistics> unprocessedStatistics)
Information about SamplingStatisticsDocument that X-Ray could not process.
unprocessedStatistics
- Information about SamplingStatisticsDocument that X-Ray could not process.public String toString()
toString
in class Object
Object.toString()
public GetSamplingTargetsResult clone()