Interface GetSamplingTargetsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetSamplingTargetsResponse.Builder,GetSamplingTargetsResponse>,SdkBuilder<GetSamplingTargetsResponse.Builder,GetSamplingTargetsResponse>,SdkPojo,SdkResponse.Builder,XRayResponse.Builder
- Enclosing class:
- GetSamplingTargetsResponse
@Mutable @NotThreadSafe public static interface GetSamplingTargetsResponse.Builder extends XRayResponse.Builder, SdkPojo, CopyableBuilder<GetSamplingTargetsResponse.Builder,GetSamplingTargetsResponse>
-
-
Method Summary
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Methods inherited from interface software.amazon.awssdk.services.xray.model.XRayResponse.Builder
build, responseMetadata, responseMetadata
-
-
-
-
Method Detail
-
samplingTargetDocuments
GetSamplingTargetsResponse.Builder samplingTargetDocuments(Collection<SamplingTargetDocument> samplingTargetDocuments)
Updated rules that the service should use to sample requests.
- Parameters:
samplingTargetDocuments- Updated rules that the service should use to sample requests.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
samplingTargetDocuments
GetSamplingTargetsResponse.Builder samplingTargetDocuments(SamplingTargetDocument... samplingTargetDocuments)
Updated rules that the service should use to sample requests.
- Parameters:
samplingTargetDocuments- Updated rules that the service should use to sample requests.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
samplingTargetDocuments
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.Builderavoiding the need to create one manually viaSamplingTargetDocument.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#samplingTargetDocuments(List.) - Parameters:
samplingTargetDocuments- a consumer that will call methods onSamplingTargetDocument.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#samplingTargetDocuments(java.util.Collection)
-
lastRuleModification
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
unprocessedStatistics
GetSamplingTargetsResponse.Builder unprocessedStatistics(Collection<UnprocessedStatistics> unprocessedStatistics)
Information about SamplingStatisticsDocument that X-Ray could not process.
- Parameters:
unprocessedStatistics- Information about SamplingStatisticsDocument that X-Ray could not process.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
unprocessedStatistics
GetSamplingTargetsResponse.Builder unprocessedStatistics(UnprocessedStatistics... unprocessedStatistics)
Information about SamplingStatisticsDocument that X-Ray could not process.
- Parameters:
unprocessedStatistics- Information about SamplingStatisticsDocument that X-Ray could not process.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
unprocessedStatistics
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.Builderavoiding the need to create one manually viaUnprocessedStatistics.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#unprocessedStatistics(List.) - Parameters:
unprocessedStatistics- a consumer that will call methods onUnprocessedStatistics.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#unprocessedStatistics(java.util.Collection)
-
-