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