public static final class CfnStateMachine.S3LocationProperty.Builder
extends java.lang.Object
CfnStateMachine.S3LocationProperty
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnStateMachine.S3LocationProperty.Builder |
bucket(java.lang.String bucket)
Sets the value of
CfnStateMachine.S3LocationProperty.getBucket() |
CfnStateMachine.S3LocationProperty |
build()
Builds the configured instance.
|
CfnStateMachine.S3LocationProperty.Builder |
key(java.lang.String key)
Sets the value of
CfnStateMachine.S3LocationProperty.getKey() |
CfnStateMachine.S3LocationProperty.Builder |
version(java.lang.String version)
Sets the value of
CfnStateMachine.S3LocationProperty.getVersion() |
public CfnStateMachine.S3LocationProperty.Builder bucket(java.lang.String bucket)
CfnStateMachine.S3LocationProperty.getBucket()
bucket
- The name of the S3 bucket where the state machine definition JSON or YAML file is stored. This parameter is required.this
public CfnStateMachine.S3LocationProperty.Builder key(java.lang.String key)
CfnStateMachine.S3LocationProperty.getKey()
key
- The name of the state machine definition file (Amazon S3 object name). This parameter is required.this
public CfnStateMachine.S3LocationProperty.Builder version(java.lang.String version)
CfnStateMachine.S3LocationProperty.getVersion()
version
- For versioning-enabled buckets, a specific version of the state machine definition.this
public CfnStateMachine.S3LocationProperty build()
CfnStateMachine.S3LocationProperty
java.lang.NullPointerException
- if any required attribute was not provided