@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) |
List<AttachmentContent> |
getAttachmentsContent()
A description of the document attachments, including names, locations, sizes, etc.
|
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.
|
String |
getStatus()
The status of the Systems Manager document, such as
Creating, Active,
Updating, Failed, and Deleting. |
String |
getStatusInformation()
A message returned by AWS Systems Manager that explains the
Status value. |
String |
getVersionName()
The version of the artifact associated with the document.
|
int |
hashCode() |
void |
setAttachmentsContent(Collection<AttachmentContent> attachmentsContent)
A description of the document attachments, including names, locations, sizes, etc.
|
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.
|
void |
setStatus(DocumentStatus status)
The status of the Systems Manager document, such as
Creating, Active,
Updating, Failed, and Deleting. |
void |
setStatus(String status)
The status of the Systems Manager document, such as
Creating, Active,
Updating, Failed, and Deleting. |
void |
setStatusInformation(String statusInformation)
A message returned by AWS Systems Manager that explains the
Status value. |
void |
setVersionName(String versionName)
The version of the artifact associated with the document.
|
String |
toString()
Returns a string representation of this object.
|
GetDocumentResult |
withAttachmentsContent(AttachmentContent... attachmentsContent)
A description of the document attachments, including names, locations, sizes, etc.
|
GetDocumentResult |
withAttachmentsContent(Collection<AttachmentContent> attachmentsContent)
A description of the document attachments, including names, locations, sizes, etc.
|
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.
|
GetDocumentResult |
withStatus(DocumentStatus status)
The status of the Systems Manager document, such as
Creating, Active,
Updating, Failed, and Deleting. |
GetDocumentResult |
withStatus(String status)
The status of the Systems Manager document, such as
Creating, Active,
Updating, Failed, and Deleting. |
GetDocumentResult |
withStatusInformation(String statusInformation)
A message returned by AWS Systems Manager that explains the
Status value. |
GetDocumentResult |
withVersionName(String versionName)
The version of the artifact associated with the 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 setVersionName(String versionName)
The version of the artifact associated with the document. For example, "Release 12, Update 6". This value is unique across all versions of a document, and cannot be changed.
versionName - The version of the artifact associated with the document. For example, "Release 12, Update 6". This value
is unique across all versions of a document, and cannot be changed.public String getVersionName()
The version of the artifact associated with the document. For example, "Release 12, Update 6". This value is unique across all versions of a document, and cannot be changed.
public GetDocumentResult withVersionName(String versionName)
The version of the artifact associated with the document. For example, "Release 12, Update 6". This value is unique across all versions of a document, and cannot be changed.
versionName - The version of the artifact associated with the document. For example, "Release 12, Update 6". This value
is unique across all versions of a document, and cannot be changed.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 setStatus(String status)
The status of the Systems Manager document, such as Creating, Active,
Updating, Failed, and Deleting.
status - The status of the Systems Manager document, such as Creating, Active,
Updating, Failed, and Deleting.DocumentStatuspublic String getStatus()
The status of the Systems Manager document, such as Creating, Active,
Updating, Failed, and Deleting.
Creating, Active,
Updating, Failed, and Deleting.DocumentStatuspublic GetDocumentResult withStatus(String status)
The status of the Systems Manager document, such as Creating, Active,
Updating, Failed, and Deleting.
status - The status of the Systems Manager document, such as Creating, Active,
Updating, Failed, and Deleting.DocumentStatuspublic void setStatus(DocumentStatus status)
The status of the Systems Manager document, such as Creating, Active,
Updating, Failed, and Deleting.
status - The status of the Systems Manager document, such as Creating, Active,
Updating, Failed, and Deleting.DocumentStatuspublic GetDocumentResult withStatus(DocumentStatus status)
The status of the Systems Manager document, such as Creating, Active,
Updating, Failed, and Deleting.
status - The status of the Systems Manager document, such as Creating, Active,
Updating, Failed, and Deleting.DocumentStatuspublic void setStatusInformation(String statusInformation)
A message returned by AWS Systems Manager that explains the Status value. For example, a
Failed status might be explained by the StatusInformation message,
"The specified S3 bucket does not exist. Verify that the URL of the S3 bucket is correct."
statusInformation - A message returned by AWS Systems Manager that explains the Status value. For example, a
Failed status might be explained by the StatusInformation message,
"The specified S3 bucket does not exist. Verify that the URL of the S3 bucket is correct."public String getStatusInformation()
A message returned by AWS Systems Manager that explains the Status value. For example, a
Failed status might be explained by the StatusInformation message,
"The specified S3 bucket does not exist. Verify that the URL of the S3 bucket is correct."
Status value. For example, a
Failed status might be explained by the StatusInformation message,
"The specified S3 bucket does not exist. Verify that the URL of the S3 bucket is correct."public GetDocumentResult withStatusInformation(String statusInformation)
A message returned by AWS Systems Manager that explains the Status value. For example, a
Failed status might be explained by the StatusInformation message,
"The specified S3 bucket does not exist. Verify that the URL of the S3 bucket is correct."
statusInformation - A message returned by AWS Systems Manager that explains the Status value. For example, a
Failed status might be explained by the StatusInformation message,
"The specified S3 bucket does not exist. Verify that the URL of the S3 bucket is correct."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 List<AttachmentContent> getAttachmentsContent()
A description of the document attachments, including names, locations, sizes, etc.
public void setAttachmentsContent(Collection<AttachmentContent> attachmentsContent)
A description of the document attachments, including names, locations, sizes, etc.
attachmentsContent - A description of the document attachments, including names, locations, sizes, etc.public GetDocumentResult withAttachmentsContent(AttachmentContent... attachmentsContent)
A description of the document attachments, including names, locations, sizes, etc.
NOTE: This method appends the values to the existing list (if any). Use
setAttachmentsContent(java.util.Collection) or withAttachmentsContent(java.util.Collection) if
you want to override the existing values.
attachmentsContent - A description of the document attachments, including names, locations, sizes, etc.public GetDocumentResult withAttachmentsContent(Collection<AttachmentContent> attachmentsContent)
A description of the document attachments, including names, locations, sizes, etc.
attachmentsContent - A description of the document attachments, including names, locations, sizes, etc.public String toString()
toString in class ObjectObject.toString()public GetDocumentResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.