public static interface GetSamplingTargetsResponse.Builder extends XRayResponse.Builder, SdkPojo, CopyableBuilder<GetSamplingTargetsResponse.Builder,GetSamplingTargetsResponse>
build, responseMetadata, responseMetadata
sdkHttpResponse, sdkHttpResponse
copy
applyMutation, build
GetSamplingTargetsResponse.Builder samplingTargetDocuments(Collection<SamplingTargetDocument> samplingTargetDocuments)
Updated rules that the service should use to sample requests.
samplingTargetDocuments
- Updated rules that the service should use to sample requests.GetSamplingTargetsResponse.Builder samplingTargetDocuments(SamplingTargetDocument... samplingTargetDocuments)
Updated rules that the service should use to sample requests.
samplingTargetDocuments
- Updated rules that the service should use to sample requests.GetSamplingTargetsResponse.Builder samplingTargetDocuments(Consumer<SamplingTargetDocument.Builder>... samplingTargetDocuments)
Updated rules that the service should use to sample requests.
This is a convenience that creates an instance of theList.Builder
avoiding
the need to create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called
immediately and its result is passed to #samplingTargetDocuments(List)
.samplingTargetDocuments
- a consumer that will call methods on List.Builder
#samplingTargetDocuments(List)
GetSamplingTargetsResponse.Builder lastRuleModification(Instant 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.GetSamplingTargetsResponse.Builder unprocessedStatistics(Collection<UnprocessedStatistics> unprocessedStatistics)
Information about SamplingStatisticsDocument that X-Ray could not process.
unprocessedStatistics
- Information about SamplingStatisticsDocument that X-Ray could not process.GetSamplingTargetsResponse.Builder unprocessedStatistics(UnprocessedStatistics... unprocessedStatistics)
Information about SamplingStatisticsDocument that X-Ray could not process.
unprocessedStatistics
- Information about SamplingStatisticsDocument that X-Ray could not process.GetSamplingTargetsResponse.Builder unprocessedStatistics(Consumer<UnprocessedStatistics.Builder>... unprocessedStatistics)
Information about SamplingStatisticsDocument that X-Ray could not process.
This is a convenience that creates an instance of theList.Builder
avoiding
the need to create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called
immediately and its result is passed to #unprocessedStatistics(List)
.unprocessedStatistics
- a consumer that will call methods on List.Builder
#unprocessedStatistics(List)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.