Class CfnStateMachine.LogDestinationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.stepfunctions.CfnStateMachine.LogDestinationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnStateMachine.LogDestinationProperty>
- Enclosing interface:
- CfnStateMachine.LogDestinationProperty
@Stability(Stable)
public static final class CfnStateMachine.LogDestinationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnStateMachine.LogDestinationProperty>
A builder for
CfnStateMachine.LogDestinationProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.cloudWatchLogsLogGroup
(IResolvable cloudWatchLogsLogGroup) Sets the value ofCfnStateMachine.LogDestinationProperty.getCloudWatchLogsLogGroup()
cloudWatchLogsLogGroup
(CfnStateMachine.CloudWatchLogsLogGroupProperty cloudWatchLogsLogGroup) Sets the value ofCfnStateMachine.LogDestinationProperty.getCloudWatchLogsLogGroup()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
cloudWatchLogsLogGroup
@Stability(Stable) public CfnStateMachine.LogDestinationProperty.Builder cloudWatchLogsLogGroup(IResolvable cloudWatchLogsLogGroup) Sets the value ofCfnStateMachine.LogDestinationProperty.getCloudWatchLogsLogGroup()
- Parameters:
cloudWatchLogsLogGroup
- An object describing a CloudWatch log group. For more information, see AWS::Logs::LogGroup in the AWS CloudFormation User Guide.- Returns:
this
-
cloudWatchLogsLogGroup
@Stability(Stable) public CfnStateMachine.LogDestinationProperty.Builder cloudWatchLogsLogGroup(CfnStateMachine.CloudWatchLogsLogGroupProperty cloudWatchLogsLogGroup) Sets the value ofCfnStateMachine.LogDestinationProperty.getCloudWatchLogsLogGroup()
- Parameters:
cloudWatchLogsLogGroup
- An object describing a CloudWatch log group. For more information, see AWS::Logs::LogGroup in the AWS CloudFormation User Guide.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnStateMachine.LogDestinationProperty>
- Returns:
- a new instance of
CfnStateMachine.LogDestinationProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-