Class CfnConformancePack.TemplateSSMDocumentDetailsProperty.Builder
java.lang.Object
software.amazon.awscdk.services.config.CfnConformancePack.TemplateSSMDocumentDetailsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnConformancePack.TemplateSSMDocumentDetailsProperty>
- Enclosing interface:
CfnConformancePack.TemplateSSMDocumentDetailsProperty
@Stability(Stable)
public static final class CfnConformancePack.TemplateSSMDocumentDetailsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnConformancePack.TemplateSSMDocumentDetailsProperty>
A builder for
CfnConformancePack.TemplateSSMDocumentDetailsProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.documentName
(String documentName) Sets the value ofCfnConformancePack.TemplateSSMDocumentDetailsProperty.getDocumentName()
documentVersion
(String documentVersion)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
documentName
@Stability(Stable) public CfnConformancePack.TemplateSSMDocumentDetailsProperty.Builder documentName(String documentName) Sets the value ofCfnConformancePack.TemplateSSMDocumentDetailsProperty.getDocumentName()
- Parameters:
documentName
- The name or Amazon Resource Name (ARN) of the SSM document to use to create a conformance pack. If you use the document name, AWS Config checks only your account and AWS Region for the SSM document.- Returns:
this
-
documentVersion
@Stability(Stable) public CfnConformancePack.TemplateSSMDocumentDetailsProperty.Builder documentVersion(String documentVersion) - Parameters:
documentVersion
- The version of the SSM document to use to create a conformance pack. By default, AWS Config uses the latest version.This field is optional.
- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnConformancePack.TemplateSSMDocumentDetailsProperty>
- Returns:
- a new instance of
CfnConformancePack.TemplateSSMDocumentDetailsProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-