@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateDocumentRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
CreateDocumentRequest() |
| Modifier and Type | Method and Description |
|---|---|
CreateDocumentRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getContent()
A valid JSON string.
|
String |
getDocumentType()
The type of document to create.
|
String |
getName()
A name for the Systems Manager document.
|
int |
hashCode() |
void |
setContent(String content)
A valid JSON string.
|
void |
setDocumentType(DocumentType documentType)
The type of document to create.
|
void |
setDocumentType(String documentType)
The type of document to create.
|
void |
setName(String name)
A name for the Systems Manager document.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
CreateDocumentRequest |
withContent(String content)
A valid JSON string.
|
CreateDocumentRequest |
withDocumentType(DocumentType documentType)
The type of document to create.
|
CreateDocumentRequest |
withDocumentType(String documentType)
The type of document to create.
|
CreateDocumentRequest |
withName(String name)
A name for the Systems Manager document.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic void setContent(String content)
A valid JSON string.
content - A valid JSON string.public String getContent()
A valid JSON string.
public CreateDocumentRequest withContent(String content)
A valid JSON string.
content - A valid JSON string.public void setName(String name)
A name for the Systems Manager document.
name - A name for the Systems Manager document.public String getName()
A name for the Systems Manager document.
public CreateDocumentRequest withName(String name)
A name for the Systems Manager document.
name - A name for the Systems Manager document.public void setDocumentType(String documentType)
The type of document to create. Valid document types include: Policy, Automation, and Command.
documentType - The type of document to create. Valid document types include: Policy, Automation, and Command.DocumentTypepublic String getDocumentType()
The type of document to create. Valid document types include: Policy, Automation, and Command.
DocumentTypepublic CreateDocumentRequest withDocumentType(String documentType)
The type of document to create. Valid document types include: Policy, Automation, and Command.
documentType - The type of document to create. Valid document types include: Policy, Automation, and Command.DocumentTypepublic void setDocumentType(DocumentType documentType)
The type of document to create. Valid document types include: Policy, Automation, and Command.
documentType - The type of document to create. Valid document types include: Policy, Automation, and Command.DocumentTypepublic CreateDocumentRequest withDocumentType(DocumentType documentType)
The type of document to create. Valid document types include: Policy, Automation, and Command.
documentType - The type of document to create. Valid document types include: Policy, Automation, and Command.DocumentTypepublic String toString()
toString in class ObjectObject.toString()public CreateDocumentRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.