Class CfnStateMachinePropsMixin.LoggingConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.stepfunctions.mixins.CfnStateMachinePropsMixin.LoggingConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnStateMachinePropsMixin.LoggingConfigurationProperty>
- Enclosing interface:
CfnStateMachinePropsMixin.LoggingConfigurationProperty
@Stability(Stable)
public static final class CfnStateMachinePropsMixin.LoggingConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnStateMachinePropsMixin.LoggingConfigurationProperty>
A builder for
CfnStateMachinePropsMixin.LoggingConfigurationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.destinations(List<? extends Object> destinations) Sets the value ofCfnStateMachinePropsMixin.LoggingConfigurationProperty.getDestinations()destinations(IResolvable destinations) Sets the value ofCfnStateMachinePropsMixin.LoggingConfigurationProperty.getDestinations()includeExecutionData(Boolean includeExecutionData) includeExecutionData(IResolvable includeExecutionData) Sets the value ofCfnStateMachinePropsMixin.LoggingConfigurationProperty.getLevel()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
destinations
@Stability(Stable) public CfnStateMachinePropsMixin.LoggingConfigurationProperty.Builder destinations(IResolvable destinations) Sets the value ofCfnStateMachinePropsMixin.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 CfnStateMachinePropsMixin.LoggingConfigurationProperty.Builder destinations(List<? extends Object> destinations) Sets the value ofCfnStateMachinePropsMixin.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 CfnStateMachinePropsMixin.LoggingConfigurationProperty.Builder includeExecutionData(Boolean includeExecutionData) - Parameters:
includeExecutionData- Determines whether execution data is included in your log. When set tofalse, data is excluded.- Returns:
this
-
includeExecutionData
@Stability(Stable) public CfnStateMachinePropsMixin.LoggingConfigurationProperty.Builder includeExecutionData(IResolvable includeExecutionData) - Parameters:
includeExecutionData- Determines whether execution data is included in your log. When set tofalse, data is excluded.- Returns:
this
-
level
@Stability(Stable) public CfnStateMachinePropsMixin.LoggingConfigurationProperty.Builder level(String level) Sets the value ofCfnStateMachinePropsMixin.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<CfnStateMachinePropsMixin.LoggingConfigurationProperty>- Returns:
- a new instance of
CfnStateMachinePropsMixin.LoggingConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-