public static interface CreateSamplingRuleRequest.Builder extends XRayRequest.Builder, SdkPojo, CopyableBuilder<CreateSamplingRuleRequest.Builder,CreateSamplingRuleRequest>
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildCreateSamplingRuleRequest.Builder samplingRule(SamplingRule samplingRule)
The rule definition.
samplingRule - The rule definition.default CreateSamplingRuleRequest.Builder samplingRule(Consumer<SamplingRule.Builder> samplingRule)
The rule definition.
This is a convenience method that creates an instance of theSamplingRule.Builder avoiding the need
to create one manually via SamplingRule.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to samplingRule(SamplingRule).
samplingRule - a consumer that will call methods on SamplingRule.BuildersamplingRule(SamplingRule)CreateSamplingRuleRequest.Builder tags(Collection<Tag> tags)
A map that contains one or more tag keys and tag values to attach to an X-Ray sampling rule. For more information about ways to use tags, see Tagging Amazon Web Services resources in the Amazon Web Services General Reference.
The following restrictions apply to tags:
Maximum number of user-applied tags per resource: 50
Maximum tag key length: 128 Unicode characters
Maximum tag value length: 256 Unicode characters
Valid values for key and value: a-z, A-Z, 0-9, space, and the following characters: _ . : / = + - and @
Tag keys and values are case sensitive.
Don't use aws: as a prefix for keys; it's reserved for Amazon Web Services use.
tags - A map that contains one or more tag keys and tag values to attach to an X-Ray sampling rule. For more
information about ways to use tags, see Tagging Amazon Web Services
resources in the Amazon Web Services General Reference.
The following restrictions apply to tags:
Maximum number of user-applied tags per resource: 50
Maximum tag key length: 128 Unicode characters
Maximum tag value length: 256 Unicode characters
Valid values for key and value: a-z, A-Z, 0-9, space, and the following characters: _ . : / = + - and @
Tag keys and values are case sensitive.
Don't use aws: as a prefix for keys; it's reserved for Amazon Web Services use.
CreateSamplingRuleRequest.Builder tags(Tag... tags)
A map that contains one or more tag keys and tag values to attach to an X-Ray sampling rule. For more information about ways to use tags, see Tagging Amazon Web Services resources in the Amazon Web Services General Reference.
The following restrictions apply to tags:
Maximum number of user-applied tags per resource: 50
Maximum tag key length: 128 Unicode characters
Maximum tag value length: 256 Unicode characters
Valid values for key and value: a-z, A-Z, 0-9, space, and the following characters: _ . : / = + - and @
Tag keys and values are case sensitive.
Don't use aws: as a prefix for keys; it's reserved for Amazon Web Services use.
tags - A map that contains one or more tag keys and tag values to attach to an X-Ray sampling rule. For more
information about ways to use tags, see Tagging Amazon Web Services
resources in the Amazon Web Services General Reference.
The following restrictions apply to tags:
Maximum number of user-applied tags per resource: 50
Maximum tag key length: 128 Unicode characters
Maximum tag value length: 256 Unicode characters
Valid values for key and value: a-z, A-Z, 0-9, space, and the following characters: _ . : / = + - and @
Tag keys and values are case sensitive.
Don't use aws: as a prefix for keys; it's reserved for Amazon Web Services use.
CreateSamplingRuleRequest.Builder tags(Consumer<Tag.Builder>... tags)
A map that contains one or more tag keys and tag values to attach to an X-Ray sampling rule. For more information about ways to use tags, see Tagging Amazon Web Services resources in the Amazon Web Services General Reference.
The following restrictions apply to tags:
Maximum number of user-applied tags per resource: 50
Maximum tag key length: 128 Unicode characters
Maximum tag value length: 256 Unicode characters
Valid values for key and value: a-z, A-Z, 0-9, space, and the following characters: _ . : / = + - and @
Tag keys and values are case sensitive.
Don't use aws: as a prefix for keys; it's reserved for Amazon Web Services use.
Tag.Builder avoiding the need to create one manually via
Tag.builder().
When the Consumer completes, SdkBuilder.build()
is called immediately and its result is passed to #tags(List.
tags - a consumer that will call methods on Tag.Builder#tags(java.util.Collection) CreateSamplingRuleRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderCreateSamplingRuleRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2023. All rights reserved.