public class DocumentDescription extends Object implements Serializable, Cloneable
Describes a configuration document.
Constructor and Description |
---|
DocumentDescription() |
Modifier and Type | Method and Description |
---|---|
DocumentDescription |
clone() |
boolean |
equals(Object obj) |
Date |
getCreatedDate()
The date when the configuration document was created.
|
String |
getName()
The name of the configuration document.
|
String |
getSha1()
The SHA1 hash of the document, which you can use for verification
purposes.
|
String |
getStatus()
The status of the configuration document.
|
int |
hashCode() |
void |
setCreatedDate(Date createdDate)
The date when the configuration document was created.
|
void |
setName(String name)
The name of the configuration 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 configuration document.
|
void |
setStatus(String status)
The status of the configuration document.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DocumentDescription |
withCreatedDate(Date createdDate)
The date when the configuration document was created.
|
DocumentDescription |
withName(String name)
The name of the configuration 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 configuration document.
|
DocumentDescription |
withStatus(String status)
The status of the configuration document.
|
public String getSha1()
public void setSha1(String sha1)
sha1
- The SHA1 hash of the document, which you can use for verification
purposes.public DocumentDescription withSha1(String sha1)
Returns a reference to this object so that method calls can be chained together.
sha1
- The SHA1 hash of the document, which you can use for verification
purposes.public String getName()
Constraints:
Length: 3 - 64
Pattern: ^[a-zA-Z0-9_\-.]{3,64}$
public void setName(String name)
Constraints:
Length: 3 - 64
Pattern: ^[a-zA-Z0-9_\-.]{3,64}$
name
- The name of the configuration document.public DocumentDescription withName(String name)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 3 - 64
Pattern: ^[a-zA-Z0-9_\-.]{3,64}$
name
- The name of the configuration document.public Date getCreatedDate()
public void setCreatedDate(Date createdDate)
createdDate
- The date when the configuration document was created.public DocumentDescription withCreatedDate(Date createdDate)
Returns a reference to this object so that method calls can be chained together.
createdDate
- The date when the configuration document was created.public String getStatus()
Constraints:
Allowed Values: Creating, Active, Deleting
DocumentStatus
public void setStatus(String status)
Constraints:
Allowed Values: Creating, Active, Deleting
status
- The status of the configuration document.DocumentStatus
public DocumentDescription withStatus(String status)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: Creating, Active, Deleting
status
- The status of the configuration document.DocumentStatus
public void setStatus(DocumentStatus status)
Constraints:
Allowed Values: Creating, Active, Deleting
status
- The status of the configuration document.DocumentStatus
public DocumentDescription withStatus(DocumentStatus status)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: Creating, Active, Deleting
status
- The status of the configuration document.DocumentStatus
public String toString()
toString
in class Object
Object.toString()
public DocumentDescription clone()
Copyright © 2015. All rights reserved.