public class DocumentDescription extends Object implements Serializable, Cloneable
Constructor and Description |
---|
DocumentDescription() |
Modifier and Type | Method and Description |
---|---|
DocumentDescription |
clone() |
boolean |
equals(Object obj) |
Date |
getCreatedDate()
The date when the SSM document was created.
|
String |
getDescription()
A description of the document.
|
String |
getName()
The name of the SSM document.
|
List<DocumentParameter> |
getParameters()
A description of the parameters for a document.
|
List<String> |
getPlatformTypes()
The list of OS platforms compatible with this SSM document.
|
String |
getSha1()
The SHA1 hash of the document, which you can use for verification
purposes.
|
String |
getStatus()
The status of the SSM document.
|
int |
hashCode() |
void |
setCreatedDate(Date createdDate)
The date when the SSM document was created.
|
void |
setDescription(String description)
A description of the document.
|
void |
setName(String name)
The name of the SSM 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 SSM document.
|
void |
setSha1(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(String status)
The status of the SSM document.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DocumentDescription |
withCreatedDate(Date createdDate)
The date when the SSM document was created.
|
DocumentDescription |
withDescription(String description)
A description of the document.
|
DocumentDescription |
withName(String name)
The name of the SSM 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 SSM document.
|
DocumentDescription |
withPlatformTypes(PlatformType... platformTypes)
The list of OS platforms compatible with this SSM document.
|
DocumentDescription |
withPlatformTypes(String... platformTypes)
The list of OS platforms compatible with this SSM document.
|
DocumentDescription |
withSha1(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(String status)
The status of the SSM document.
|
public void setSha1(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 String getSha1()
The SHA1 hash of the document, which you can use for verification purposes.
public DocumentDescription withSha1(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 setName(String name)
The name of the SSM document.
name
- The name of the SSM document.public String getName()
The name of the SSM document.
public DocumentDescription withName(String name)
The name of the SSM document.
name
- The name of the SSM document.public void setCreatedDate(Date createdDate)
createdDate
- The date when the SSM document was created.public Date getCreatedDate()
public DocumentDescription withCreatedDate(Date createdDate)
createdDate
- The date when the SSM document was created.public void setStatus(String status)
The status of the SSM document.
status
- The status of the SSM document.DocumentStatus
public String getStatus()
The status of the SSM document.
DocumentStatus
public DocumentDescription withStatus(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(String description)
description
- A description of the document.public String getDescription()
public DocumentDescription withDescription(String description)
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()
PlatformType
public void setPlatformTypes(Collection<String> platformTypes)
platformTypes
- The list of OS platforms compatible with this SSM document.PlatformType
public DocumentDescription withPlatformTypes(String... platformTypes)
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(Collection<String> platformTypes)
platformTypes
- The list of OS platforms compatible with this SSM document.PlatformType
public DocumentDescription withPlatformTypes(PlatformType... platformTypes)
platformTypes
- The list of OS platforms compatible with this SSM document.PlatformType
public String toString()
toString
in class Object
Object.toString()
public DocumentDescription clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.