Class CreateDocumentRequest
- java.lang.Object
-
- com.amazonaws.AmazonWebServiceRequest
-
- com.amazonaws.services.simplesystemsmanagement.model.CreateDocumentRequest
-
- All Implemented Interfaces:
ReadLimitInfo,Serializable,Cloneable
public class CreateDocumentRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description CreateDocumentRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateDocumentRequestclone()Creates a shallow clone of this request.booleanequals(Object obj)StringgetContent()A valid JSON string.StringgetName()A name for the SSM document.inthashCode()voidsetContent(String content)A valid JSON string.voidsetName(String name)A name for the SSM document.StringtoString()Returns a string representation of this object; useful for testing and debugging.CreateDocumentRequestwithContent(String content)A valid JSON string.CreateDocumentRequestwithName(String name)A name for the SSM document.-
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
-
-
-
-
Method Detail
-
setContent
public void setContent(String content)
A valid JSON string.
- Parameters:
content- A valid JSON string.
-
getContent
public String getContent()
A valid JSON string.
- Returns:
- A valid JSON string.
-
withContent
public CreateDocumentRequest withContent(String content)
A valid JSON string.
- Parameters:
content- A valid JSON string.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setName
public void setName(String name)
A name for the SSM document.
- Parameters:
name- A name for the SSM document.
-
getName
public String getName()
A name for the SSM document.
- Returns:
- A name for the SSM document.
-
withName
public CreateDocumentRequest withName(String name)
A name for the SSM document.
- Parameters:
name- A name for the SSM document.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public CreateDocumentRequest clone()
Description copied from class:AmazonWebServiceRequestCreates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clonein classAmazonWebServiceRequest- See Also:
Object.clone()
-
-