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