Class SSMParameterConfigurations.Builder
java.lang.Object
software.amazon.awscdk.services.imagebuilder.alpha.SSMParameterConfigurations.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<SSMParameterConfigurations>
- Enclosing interface:
SSMParameterConfigurations
@Stability(Experimental)
public static final class SSMParameterConfigurations.Builder
extends Object
implements software.amazon.jsii.Builder<SSMParameterConfigurations>
A builder for
SSMParameterConfigurations-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionamiAccount(String amiAccount) Sets the value ofSSMParameterConfigurations.getAmiAccount()build()Builds the configured instance.dataType(ParameterDataType dataType) Sets the value ofSSMParameterConfigurations.getDataType()parameter(IStringParameter parameter) Sets the value ofSSMParameterConfigurations.getParameter()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
parameter
@Stability(Experimental) public SSMParameterConfigurations.Builder parameter(IStringParameter parameter) Sets the value ofSSMParameterConfigurations.getParameter()- Parameters:
parameter- The SSM parameter to create or update. This parameter is required.- Returns:
this
-
amiAccount
Sets the value ofSSMParameterConfigurations.getAmiAccount()- Parameters:
amiAccount- The AWS account ID that will own the SSM parameter in the given region. This must be one of the target accounts that was included in the list of AMI distribution target accounts- Returns:
this
-
dataType
@Stability(Experimental) public SSMParameterConfigurations.Builder dataType(ParameterDataType dataType) Sets the value ofSSMParameterConfigurations.getDataType()- Parameters:
dataType- The data type of the SSM parameter.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<SSMParameterConfigurations>- Returns:
- a new instance of
SSMParameterConfigurations - Throws:
NullPointerException- if any required attribute was not provided
-