public static final class CfnConformancePack.TemplateSSMDocumentDetailsProperty.Builder
extends java.lang.Object
CfnConformancePack.TemplateSSMDocumentDetailsProperty
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnConformancePack.TemplateSSMDocumentDetailsProperty |
build()
Builds the configured instance.
|
CfnConformancePack.TemplateSSMDocumentDetailsProperty.Builder |
documentName(java.lang.String documentName)
Sets the value of
CfnConformancePack.TemplateSSMDocumentDetailsProperty.getDocumentName() |
CfnConformancePack.TemplateSSMDocumentDetailsProperty.Builder |
documentVersion(java.lang.String documentVersion)
|
public CfnConformancePack.TemplateSSMDocumentDetailsProperty.Builder documentName(java.lang.String documentName)
CfnConformancePack.TemplateSSMDocumentDetailsProperty.getDocumentName()
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. If you want to use an SSM document from another Region or account, you must provide the ARN.this
public CfnConformancePack.TemplateSSMDocumentDetailsProperty.Builder documentVersion(java.lang.String documentVersion)
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.
this
public CfnConformancePack.TemplateSSMDocumentDetailsProperty build()
CfnConformancePack.TemplateSSMDocumentDetailsProperty
java.lang.NullPointerException
- if any required attribute was not provided