Class CfnWorkflow.S3LocationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.mwaaserverless.CfnWorkflow.S3LocationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnWorkflow.S3LocationProperty>
- Enclosing interface:
CfnWorkflow.S3LocationProperty
@Stability(Stable)
public static final class CfnWorkflow.S3LocationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnWorkflow.S3LocationProperty>
A builder for
CfnWorkflow.S3LocationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnWorkflow.S3LocationProperty.getBucket()build()Builds the configured instance.Sets the value ofCfnWorkflow.S3LocationProperty.getObjectKey()Sets the value ofCfnWorkflow.S3LocationProperty.getVersionId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
bucket
Sets the value ofCfnWorkflow.S3LocationProperty.getBucket()- Parameters:
bucket- the value to be set. This parameter is required.- Returns:
this
-
objectKey
Sets the value ofCfnWorkflow.S3LocationProperty.getObjectKey()- Parameters:
objectKey- the value to be set. This parameter is required.- Returns:
this
-
versionId
Sets the value ofCfnWorkflow.S3LocationProperty.getVersionId()- Parameters:
versionId- the value to be set.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnWorkflow.S3LocationProperty>- Returns:
- a new instance of
CfnWorkflow.S3LocationProperty - Throws:
NullPointerException- if any required attribute was not provided
-