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