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