@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetDocumentRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
GetDocumentRequest() |
| Modifier and Type | Method and Description |
|---|---|
GetDocumentRequest |
clone() |
boolean |
equals(Object obj) |
String |
getDocumentFormat()
Returns the document in the specified format.
|
String |
getDocumentVersion()
The document version for which you want information.
|
String |
getName()
The name of the Systems Manager document.
|
int |
hashCode() |
void |
setDocumentFormat(String documentFormat)
Returns the document in the specified format.
|
void |
setDocumentVersion(String documentVersion)
The document version for which you want information.
|
void |
setName(String name)
The name of the Systems Manager document.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
GetDocumentRequest |
withDocumentFormat(DocumentFormat documentFormat)
Returns the document in the specified format.
|
GetDocumentRequest |
withDocumentFormat(String documentFormat)
Returns the document in the specified format.
|
GetDocumentRequest |
withDocumentVersion(String documentVersion)
The document version for which you want information.
|
GetDocumentRequest |
withName(String name)
The name of the Systems Manager document.
|
addHandlerContext, copyBaseTo, 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 setName(String name)
The name of the Systems Manager document.
name - The name of the Systems Manager document.public String getName()
The name of the Systems Manager document.
public GetDocumentRequest withName(String name)
The name of the Systems Manager document.
name - The name of the Systems Manager document.public void setDocumentVersion(String documentVersion)
The document version for which you want information.
documentVersion - The document version for which you want information.public String getDocumentVersion()
The document version for which you want information.
public GetDocumentRequest withDocumentVersion(String documentVersion)
The document version for which you want information.
documentVersion - The document version for which you want information.public void setDocumentFormat(String documentFormat)
Returns the document in the specified format. The document format can be either JSON or YAML. JSON is the default format.
documentFormat - Returns the document in the specified format. The document format can be either JSON or YAML. JSON is the
default format.DocumentFormatpublic String getDocumentFormat()
Returns the document in the specified format. The document format can be either JSON or YAML. JSON is the default format.
DocumentFormatpublic GetDocumentRequest withDocumentFormat(String documentFormat)
Returns the document in the specified format. The document format can be either JSON or YAML. JSON is the default format.
documentFormat - Returns the document in the specified format. The document format can be either JSON or YAML. JSON is the
default format.DocumentFormatpublic GetDocumentRequest withDocumentFormat(DocumentFormat documentFormat)
Returns the document in the specified format. The document format can be either JSON or YAML. JSON is the default format.
documentFormat - Returns the document in the specified format. The document format can be either JSON or YAML. JSON is the
default format.DocumentFormatpublic String toString()
toString in class ObjectObject.toString()public GetDocumentRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2018. All rights reserved.