@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, withSdkRequestTimeout
public 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.DocumentType
public String getDocumentType()
The type of document to create. Valid document types include: Policy, Automation, and Command.
DocumentType
public 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.DocumentType
public 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.DocumentType
public 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.DocumentType
public String toString()
toString
in class Object
Object.toString()
public CreateDocumentRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.