Class CfnWorkflow.LatestVersionProperty.Builder
java.lang.Object
software.amazon.awscdk.services.imagebuilder.CfnWorkflow.LatestVersionProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnWorkflow.LatestVersionProperty>
- Enclosing interface:
CfnWorkflow.LatestVersionProperty
@Stability(Stable)
public static final class CfnWorkflow.LatestVersionProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnWorkflow.LatestVersionProperty>
A builder for
CfnWorkflow.LatestVersionProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnWorkflow.LatestVersionProperty.getArn()build()Builds the configured instance.Sets the value ofCfnWorkflow.LatestVersionProperty.getMajor()Sets the value ofCfnWorkflow.LatestVersionProperty.getMinor()Sets the value ofCfnWorkflow.LatestVersionProperty.getPatch()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
arn
Sets the value ofCfnWorkflow.LatestVersionProperty.getArn()- Parameters:
arn- The Amazon Resource Name (ARN) of the workflow resource.- Returns:
this
-
major
Sets the value ofCfnWorkflow.LatestVersionProperty.getMajor()- Parameters:
major- The latest version ARN of the created workflow, with the same major version.- Returns:
this
-
minor
Sets the value ofCfnWorkflow.LatestVersionProperty.getMinor()- Parameters:
minor- The latest version ARN of the created workflow, with the same minor version.- Returns:
this
-
patch
Sets the value ofCfnWorkflow.LatestVersionProperty.getPatch()- Parameters:
patch- The latest version ARN of the created workflow, with the same patch version.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnWorkflow.LatestVersionProperty>- Returns:
- a new instance of
CfnWorkflow.LatestVersionProperty - Throws:
NullPointerException- if any required attribute was not provided
-