@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TemplateSSMDocumentDetails extends Object implements Serializable, Cloneable, StructuredPojo
This API allows you to create a conformance pack template with an Amazon Web Services Systems Manager document (SSM
document). To deploy a conformance pack using an SSM document, first create an SSM document with conformance pack
content, and then provide the DocumentName
in the PutConformancePack API.
You can also provide the DocumentVersion
.
The TemplateSSMDocumentDetails
object contains the name of the SSM document and the version of the SSM
document.
Constructor and Description |
---|
TemplateSSMDocumentDetails() |
Modifier and Type | Method and Description |
---|---|
TemplateSSMDocumentDetails |
clone() |
boolean |
equals(Object obj) |
String |
getDocumentName()
The name or Amazon Resource Name (ARN) of the SSM document to use to create a conformance pack.
|
String |
getDocumentVersion()
The version of the SSM document to use to create a conformance pack.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDocumentName(String documentName)
The name or Amazon Resource Name (ARN) of the SSM document to use to create a conformance pack.
|
void |
setDocumentVersion(String documentVersion)
The version of the SSM document to use to create a conformance pack.
|
String |
toString()
Returns a string representation of this object.
|
TemplateSSMDocumentDetails |
withDocumentName(String documentName)
The name or Amazon Resource Name (ARN) of the SSM document to use to create a conformance pack.
|
TemplateSSMDocumentDetails |
withDocumentVersion(String documentVersion)
The version of the SSM document to use to create a conformance pack.
|
public void setDocumentName(String 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, Config checks only your account and Amazon Web Services Region for the SSM document.
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, Config checks only your account and Amazon Web Services Region for the SSM document.public String getDocumentName()
The name or Amazon Resource Name (ARN) of the SSM document to use to create a conformance pack. If you use the document name, Config checks only your account and Amazon Web Services Region for the SSM document.
public TemplateSSMDocumentDetails withDocumentName(String 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, Config checks only your account and Amazon Web Services Region for the SSM document.
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, Config checks only your account and Amazon Web Services Region for the SSM document.public void setDocumentVersion(String documentVersion)
The version of the SSM document to use to create a conformance pack. By default, Config uses the latest version.
This field is optional.
documentVersion
- The version of the SSM document to use to create a conformance pack. By default, Config uses the latest
version. This field is optional.
public String getDocumentVersion()
The version of the SSM document to use to create a conformance pack. By default, Config uses the latest version.
This field is optional.
This field is optional.
public TemplateSSMDocumentDetails withDocumentVersion(String documentVersion)
The version of the SSM document to use to create a conformance pack. By default, Config uses the latest version.
This field is optional.
documentVersion
- The version of the SSM document to use to create a conformance pack. By default, Config uses the latest
version. This field is optional.
public String toString()
toString
in class Object
Object.toString()
public TemplateSSMDocumentDetails clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.