Class CfnSamplingRulePropsMixin.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.xray.CfnSamplingRulePropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnSamplingRulePropsMixin>
- Enclosing class:
CfnSamplingRulePropsMixin
@Stability(Stable)
public static final class CfnSamplingRulePropsMixin.Builder
extends Object
implements software.amazon.jsii.Builder<CfnSamplingRulePropsMixin>
A fluent builder for
CfnSamplingRulePropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionbuild()create()create(CfnPropertyMixinOptions options) Deprecated.this property has been deprecatedsamplingRule(CfnSamplingRulePropsMixin.SamplingRuleProperty samplingRule) The sampling rule to be created or updated.samplingRule(IResolvable samplingRule) The sampling rule to be created or updated.samplingRuleRecord(CfnSamplingRulePropsMixin.SamplingRuleRecordProperty samplingRuleRecord) Deprecated.this property has been deprecatedsamplingRuleRecord(IResolvable samplingRuleRecord) Deprecated.this property has been deprecatedsamplingRuleUpdate(CfnSamplingRulePropsMixin.SamplingRuleUpdateProperty samplingRuleUpdate) Deprecated.this property has been deprecatedsamplingRuleUpdate(IResolvable samplingRuleUpdate) Deprecated.this property has been deprecatedAn array of key-value pairs to apply to this resource.
-
Method Details
-
create
@Stability(Stable) public static CfnSamplingRulePropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnSamplingRulePropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnSamplingRulePropsMixin.Builder.
-
ruleName
@Stability(Deprecated) @Deprecated public CfnSamplingRulePropsMixin.Builder ruleName(String ruleName) Deprecated.this property has been deprecated(deprecated) The ARN of the sampling rule.Specify a rule by either name or ARN, but not both.
- Parameters:
ruleName- The ARN of the sampling rule. This parameter is required.- Returns:
this- See Also:
-
samplingRule
The sampling rule to be created or updated.- Parameters:
samplingRule- The sampling rule to be created or updated. This parameter is required.- Returns:
this- See Also:
-
samplingRule
@Stability(Stable) public CfnSamplingRulePropsMixin.Builder samplingRule(CfnSamplingRulePropsMixin.SamplingRuleProperty samplingRule) The sampling rule to be created or updated.- Parameters:
samplingRule- The sampling rule to be created or updated. This parameter is required.- Returns:
this- See Also:
-
samplingRuleRecord
@Stability(Deprecated) @Deprecated public CfnSamplingRulePropsMixin.Builder samplingRuleRecord(IResolvable samplingRuleRecord) Deprecated.this property has been deprecated- Parameters:
samplingRuleRecord- This parameter is required.- Returns:
this- See Also:
-
samplingRuleRecord
@Stability(Deprecated) @Deprecated public CfnSamplingRulePropsMixin.Builder samplingRuleRecord(CfnSamplingRulePropsMixin.SamplingRuleRecordProperty samplingRuleRecord) Deprecated.this property has been deprecated- Parameters:
samplingRuleRecord- This parameter is required.- Returns:
this- See Also:
-
samplingRuleUpdate
@Stability(Deprecated) @Deprecated public CfnSamplingRulePropsMixin.Builder samplingRuleUpdate(IResolvable samplingRuleUpdate) Deprecated.this property has been deprecated- Parameters:
samplingRuleUpdate- This parameter is required.- Returns:
this- See Also:
-
samplingRuleUpdate
@Stability(Deprecated) @Deprecated public CfnSamplingRulePropsMixin.Builder samplingRuleUpdate(CfnSamplingRulePropsMixin.SamplingRuleUpdateProperty samplingRuleUpdate) Deprecated.this property has been deprecated- Parameters:
samplingRuleUpdate- This parameter is required.- Returns:
this- See Also:
-
tags
An array of key-value pairs to apply to this resource.- Parameters:
tags- An array of key-value pairs to apply to this resource. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnSamplingRulePropsMixin>- Returns:
- a newly built instance of
CfnSamplingRulePropsMixin.
-