@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DocumentDescription extends Object implements Serializable, Cloneable, StructuredPojo
Describes a Systems Manager document.
Constructor and Description |
---|
DocumentDescription() |
Modifier and Type | Method and Description |
---|---|
DocumentDescription |
clone() |
boolean |
equals(Object obj) |
List<AttachmentInformation> |
getAttachmentsInformation()
Details about the document attachments, including names, locations, sizes, and so on.
|
Date |
getCreatedDate()
The date when the document was created.
|
String |
getDefaultVersion()
The default version.
|
String |
getDescription()
A description of the document.
|
String |
getDocumentFormat()
The document format, either JSON or YAML.
|
String |
getDocumentType()
The type of document.
|
String |
getDocumentVersion()
The document version.
|
String |
getHash()
The Sha256 or Sha1 hash created by the system when the document was created.
|
String |
getHashType()
The hash type of the document.
|
String |
getLatestVersion()
The latest version of the document.
|
String |
getName()
The name of the Systems Manager document.
|
String |
getOwner()
The AWS user account that created the document.
|
List<DocumentParameter> |
getParameters()
A description of the parameters for a document.
|
List<String> |
getPlatformTypes()
The list of OS platforms compatible with this Systems Manager document.
|
List<DocumentRequires> |
getRequires()
A list of SSM documents required by a document.
|
String |
getSchemaVersion()
The schema version.
|
String |
getSha1()
The SHA1 hash of the document, which you can use for verification.
|
String |
getStatus()
The status of the Systems Manager document.
|
String |
getStatusInformation()
A message returned by AWS Systems Manager that explains the
Status value. |
List<Tag> |
getTags()
The tags, or metadata, that have been applied to the document.
|
String |
getTargetType()
The target type which defines the kinds of resources the document can run on.
|
String |
getVersionName()
The version of the artifact associated with the document.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAttachmentsInformation(Collection<AttachmentInformation> attachmentsInformation)
Details about the document attachments, including names, locations, sizes, and so on.
|
void |
setCreatedDate(Date createdDate)
The date when the document was created.
|
void |
setDefaultVersion(String defaultVersion)
The default version.
|
void |
setDescription(String description)
A description of the 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 type of document.
|
void |
setDocumentType(String documentType)
The type of document.
|
void |
setDocumentVersion(String documentVersion)
The document version.
|
void |
setHash(String hash)
The Sha256 or Sha1 hash created by the system when the document was created.
|
void |
setHashType(DocumentHashType hashType)
The hash type of the document.
|
void |
setHashType(String hashType)
The hash type of the document.
|
void |
setLatestVersion(String latestVersion)
The latest version of the document.
|
void |
setName(String name)
The name of the Systems Manager document.
|
void |
setOwner(String owner)
The AWS user account that created the document.
|
void |
setParameters(Collection<DocumentParameter> parameters)
A description of the parameters for a document.
|
void |
setPlatformTypes(Collection<String> platformTypes)
The list of OS platforms compatible with this Systems Manager document.
|
void |
setRequires(Collection<DocumentRequires> requires)
A list of SSM documents required by a document.
|
void |
setSchemaVersion(String schemaVersion)
The schema version.
|
void |
setSha1(String sha1)
The SHA1 hash of the document, which you can use for verification.
|
void |
setStatus(DocumentStatus status)
The status of the Systems Manager document.
|
void |
setStatus(String status)
The status of the Systems Manager document.
|
void |
setStatusInformation(String statusInformation)
A message returned by AWS Systems Manager that explains the
Status value. |
void |
setTags(Collection<Tag> tags)
The tags, or metadata, that have been applied to the document.
|
void |
setTargetType(String targetType)
The target type which defines the kinds of resources the document can run on.
|
void |
setVersionName(String versionName)
The version of the artifact associated with the document.
|
String |
toString()
Returns a string representation of this object.
|
DocumentDescription |
withAttachmentsInformation(AttachmentInformation... attachmentsInformation)
Details about the document attachments, including names, locations, sizes, and so on.
|
DocumentDescription |
withAttachmentsInformation(Collection<AttachmentInformation> attachmentsInformation)
Details about the document attachments, including names, locations, sizes, and so on.
|
DocumentDescription |
withCreatedDate(Date createdDate)
The date when the document was created.
|
DocumentDescription |
withDefaultVersion(String defaultVersion)
The default version.
|
DocumentDescription |
withDescription(String description)
A description of the document.
|
DocumentDescription |
withDocumentFormat(DocumentFormat documentFormat)
The document format, either JSON or YAML.
|
DocumentDescription |
withDocumentFormat(String documentFormat)
The document format, either JSON or YAML.
|
DocumentDescription |
withDocumentType(DocumentType documentType)
The type of document.
|
DocumentDescription |
withDocumentType(String documentType)
The type of document.
|
DocumentDescription |
withDocumentVersion(String documentVersion)
The document version.
|
DocumentDescription |
withHash(String hash)
The Sha256 or Sha1 hash created by the system when the document was created.
|
DocumentDescription |
withHashType(DocumentHashType hashType)
The hash type of the document.
|
DocumentDescription |
withHashType(String hashType)
The hash type of the document.
|
DocumentDescription |
withLatestVersion(String latestVersion)
The latest version of the document.
|
DocumentDescription |
withName(String name)
The name of the Systems Manager document.
|
DocumentDescription |
withOwner(String owner)
The AWS user account that created the document.
|
DocumentDescription |
withParameters(Collection<DocumentParameter> parameters)
A description of the parameters for a document.
|
DocumentDescription |
withParameters(DocumentParameter... parameters)
A description of the parameters for a document.
|
DocumentDescription |
withPlatformTypes(Collection<String> platformTypes)
The list of OS platforms compatible with this Systems Manager document.
|
DocumentDescription |
withPlatformTypes(PlatformType... platformTypes)
The list of OS platforms compatible with this Systems Manager document.
|
DocumentDescription |
withPlatformTypes(String... platformTypes)
The list of OS platforms compatible with this Systems Manager document.
|
DocumentDescription |
withRequires(Collection<DocumentRequires> requires)
A list of SSM documents required by a document.
|
DocumentDescription |
withRequires(DocumentRequires... requires)
A list of SSM documents required by a document.
|
DocumentDescription |
withSchemaVersion(String schemaVersion)
The schema version.
|
DocumentDescription |
withSha1(String sha1)
The SHA1 hash of the document, which you can use for verification.
|
DocumentDescription |
withStatus(DocumentStatus status)
The status of the Systems Manager document.
|
DocumentDescription |
withStatus(String status)
The status of the Systems Manager document.
|
DocumentDescription |
withStatusInformation(String statusInformation)
A message returned by AWS Systems Manager that explains the
Status value. |
DocumentDescription |
withTags(Collection<Tag> tags)
The tags, or metadata, that have been applied to the document.
|
DocumentDescription |
withTags(Tag... tags)
The tags, or metadata, that have been applied to the document.
|
DocumentDescription |
withTargetType(String targetType)
The target type which defines the kinds of resources the document can run on.
|
DocumentDescription |
withVersionName(String versionName)
The version of the artifact associated with the document.
|
public void setSha1(String sha1)
The SHA1 hash of the document, which you can use for verification.
sha1
- The SHA1 hash of the document, which you can use for verification.public String getSha1()
The SHA1 hash of the document, which you can use for verification.
public DocumentDescription withSha1(String sha1)
The SHA1 hash of the document, which you can use for verification.
sha1
- The SHA1 hash of the document, which you can use for verification.public void setHash(String hash)
The Sha256 or Sha1 hash created by the system when the document was created.
Sha1 hashes have been deprecated.
hash
- The Sha256 or Sha1 hash created by the system when the document was created. Sha1 hashes have been deprecated.
public String getHash()
The Sha256 or Sha1 hash created by the system when the document was created.
Sha1 hashes have been deprecated.
Sha1 hashes have been deprecated.
public DocumentDescription withHash(String hash)
The Sha256 or Sha1 hash created by the system when the document was created.
Sha1 hashes have been deprecated.
hash
- The Sha256 or Sha1 hash created by the system when the document was created. Sha1 hashes have been deprecated.
public void setHashType(String hashType)
The hash type of the document. Valid values include Sha256
or Sha1
.
Sha1 hashes have been deprecated.
hashType
- The hash type of the document. Valid values include Sha256
or Sha1
. Sha1 hashes have been deprecated.
DocumentHashType
public String getHashType()
The hash type of the document. Valid values include Sha256
or Sha1
.
Sha1 hashes have been deprecated.
Sha256
or Sha1
. Sha1 hashes have been deprecated.
DocumentHashType
public DocumentDescription withHashType(String hashType)
The hash type of the document. Valid values include Sha256
or Sha1
.
Sha1 hashes have been deprecated.
hashType
- The hash type of the document. Valid values include Sha256
or Sha1
. Sha1 hashes have been deprecated.
DocumentHashType
public void setHashType(DocumentHashType hashType)
The hash type of the document. Valid values include Sha256
or Sha1
.
Sha1 hashes have been deprecated.
hashType
- The hash type of the document. Valid values include Sha256
or Sha1
. Sha1 hashes have been deprecated.
DocumentHashType
public DocumentDescription withHashType(DocumentHashType hashType)
The hash type of the document. Valid values include Sha256
or Sha1
.
Sha1 hashes have been deprecated.
hashType
- The hash type of the document. Valid values include Sha256
or Sha1
. Sha1 hashes have been deprecated.
DocumentHashType
public 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 DocumentDescription 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.
versionName
- The version of the artifact associated with the document.public String getVersionName()
The version of the artifact associated with the document.
public DocumentDescription withVersionName(String versionName)
The version of the artifact associated with the document.
versionName
- The version of the artifact associated with the document.public void setOwner(String owner)
The AWS user account that created the document.
owner
- The AWS user account that created the document.public String getOwner()
The AWS user account that created the document.
public DocumentDescription withOwner(String owner)
The AWS user account that created the document.
owner
- The AWS user account that created the document.public void setCreatedDate(Date createdDate)
The date when the document was created.
createdDate
- The date when the document was created.public Date getCreatedDate()
The date when the document was created.
public DocumentDescription withCreatedDate(Date createdDate)
The date when the document was created.
createdDate
- The date when the document was created.public void setStatus(String status)
The status of the Systems Manager document.
status
- The status of the Systems Manager document.DocumentStatus
public String getStatus()
The status of the Systems Manager document.
DocumentStatus
public DocumentDescription withStatus(String status)
The status of the Systems Manager document.
status
- The status of the Systems Manager document.DocumentStatus
public void setStatus(DocumentStatus status)
The status of the Systems Manager document.
status
- The status of the Systems Manager document.DocumentStatus
public DocumentDescription withStatus(DocumentStatus status)
The status of the Systems Manager document.
status
- The status of the Systems Manager document.DocumentStatus
public 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 DocumentDescription 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 setDocumentVersion(String documentVersion)
The document version.
documentVersion
- The document version.public String getDocumentVersion()
The document version.
public DocumentDescription withDocumentVersion(String documentVersion)
The document version.
documentVersion
- The document version.public void setDescription(String description)
A description of the document.
description
- A description of the document.public String getDescription()
A description of the document.
public DocumentDescription withDescription(String description)
A description of the document.
description
- A description of the document.public List<DocumentParameter> getParameters()
A description of the parameters for a document.
public void setParameters(Collection<DocumentParameter> parameters)
A description of the parameters for a document.
parameters
- A description of the parameters for a document.public DocumentDescription withParameters(DocumentParameter... parameters)
A description of the parameters for a document.
NOTE: This method appends the values to the existing list (if any). Use
setParameters(java.util.Collection)
or withParameters(java.util.Collection)
if you want to
override the existing values.
parameters
- A description of the parameters for a document.public DocumentDescription withParameters(Collection<DocumentParameter> parameters)
A description of the parameters for a document.
parameters
- A description of the parameters for a document.public List<String> getPlatformTypes()
The list of OS platforms compatible with this Systems Manager document.
PlatformType
public void setPlatformTypes(Collection<String> platformTypes)
The list of OS platforms compatible with this Systems Manager document.
platformTypes
- The list of OS platforms compatible with this Systems Manager document.PlatformType
public DocumentDescription withPlatformTypes(String... platformTypes)
The list of OS platforms compatible with this Systems Manager document.
NOTE: This method appends the values to the existing list (if any). Use
setPlatformTypes(java.util.Collection)
or withPlatformTypes(java.util.Collection)
if you want
to override the existing values.
platformTypes
- The list of OS platforms compatible with this Systems Manager document.PlatformType
public DocumentDescription withPlatformTypes(Collection<String> platformTypes)
The list of OS platforms compatible with this Systems Manager document.
platformTypes
- The list of OS platforms compatible with this Systems Manager document.PlatformType
public DocumentDescription withPlatformTypes(PlatformType... platformTypes)
The list of OS platforms compatible with this Systems Manager document.
platformTypes
- The list of OS platforms compatible with this Systems Manager document.PlatformType
public void setDocumentType(String documentType)
The type of document.
documentType
- The type of document.DocumentType
public String getDocumentType()
The type of document.
DocumentType
public DocumentDescription withDocumentType(String documentType)
The type of document.
documentType
- The type of document.DocumentType
public void setDocumentType(DocumentType documentType)
The type of document.
documentType
- The type of document.DocumentType
public DocumentDescription withDocumentType(DocumentType documentType)
The type of document.
documentType
- The type of document.DocumentType
public void setSchemaVersion(String schemaVersion)
The schema version.
schemaVersion
- The schema version.public String getSchemaVersion()
The schema version.
public DocumentDescription withSchemaVersion(String schemaVersion)
The schema version.
schemaVersion
- The schema version.public void setLatestVersion(String latestVersion)
The latest version of the document.
latestVersion
- The latest version of the document.public String getLatestVersion()
The latest version of the document.
public DocumentDescription withLatestVersion(String latestVersion)
The latest version of the document.
latestVersion
- The latest version of the document.public void setDefaultVersion(String defaultVersion)
The default version.
defaultVersion
- The default version.public String getDefaultVersion()
The default version.
public DocumentDescription withDefaultVersion(String defaultVersion)
The default version.
defaultVersion
- The default version.public void setDocumentFormat(String documentFormat)
The document format, either JSON or YAML.
documentFormat
- The document format, either JSON or YAML.DocumentFormat
public String getDocumentFormat()
The document format, either JSON or YAML.
DocumentFormat
public DocumentDescription withDocumentFormat(String documentFormat)
The document format, either JSON or YAML.
documentFormat
- The document format, either JSON or YAML.DocumentFormat
public void setDocumentFormat(DocumentFormat documentFormat)
The document format, either JSON or YAML.
documentFormat
- The document format, either JSON or YAML.DocumentFormat
public DocumentDescription withDocumentFormat(DocumentFormat documentFormat)
The document format, either JSON or YAML.
documentFormat
- The document format, either JSON or YAML.DocumentFormat
public void setTargetType(String targetType)
The target type which defines the kinds of resources the document can run on. For example, /AWS::EC2::Instance. For a list of valid resource types, see AWS resource and property types reference in the AWS CloudFormation User Guide.
targetType
- The target type which defines the kinds of resources the document can run on. For example,
/AWS::EC2::Instance. For a list of valid resource types, see AWS resource and property types reference in the AWS CloudFormation User Guide.public String getTargetType()
The target type which defines the kinds of resources the document can run on. For example, /AWS::EC2::Instance. For a list of valid resource types, see AWS resource and property types reference in the AWS CloudFormation User Guide.
public DocumentDescription withTargetType(String targetType)
The target type which defines the kinds of resources the document can run on. For example, /AWS::EC2::Instance. For a list of valid resource types, see AWS resource and property types reference in the AWS CloudFormation User Guide.
targetType
- The target type which defines the kinds of resources the document can run on. For example,
/AWS::EC2::Instance. For a list of valid resource types, see AWS resource and property types reference in the AWS CloudFormation User Guide.public List<Tag> getTags()
The tags, or metadata, that have been applied to the document.
public void setTags(Collection<Tag> tags)
The tags, or metadata, that have been applied to the document.
tags
- The tags, or metadata, that have been applied to the document.public DocumentDescription withTags(Tag... tags)
The tags, or metadata, that have been applied to the document.
NOTE: This method appends the values to the existing list (if any). Use
setTags(java.util.Collection)
or withTags(java.util.Collection)
if you want to override the
existing values.
tags
- The tags, or metadata, that have been applied to the document.public DocumentDescription withTags(Collection<Tag> tags)
The tags, or metadata, that have been applied to the document.
tags
- The tags, or metadata, that have been applied to the document.public List<AttachmentInformation> getAttachmentsInformation()
Details about the document attachments, including names, locations, sizes, and so on.
public void setAttachmentsInformation(Collection<AttachmentInformation> attachmentsInformation)
Details about the document attachments, including names, locations, sizes, and so on.
attachmentsInformation
- Details about the document attachments, including names, locations, sizes, and so on.public DocumentDescription withAttachmentsInformation(AttachmentInformation... attachmentsInformation)
Details about the document attachments, including names, locations, sizes, and so on.
NOTE: This method appends the values to the existing list (if any). Use
setAttachmentsInformation(java.util.Collection)
or
withAttachmentsInformation(java.util.Collection)
if you want to override the existing values.
attachmentsInformation
- Details about the document attachments, including names, locations, sizes, and so on.public DocumentDescription withAttachmentsInformation(Collection<AttachmentInformation> attachmentsInformation)
Details about the document attachments, including names, locations, sizes, and so on.
attachmentsInformation
- Details about the document attachments, including names, locations, sizes, and so on.public List<DocumentRequires> getRequires()
A list of SSM documents required by a document. For example, an ApplicationConfiguration
document
requires an ApplicationConfigurationSchema
document.
ApplicationConfiguration
document requires an ApplicationConfigurationSchema
document.public void setRequires(Collection<DocumentRequires> requires)
A list of SSM documents required by a document. For example, an ApplicationConfiguration
document
requires an ApplicationConfigurationSchema
document.
requires
- A list of SSM documents required by a document. For example, an ApplicationConfiguration
document requires an ApplicationConfigurationSchema
document.public DocumentDescription withRequires(DocumentRequires... requires)
A list of SSM documents required by a document. For example, an ApplicationConfiguration
document
requires an ApplicationConfigurationSchema
document.
NOTE: This method appends the values to the existing list (if any). Use
setRequires(java.util.Collection)
or withRequires(java.util.Collection)
if you want to override
the existing values.
requires
- A list of SSM documents required by a document. For example, an ApplicationConfiguration
document requires an ApplicationConfigurationSchema
document.public DocumentDescription withRequires(Collection<DocumentRequires> requires)
A list of SSM documents required by a document. For example, an ApplicationConfiguration
document
requires an ApplicationConfigurationSchema
document.
requires
- A list of SSM documents required by a document. For example, an ApplicationConfiguration
document requires an ApplicationConfigurationSchema
document.public String toString()
toString
in class Object
Object.toString()
public DocumentDescription clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.