Class CfnDocumentPropsMixin.DocumentRequiresProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.ssm.CfnDocumentPropsMixin.DocumentRequiresProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDocumentPropsMixin.DocumentRequiresProperty>
- Enclosing interface:
CfnDocumentPropsMixin.DocumentRequiresProperty
@Stability(Stable)
public static final class CfnDocumentPropsMixin.DocumentRequiresProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDocumentPropsMixin.DocumentRequiresProperty>
A builder for
CfnDocumentPropsMixin.DocumentRequiresProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnDocumentPropsMixin.DocumentRequiresProperty.getName()Sets the value ofCfnDocumentPropsMixin.DocumentRequiresProperty.getVersion()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
name
Sets the value ofCfnDocumentPropsMixin.DocumentRequiresProperty.getName()- Parameters:
name- The name of the required SSM document. The name can be an Amazon Resource Name (ARN).- Returns:
this
-
version
@Stability(Stable) public CfnDocumentPropsMixin.DocumentRequiresProperty.Builder version(String version) Sets the value ofCfnDocumentPropsMixin.DocumentRequiresProperty.getVersion()- Parameters:
version- The document version required by the current document.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDocumentPropsMixin.DocumentRequiresProperty>- Returns:
- a new instance of
CfnDocumentPropsMixin.DocumentRequiresProperty - Throws:
NullPointerException- if any required attribute was not provided
-