Class CfnStateMachine.LoggingConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.stepfunctions.CfnStateMachine.LoggingConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnStateMachine.LoggingConfigurationProperty>
- Enclosing interface:
- CfnStateMachine.LoggingConfigurationProperty
@Stability(Stable)
public static final class CfnStateMachine.LoggingConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnStateMachine.LoggingConfigurationProperty>
A builder for
CfnStateMachine.LoggingConfigurationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.destinations(List<? extends Object> destinations) Sets the value ofCfnStateMachine.LoggingConfigurationProperty.getDestinations()destinations(IResolvable destinations) Sets the value ofCfnStateMachine.LoggingConfigurationProperty.getDestinations()includeExecutionData(Boolean includeExecutionData) Sets the value ofCfnStateMachine.LoggingConfigurationProperty.getIncludeExecutionData()includeExecutionData(IResolvable includeExecutionData) Sets the value ofCfnStateMachine.LoggingConfigurationProperty.getIncludeExecutionData()Sets the value ofCfnStateMachine.LoggingConfigurationProperty.getLevel()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
destinations
@Stability(Stable) public CfnStateMachine.LoggingConfigurationProperty.Builder destinations(IResolvable destinations) Sets the value ofCfnStateMachine.LoggingConfigurationProperty.getDestinations()- Parameters:
destinations- An array of objects that describes where your execution history events will be logged. Limited to size 1. Required, if your log level is not set toOFF.- Returns:
this
-
destinations
@Stability(Stable) public CfnStateMachine.LoggingConfigurationProperty.Builder destinations(List<? extends Object> destinations) Sets the value ofCfnStateMachine.LoggingConfigurationProperty.getDestinations()- Parameters:
destinations- An array of objects that describes where your execution history events will be logged. Limited to size 1. Required, if your log level is not set toOFF.- Returns:
this
-
includeExecutionData
@Stability(Stable) public CfnStateMachine.LoggingConfigurationProperty.Builder includeExecutionData(Boolean includeExecutionData) Sets the value ofCfnStateMachine.LoggingConfigurationProperty.getIncludeExecutionData()- Parameters:
includeExecutionData- Determines whether execution data is included in your log. When set tofalse, data is excluded.- Returns:
this
-
includeExecutionData
@Stability(Stable) public CfnStateMachine.LoggingConfigurationProperty.Builder includeExecutionData(IResolvable includeExecutionData) Sets the value ofCfnStateMachine.LoggingConfigurationProperty.getIncludeExecutionData()- Parameters:
includeExecutionData- Determines whether execution data is included in your log. When set tofalse, data is excluded.- Returns:
this
-
level
Sets the value ofCfnStateMachine.LoggingConfigurationProperty.getLevel()- Parameters:
level- Defines which category of execution history events are logged.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnStateMachine.LoggingConfigurationProperty>- Returns:
- a new instance of
CfnStateMachine.LoggingConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-