Class CfnInstancePropsMixin.SsmAssociationProperty.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.ec2.mixins.CfnInstancePropsMixin.SsmAssociationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnInstancePropsMixin.SsmAssociationProperty>
- Enclosing interface:
CfnInstancePropsMixin.SsmAssociationProperty
@Stability(Stable)
public static final class CfnInstancePropsMixin.SsmAssociationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnInstancePropsMixin.SsmAssociationProperty>
A builder for
CfnInstancePropsMixin.SsmAssociationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionassociationParameters(List<? extends Object> associationParameters) Sets the value ofCfnInstancePropsMixin.SsmAssociationProperty.getAssociationParameters()associationParameters(IResolvable associationParameters) Sets the value ofCfnInstancePropsMixin.SsmAssociationProperty.getAssociationParameters()build()Builds the configured instance.documentName(String documentName) Sets the value ofCfnInstancePropsMixin.SsmAssociationProperty.getDocumentName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
associationParameters
@Stability(Stable) public CfnInstancePropsMixin.SsmAssociationProperty.Builder associationParameters(IResolvable associationParameters) Sets the value ofCfnInstancePropsMixin.SsmAssociationProperty.getAssociationParameters()- Parameters:
associationParameters- The input parameter values to use with the associated SSM document.- Returns:
this
-
associationParameters
@Stability(Stable) public CfnInstancePropsMixin.SsmAssociationProperty.Builder associationParameters(List<? extends Object> associationParameters) Sets the value ofCfnInstancePropsMixin.SsmAssociationProperty.getAssociationParameters()- Parameters:
associationParameters- The input parameter values to use with the associated SSM document.- Returns:
this
-
documentName
@Stability(Stable) public CfnInstancePropsMixin.SsmAssociationProperty.Builder documentName(String documentName) Sets the value ofCfnInstancePropsMixin.SsmAssociationProperty.getDocumentName()- Parameters:
documentName- The name of an SSM document to associate with the instance.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnInstancePropsMixin.SsmAssociationProperty>- Returns:
- a new instance of
CfnInstancePropsMixin.SsmAssociationProperty - Throws:
NullPointerException- if any required attribute was not provided
-