Class CfnStateMachinePropsMixin.S3LocationProperty.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.sam.mixins.CfnStateMachinePropsMixin.S3LocationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnStateMachinePropsMixin.S3LocationProperty>
- Enclosing interface:
CfnStateMachinePropsMixin.S3LocationProperty
@Stability(Stable)
public static final class CfnStateMachinePropsMixin.S3LocationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnStateMachinePropsMixin.S3LocationProperty>
A builder for
CfnStateMachinePropsMixin.S3LocationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnStateMachinePropsMixin.S3LocationProperty.getBucket()build()Builds the configured instance.Sets the value ofCfnStateMachinePropsMixin.S3LocationProperty.getKey()Sets the value ofCfnStateMachinePropsMixin.S3LocationProperty.getVersion()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
bucket
@Stability(Stable) public CfnStateMachinePropsMixin.S3LocationProperty.Builder bucket(String bucket) Sets the value ofCfnStateMachinePropsMixin.S3LocationProperty.getBucket()- Parameters:
bucket- the value to be set.- Returns:
this
-
key
Sets the value ofCfnStateMachinePropsMixin.S3LocationProperty.getKey()- Parameters:
key- the value to be set.- Returns:
this
-
version
@Stability(Stable) public CfnStateMachinePropsMixin.S3LocationProperty.Builder version(Number version) Sets the value ofCfnStateMachinePropsMixin.S3LocationProperty.getVersion()- Parameters:
version- the value to be set.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnStateMachinePropsMixin.S3LocationProperty>- Returns:
- a new instance of
CfnStateMachinePropsMixin.S3LocationProperty - Throws:
NullPointerException- if any required attribute was not provided
-