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