Class CfnStateMachine.TracingConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.stepfunctions.CfnStateMachine.TracingConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnStateMachine.TracingConfigurationProperty>
- Enclosing interface:
CfnStateMachine.TracingConfigurationProperty
@Stability(Stable)
public static final class CfnStateMachine.TracingConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnStateMachine.TracingConfigurationProperty>
A builder for
CfnStateMachine.TracingConfigurationProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnStateMachine.TracingConfigurationProperty.getEnabled()
enabled
(IResolvable enabled) Sets the value ofCfnStateMachine.TracingConfigurationProperty.getEnabled()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
enabled
@Stability(Stable) public CfnStateMachine.TracingConfigurationProperty.Builder enabled(Boolean enabled) Sets the value ofCfnStateMachine.TracingConfigurationProperty.getEnabled()
- Parameters:
enabled
- When set totrue
, X-Ray tracing is enabled.- Returns:
this
-
enabled
@Stability(Stable) public CfnStateMachine.TracingConfigurationProperty.Builder enabled(IResolvable enabled) Sets the value ofCfnStateMachine.TracingConfigurationProperty.getEnabled()
- Parameters:
enabled
- When set totrue
, X-Ray tracing is enabled.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnStateMachine.TracingConfigurationProperty>
- Returns:
- a new instance of
CfnStateMachine.TracingConfigurationProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-