@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 |
getDocumentFormat()
The document format, either JSON or YAML.
|
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 |
setDocumentFormat(DocumentFormat documentFormat)
The document format, either JSON or YAML.
|
void |
setDocumentFormat(String documentFormat)
The document format, either JSON or YAML.
|
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 |
withDocumentFormat(DocumentFormat documentFormat)
The document format, either JSON or YAML.
|
GetDocumentResult |
withDocumentFormat(String documentFormat)
The document format, either JSON or YAML.
|
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 void setDocumentFormat(String documentFormat)
The document format, either JSON or YAML.
documentFormat - The document format, either JSON or YAML.DocumentFormatpublic String getDocumentFormat()
The document format, either JSON or YAML.
DocumentFormatpublic GetDocumentResult withDocumentFormat(String documentFormat)
The document format, either JSON or YAML.
documentFormat - The document format, either JSON or YAML.DocumentFormatpublic void setDocumentFormat(DocumentFormat documentFormat)
The document format, either JSON or YAML.
documentFormat - The document format, either JSON or YAML.DocumentFormatpublic GetDocumentResult withDocumentFormat(DocumentFormat documentFormat)
The document format, either JSON or YAML.
documentFormat - The document format, either JSON or YAML.DocumentFormatpublic String toString()
toString in class ObjectObject.toString()public GetDocumentResult clone()
Copyright © 2018. All rights reserved.