Class CfnStateMachine.CloudWatchLogsLogGroupProperty.Builder
java.lang.Object
software.amazon.awscdk.services.stepfunctions.CfnStateMachine.CloudWatchLogsLogGroupProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnStateMachine.CloudWatchLogsLogGroupProperty>
- Enclosing interface:
CfnStateMachine.CloudWatchLogsLogGroupProperty
@Stability(Stable)
public static final class CfnStateMachine.CloudWatchLogsLogGroupProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnStateMachine.CloudWatchLogsLogGroupProperty>
A builder for
CfnStateMachine.CloudWatchLogsLogGroupProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.logGroupArn
(String logGroupArn) Sets the value ofCfnStateMachine.CloudWatchLogsLogGroupProperty.getLogGroupArn()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
logGroupArn
@Stability(Stable) public CfnStateMachine.CloudWatchLogsLogGroupProperty.Builder logGroupArn(String logGroupArn) Sets the value ofCfnStateMachine.CloudWatchLogsLogGroupProperty.getLogGroupArn()
- Parameters:
logGroupArn
- The ARN of the the CloudWatch log group to which you want your logs emitted to. The ARN must end with:*
- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnStateMachine.CloudWatchLogsLogGroupProperty>
- Returns:
- a new instance of
CfnStateMachine.CloudWatchLogsLogGroupProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-