Class AwsManagedWorkflowAttributes.Builder
java.lang.Object
software.amazon.awscdk.services.imagebuilder.alpha.AwsManagedWorkflowAttributes.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<AwsManagedWorkflowAttributes>
- Enclosing interface:
AwsManagedWorkflowAttributes
@Stability(Experimental)
public static final class AwsManagedWorkflowAttributes.Builder
extends Object
implements software.amazon.jsii.Builder<AwsManagedWorkflowAttributes>
A builder for
AwsManagedWorkflowAttributes-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.workflowName(String workflowName) Sets the value ofAwsManagedWorkflowAttributes.getWorkflowName()workflowType(WorkflowType workflowType) Sets the value ofAwsManagedWorkflowAttributes.getWorkflowType()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
workflowName
@Stability(Experimental) public AwsManagedWorkflowAttributes.Builder workflowName(String workflowName) Sets the value ofAwsManagedWorkflowAttributes.getWorkflowName()- Parameters:
workflowName- The name of the AWS-managed workflow. This parameter is required.- Returns:
this
-
workflowType
@Stability(Experimental) public AwsManagedWorkflowAttributes.Builder workflowType(WorkflowType workflowType) Sets the value ofAwsManagedWorkflowAttributes.getWorkflowType()- Parameters:
workflowType- The type of the AWS-managed workflow. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<AwsManagedWorkflowAttributes>- Returns:
- a new instance of
AwsManagedWorkflowAttributes - Throws:
NullPointerException- if any required attribute was not provided
-