public static interface GetSamplingTargetsResponse.Builder extends XRayResponse.Builder, SdkPojo, CopyableBuilder<GetSamplingTargetsResponse.Builder,GetSamplingTargetsResponse>
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildGetSamplingTargetsResponse.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 method that creates an instance of theSamplingTargetDocument.Builder avoiding the need to create
one manually via SamplingTargetDocument.builder().
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to #samplingTargetDocuments(List.
samplingTargetDocuments - a consumer that will call methods on
SamplingTargetDocument.Builder#samplingTargetDocuments(java.util.Collection) 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 method that creates an instance of theUnprocessedStatistics.Builder avoiding the need to create
one manually via UnprocessedStatistics.builder().
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to #unprocessedStatistics(List.
unprocessedStatistics - a consumer that will call methods on
UnprocessedStatistics.Builder#unprocessedStatistics(java.util.Collection) Copyright © 2023. All rights reserved.