Class AmazonManagedComponentOptions.Builder
java.lang.Object
software.amazon.awscdk.services.imagebuilder.alpha.AmazonManagedComponentOptions.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<AmazonManagedComponentOptions>
- Enclosing interface:
AmazonManagedComponentOptions
@Stability(Experimental)
public static final class AmazonManagedComponentOptions.Builder
extends Object
implements software.amazon.jsii.Builder<AmazonManagedComponentOptions>
A builder for
AmazonManagedComponentOptions-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.componentVersion(String componentVersion) Sets the value ofAmazonManagedComponentOptions.getComponentVersion()Sets the value ofAmazonManagedComponentOptions.getPlatform()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
platform
Sets the value ofAmazonManagedComponentOptions.getPlatform()- Parameters:
platform- The platform of the Amazon-managed component. This parameter is required.- Returns:
this
-
componentVersion
@Stability(Experimental) public AmazonManagedComponentOptions.Builder componentVersion(String componentVersion) Sets the value ofAmazonManagedComponentOptions.getComponentVersion()- Parameters:
componentVersion- The version of the Amazon-managed component.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<AmazonManagedComponentOptions>- Returns:
- a new instance of
AmazonManagedComponentOptions - Throws:
NullPointerException- if any required attribute was not provided
-