Class LogOptions.Builder
java.lang.Object
software.amazon.awscdk.services.stepfunctions.LogOptions.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<LogOptions>
- Enclosing interface:
LogOptions
@Stability(Stable)
public static final class LogOptions.Builder
extends Object
implements software.amazon.jsii.Builder<LogOptions>
A builder for
LogOptions
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.destination
(ILogGroup destination) Sets the value ofLogOptions.getDestination()
includeExecutionData
(Boolean includeExecutionData) Sets the value ofLogOptions.getIncludeExecutionData()
Sets the value ofLogOptions.getLevel()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
destination
Sets the value ofLogOptions.getDestination()
- Parameters:
destination
- The log group where the execution history events will be logged. This parameter is required.- Returns:
this
-
includeExecutionData
Sets the value ofLogOptions.getIncludeExecutionData()
- Parameters:
includeExecutionData
- Determines whether execution data is included in your log.- Returns:
this
-
level
Sets the value ofLogOptions.getLevel()
- Parameters:
level
- Defines which category of execution history events are logged.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<LogOptions>
- Returns:
- a new instance of
LogOptions
- Throws:
NullPointerException
- if any required attribute was not provided
-