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