public class DocumentDescription
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Describes an SSM document.
Modifier and Type | Field and Description |
---|---|
private java.util.Date |
createdDate
The date when the SSM document was created.
|
private java.lang.String |
description
A description of the document.
|
private java.lang.String |
hash
The Sha256 or Sha1 hash created by the system when the document was
created.
|
private java.lang.String |
hashType
Sha256 or Sha1.
|
private java.lang.String |
name
The name of the SSM document.
|
private java.lang.String |
owner
The AWS user account of the person who created the document.
|
private SdkInternalList<DocumentParameter> |
parameters
A description of the parameters for a document.
|
private SdkInternalList<java.lang.String> |
platformTypes
The list of OS platforms compatible with this SSM document.
|
private java.lang.String |
sha1
The SHA1 hash of the document, which you can use for verification
purposes.
|
private java.lang.String |
status
The status of the SSM document.
|
Constructor and Description |
---|
DocumentDescription() |
Modifier and Type | Method and Description |
---|---|
DocumentDescription |
clone() |
boolean |
equals(java.lang.Object obj) |
java.util.Date |
getCreatedDate()
The date when the SSM document was created.
|
java.lang.String |
getDescription()
A description of the document.
|
java.lang.String |
getHash()
The Sha256 or Sha1 hash created by the system when the document was
created.
|
java.lang.String |
getHashType()
Sha256 or Sha1.
|
java.lang.String |
getName()
The name of the SSM document.
|
java.lang.String |
getOwner()
The AWS user account of the person who created the document.
|
java.util.List<DocumentParameter> |
getParameters()
A description of the parameters for a document.
|
java.util.List<java.lang.String> |
getPlatformTypes()
The list of OS platforms compatible with this SSM document.
|
java.lang.String |
getSha1()
The SHA1 hash of the document, which you can use for verification
purposes.
|
java.lang.String |
getStatus()
The status of the SSM document.
|
int |
hashCode() |
void |
setCreatedDate(java.util.Date createdDate)
The date when the SSM document was created.
|
void |
setDescription(java.lang.String description)
A description of the document.
|
void |
setHash(java.lang.String hash)
The Sha256 or Sha1 hash created by the system when the document was
created.
|
void |
setHashType(DocumentHashType hashType)
Sha256 or Sha1.
|
void |
setHashType(java.lang.String hashType)
Sha256 or Sha1.
|
void |
setName(java.lang.String name)
The name of the SSM document.
|
void |
setOwner(java.lang.String owner)
The AWS user account of the person who created the document.
|
void |
setParameters(java.util.Collection<DocumentParameter> parameters)
A description of the parameters for a document.
|
void |
setPlatformTypes(java.util.Collection<java.lang.String> platformTypes)
The list of OS platforms compatible with this SSM document.
|
void |
setSha1(java.lang.String sha1)
The SHA1 hash of the document, which you can use for verification
purposes.
|
void |
setStatus(DocumentStatus status)
The status of the SSM document.
|
void |
setStatus(java.lang.String status)
The status of the SSM document.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DocumentDescription |
withCreatedDate(java.util.Date createdDate)
The date when the SSM document was created.
|
DocumentDescription |
withDescription(java.lang.String description)
A description of the document.
|
DocumentDescription |
withHash(java.lang.String hash)
The Sha256 or Sha1 hash created by the system when the document was
created.
|
DocumentDescription |
withHashType(DocumentHashType hashType)
Sha256 or Sha1.
|
DocumentDescription |
withHashType(java.lang.String hashType)
Sha256 or Sha1.
|
DocumentDescription |
withName(java.lang.String name)
The name of the SSM document.
|
DocumentDescription |
withOwner(java.lang.String owner)
The AWS user account of the person who created the document.
|
DocumentDescription |
withParameters(java.util.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(java.util.Collection<java.lang.String> platformTypes)
The list of OS platforms compatible with this SSM document.
|
DocumentDescription |
withPlatformTypes(PlatformType... platformTypes)
The list of OS platforms compatible with this SSM document.
|
DocumentDescription |
withPlatformTypes(java.lang.String... platformTypes)
The list of OS platforms compatible with this SSM document.
|
DocumentDescription |
withSha1(java.lang.String sha1)
The SHA1 hash of the document, which you can use for verification
purposes.
|
DocumentDescription |
withStatus(DocumentStatus status)
The status of the SSM document.
|
DocumentDescription |
withStatus(java.lang.String status)
The status of the SSM document.
|
private java.lang.String sha1
The SHA1 hash of the document, which you can use for verification purposes.
private java.lang.String hash
The Sha256 or Sha1 hash created by the system when the document was created.
Sha1 hashes have been deprecated.
private java.lang.String hashType
Sha256 or Sha1.
Sha1 hashes have been deprecated.
private java.lang.String name
The name of the SSM document.
private java.lang.String owner
The AWS user account of the person who created the document.
private java.util.Date createdDate
The date when the SSM document was created.
private java.lang.String status
The status of the SSM document.
private java.lang.String description
A description of the document.
private SdkInternalList<DocumentParameter> parameters
A description of the parameters for a document.
private SdkInternalList<java.lang.String> platformTypes
The list of OS platforms compatible with this SSM document.
public void setSha1(java.lang.String sha1)
The SHA1 hash of the document, which you can use for verification purposes.
sha1
- The SHA1 hash of the document, which you can use for verification
purposes.public java.lang.String getSha1()
The SHA1 hash of the document, which you can use for verification purposes.
public DocumentDescription withSha1(java.lang.String sha1)
The SHA1 hash of the document, which you can use for verification purposes.
sha1
- The SHA1 hash of the document, which you can use for verification
purposes.public void setHash(java.lang.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 java.lang.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(java.lang.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(java.lang.String hashType)
Sha256 or Sha1.
Sha1 hashes have been deprecated.
hashType
- Sha256 or Sha1. Sha1 hashes have been deprecated.
DocumentHashType
public java.lang.String getHashType()
Sha256 or Sha1.
Sha1 hashes have been deprecated.
Sha1 hashes have been deprecated.
DocumentHashType
public DocumentDescription withHashType(java.lang.String hashType)
Sha256 or Sha1.
Sha1 hashes have been deprecated.
hashType
- Sha256 or Sha1. Sha1 hashes have been deprecated.
DocumentHashType
public void setHashType(DocumentHashType hashType)
Sha256 or Sha1.
Sha1 hashes have been deprecated.
hashType
- Sha256 or Sha1. Sha1 hashes have been deprecated.
DocumentHashType
public DocumentDescription withHashType(DocumentHashType hashType)
Sha256 or Sha1.
Sha1 hashes have been deprecated.
hashType
- Sha256 or Sha1. Sha1 hashes have been deprecated.
DocumentHashType
public void setName(java.lang.String name)
The name of the SSM document.
name
- The name of the SSM document.public java.lang.String getName()
The name of the SSM document.
public DocumentDescription withName(java.lang.String name)
The name of the SSM document.
name
- The name of the SSM document.public void setOwner(java.lang.String owner)
The AWS user account of the person who created the document.
owner
- The AWS user account of the person who created the document.public java.lang.String getOwner()
The AWS user account of the person who created the document.
public DocumentDescription withOwner(java.lang.String owner)
The AWS user account of the person who created the document.
owner
- The AWS user account of the person who created the document.public void setCreatedDate(java.util.Date createdDate)
The date when the SSM document was created.
createdDate
- The date when the SSM document was created.public java.util.Date getCreatedDate()
The date when the SSM document was created.
public DocumentDescription withCreatedDate(java.util.Date createdDate)
The date when the SSM document was created.
createdDate
- The date when the SSM document was created.public void setStatus(java.lang.String status)
The status of the SSM document.
status
- The status of the SSM document.DocumentStatus
public java.lang.String getStatus()
The status of the SSM document.
DocumentStatus
public DocumentDescription withStatus(java.lang.String status)
The status of the SSM document.
status
- The status of the SSM document.DocumentStatus
public void setStatus(DocumentStatus status)
The status of the SSM document.
status
- The status of the SSM document.DocumentStatus
public DocumentDescription withStatus(DocumentStatus status)
The status of the SSM document.
status
- The status of the SSM document.DocumentStatus
public void setDescription(java.lang.String description)
A description of the document.
description
- A description of the document.public java.lang.String getDescription()
A description of the document.
public DocumentDescription withDescription(java.lang.String description)
A description of the document.
description
- A description of the document.public java.util.List<DocumentParameter> getParameters()
A description of the parameters for a document.
public void setParameters(java.util.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(java.util.Collection<DocumentParameter> parameters)
A description of the parameters for a document.
parameters
- A description of the parameters for a document.public java.util.List<java.lang.String> getPlatformTypes()
The list of OS platforms compatible with this SSM document.
PlatformType
public void setPlatformTypes(java.util.Collection<java.lang.String> platformTypes)
The list of OS platforms compatible with this SSM document.
platformTypes
- The list of OS platforms compatible with this SSM document.PlatformType
public DocumentDescription withPlatformTypes(java.lang.String... platformTypes)
The list of OS platforms compatible with this SSM 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 SSM document.PlatformType
public DocumentDescription withPlatformTypes(java.util.Collection<java.lang.String> platformTypes)
The list of OS platforms compatible with this SSM document.
platformTypes
- The list of OS platforms compatible with this SSM document.PlatformType
public DocumentDescription withPlatformTypes(PlatformType... platformTypes)
The list of OS platforms compatible with this SSM document.
platformTypes
- The list of OS platforms compatible with this SSM document.PlatformType
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public DocumentDescription clone()
clone
in class java.lang.Object