public static final class CfnStateMachine.LoggingConfigurationProperty.Builder
extends java.lang.Object
CfnStateMachine.LoggingConfigurationProperty
Constructor and Description |
---|
Builder() |
public CfnStateMachine.LoggingConfigurationProperty.Builder destinations(IResolvable destinations)
CfnStateMachine.LoggingConfigurationProperty.getDestinations()
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 to OFF
.this
public CfnStateMachine.LoggingConfigurationProperty.Builder destinations(java.util.List<? extends java.lang.Object> destinations)
CfnStateMachine.LoggingConfigurationProperty.getDestinations()
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 to OFF
.this
public CfnStateMachine.LoggingConfigurationProperty.Builder includeExecutionData(java.lang.Boolean includeExecutionData)
CfnStateMachine.LoggingConfigurationProperty.getIncludeExecutionData()
includeExecutionData
- Determines whether execution data is included in your log.
When set to false
, data is excluded.this
public CfnStateMachine.LoggingConfigurationProperty.Builder includeExecutionData(IResolvable includeExecutionData)
CfnStateMachine.LoggingConfigurationProperty.getIncludeExecutionData()
includeExecutionData
- Determines whether execution data is included in your log.
When set to false
, data is excluded.this
public CfnStateMachine.LoggingConfigurationProperty.Builder level(java.lang.String level)
CfnStateMachine.LoggingConfigurationProperty.getLevel()
level
- Defines which category of execution history events are logged.this
public CfnStateMachine.LoggingConfigurationProperty build()
CfnStateMachine.LoggingConfigurationProperty
java.lang.NullPointerException
- if any required attribute was not provided