Class CfnInstance.AssociationParameterProperty.Builder
java.lang.Object
software.amazon.awscdk.services.ec2.CfnInstance.AssociationParameterProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnInstance.AssociationParameterProperty>
- Enclosing interface:
- CfnInstance.AssociationParameterProperty
@Stability(Stable)
public static final class CfnInstance.AssociationParameterProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnInstance.AssociationParameterProperty>
A builder for
CfnInstance.AssociationParameterProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnInstance.AssociationParameterProperty.getKey()Sets the value ofCfnInstance.AssociationParameterProperty.getValue()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
key
Sets the value ofCfnInstance.AssociationParameterProperty.getKey()- Parameters:
key- The name of an input parameter that is in the associated SSM document. This parameter is required.- Returns:
this
-
value
@Stability(Stable) public CfnInstance.AssociationParameterProperty.Builder value(List<String> value) Sets the value ofCfnInstance.AssociationParameterProperty.getValue()- Parameters:
value- The value of an input parameter. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnInstance.AssociationParameterProperty>- Returns:
- a new instance of
CfnInstance.AssociationParameterProperty - Throws:
NullPointerException- if any required attribute was not provided
-