@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetDocumentResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
| Constructor and Description |
|---|
GetDocumentResult() |
| Modifier and Type | Method and Description |
|---|---|
GetDocumentResult |
clone() |
boolean |
equals(Object obj) |
String |
getContent()
The contents of the Systems Manager document.
|
String |
getDocumentType()
The document type.
|
String |
getDocumentVersion()
The document version.
|
String |
getName()
The name of the Systems Manager document.
|
int |
hashCode() |
void |
setContent(String content)
The contents of the Systems Manager document.
|
void |
setDocumentType(DocumentType documentType)
The document type.
|
void |
setDocumentType(String documentType)
The document type.
|
void |
setDocumentVersion(String documentVersion)
The document version.
|
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.
|
GetDocumentResult |
withContent(String content)
The contents of the Systems Manager document.
|
GetDocumentResult |
withDocumentType(DocumentType documentType)
The document type.
|
GetDocumentResult |
withDocumentType(String documentType)
The document type.
|
GetDocumentResult |
withDocumentVersion(String documentVersion)
The document version.
|
GetDocumentResult |
withName(String name)
The name of the Systems Manager document.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic 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 GetDocumentResult 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.
documentVersion - The document version.public String getDocumentVersion()
The document version.
public GetDocumentResult withDocumentVersion(String documentVersion)
The document version.
documentVersion - The document version.public void setContent(String content)
The contents of the Systems Manager document.
content - The contents of the Systems Manager document.public String getContent()
The contents of the Systems Manager document.
public GetDocumentResult withContent(String content)
The contents of the Systems Manager document.
content - The contents of the Systems Manager document.public void setDocumentType(String documentType)
The document type.
documentType - The document type.DocumentTypepublic String getDocumentType()
The document type.
DocumentTypepublic GetDocumentResult withDocumentType(String documentType)
The document type.
documentType - The document type.DocumentTypepublic void setDocumentType(DocumentType documentType)
The document type.
documentType - The document type.DocumentTypepublic GetDocumentResult withDocumentType(DocumentType documentType)
The document type.
documentType - The document type.DocumentTypepublic String toString()
toString in class ObjectObject.toString()public GetDocumentResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.