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 request.
|
boolean |
equals(Object obj) |
String |
getContent()
A valid JSON string.
|
String |
getName()
A name for the SSM document.
|
int |
hashCode() |
void |
setContent(String content)
A valid JSON string.
|
void |
setName(String name)
A name for the SSM document.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CreateDocumentRequest |
withContent(String content)
A valid JSON string.
|
CreateDocumentRequest |
withName(String name)
A name for the SSM document.
|
getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic void setContent(String content)
A valid JSON string. For more information about the contents of this string, see SSM Document.
content - A valid JSON string. For more information about the contents of
this string, see SSM Document.public String getContent()
A valid JSON string. For more information about the contents of this string, see SSM Document.
public CreateDocumentRequest withContent(String content)
A valid JSON string. For more information about the contents of this string, see SSM Document.
content - A valid JSON string. For more information about the contents of
this string, see SSM Document.public void setName(String name)
A name for the SSM document.
name - A name for the SSM document.public String getName()
A name for the SSM document.
public CreateDocumentRequest withName(String name)
A name for the SSM document.
name - A name for the SSM document.public String toString()
toString in class ObjectObject.toString()public CreateDocumentRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.