@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DocumentVersionInfo extends Object implements Serializable, Cloneable, StructuredPojo
Version information about the document.
Constructor and Description |
---|
DocumentVersionInfo() |
Modifier and Type | Method and Description |
---|---|
DocumentVersionInfo |
clone() |
boolean |
equals(Object obj) |
Date |
getCreatedDate()
The date the document was created.
|
String |
getDisplayName()
The friendly name of the SSM document.
|
String |
getDocumentFormat()
The document format, either JSON or YAML.
|
String |
getDocumentVersion()
The document version.
|
Boolean |
getIsDefaultVersion()
An identifier for the default version of the document.
|
String |
getName()
The document name.
|
String |
getReviewStatus()
The current status of the approval review for the latest version of the document.
|
String |
getStatus()
The status of the SSM document, such as
Creating , Active , Failed , and
Deleting . |
String |
getStatusInformation()
A message returned by Amazon Web Services Systems Manager that explains the
Status value. |
String |
getVersionName()
The version of the artifact associated with the document.
|
int |
hashCode() |
Boolean |
isDefaultVersion()
An identifier for the default version of the document.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCreatedDate(Date createdDate)
The date the document was created.
|
void |
setDisplayName(String displayName)
The friendly name of the SSM document.
|
void |
setDocumentFormat(String documentFormat)
The document format, either JSON or YAML.
|
void |
setDocumentVersion(String documentVersion)
The document version.
|
void |
setIsDefaultVersion(Boolean isDefaultVersion)
An identifier for the default version of the document.
|
void |
setName(String name)
The document name.
|
void |
setReviewStatus(String reviewStatus)
The current status of the approval review for the latest version of the document.
|
void |
setStatus(String status)
The status of the SSM document, such as
Creating , Active , Failed , and
Deleting . |
void |
setStatusInformation(String statusInformation)
A message returned by Amazon Web Services 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.
|
DocumentVersionInfo |
withCreatedDate(Date createdDate)
The date the document was created.
|
DocumentVersionInfo |
withDisplayName(String displayName)
The friendly name of the SSM document.
|
DocumentVersionInfo |
withDocumentFormat(DocumentFormat documentFormat)
The document format, either JSON or YAML.
|
DocumentVersionInfo |
withDocumentFormat(String documentFormat)
The document format, either JSON or YAML.
|
DocumentVersionInfo |
withDocumentVersion(String documentVersion)
The document version.
|
DocumentVersionInfo |
withIsDefaultVersion(Boolean isDefaultVersion)
An identifier for the default version of the document.
|
DocumentVersionInfo |
withName(String name)
The document name.
|
DocumentVersionInfo |
withReviewStatus(ReviewStatus reviewStatus)
The current status of the approval review for the latest version of the document.
|
DocumentVersionInfo |
withReviewStatus(String reviewStatus)
The current status of the approval review for the latest version of the document.
|
DocumentVersionInfo |
withStatus(DocumentStatus status)
The status of the SSM document, such as
Creating , Active , Failed , and
Deleting . |
DocumentVersionInfo |
withStatus(String status)
The status of the SSM document, such as
Creating , Active , Failed , and
Deleting . |
DocumentVersionInfo |
withStatusInformation(String statusInformation)
A message returned by Amazon Web Services Systems Manager that explains the
Status value. |
DocumentVersionInfo |
withVersionName(String versionName)
The version of the artifact associated with the document.
|
public void setName(String name)
The document name.
name
- The document name.public String getName()
The document name.
public DocumentVersionInfo withName(String name)
The document name.
name
- The document name.public void setDisplayName(String displayName)
The friendly name of the SSM document. This value can differ for each version of the document. If you want to update this value, see UpdateDocument.
displayName
- The friendly name of the SSM document. This value can differ for each version of the document. If you want
to update this value, see UpdateDocument.public String getDisplayName()
The friendly name of the SSM document. This value can differ for each version of the document. If you want to update this value, see UpdateDocument.
public DocumentVersionInfo withDisplayName(String displayName)
The friendly name of the SSM document. This value can differ for each version of the document. If you want to update this value, see UpdateDocument.
displayName
- The friendly name of the SSM document. This value can differ for each version of the document. If you want
to update this value, see UpdateDocument.public void setDocumentVersion(String documentVersion)
The document version.
documentVersion
- The document version.public String getDocumentVersion()
The document version.
public DocumentVersionInfo withDocumentVersion(String documentVersion)
The document version.
documentVersion
- The document version.public void setVersionName(String versionName)
The version of the artifact associated with the document. For example, 12.6. This value is unique across all versions of a document, and can't be changed.
versionName
- The version of the artifact associated with the document. For example, 12.6. This value is unique across
all versions of a document, and can't be changed.public String getVersionName()
The version of the artifact associated with the document. For example, 12.6. This value is unique across all versions of a document, and can't be changed.
public DocumentVersionInfo withVersionName(String versionName)
The version of the artifact associated with the document. For example, 12.6. This value is unique across all versions of a document, and can't be changed.
versionName
- The version of the artifact associated with the document. For example, 12.6. This value is unique across
all versions of a document, and can't be changed.public void setCreatedDate(Date createdDate)
The date the document was created.
createdDate
- The date the document was created.public Date getCreatedDate()
The date the document was created.
public DocumentVersionInfo withCreatedDate(Date createdDate)
The date the document was created.
createdDate
- The date the document was created.public void setIsDefaultVersion(Boolean isDefaultVersion)
An identifier for the default version of the document.
isDefaultVersion
- An identifier for the default version of the document.public Boolean getIsDefaultVersion()
An identifier for the default version of the document.
public DocumentVersionInfo withIsDefaultVersion(Boolean isDefaultVersion)
An identifier for the default version of the document.
isDefaultVersion
- An identifier for the default version of the document.public Boolean isDefaultVersion()
An identifier for the default version of the document.
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 DocumentVersionInfo withDocumentFormat(String documentFormat)
The document format, either JSON or YAML.
documentFormat
- The document format, either JSON or YAML.DocumentFormat
public DocumentVersionInfo withDocumentFormat(DocumentFormat documentFormat)
The document format, either JSON or YAML.
documentFormat
- The document format, either JSON or YAML.DocumentFormat
public void setStatus(String status)
The status of the SSM document, such as Creating
, Active
, Failed
, and
Deleting
.
status
- The status of the SSM document, such as Creating
, Active
, Failed
,
and Deleting
.DocumentStatus
public String getStatus()
The status of the SSM document, such as Creating
, Active
, Failed
, and
Deleting
.
Creating
, Active
, Failed
,
and Deleting
.DocumentStatus
public DocumentVersionInfo withStatus(String status)
The status of the SSM document, such as Creating
, Active
, Failed
, and
Deleting
.
status
- The status of the SSM document, such as Creating
, Active
, Failed
,
and Deleting
.DocumentStatus
public DocumentVersionInfo withStatus(DocumentStatus status)
The status of the SSM document, such as Creating
, Active
, Failed
, and
Deleting
.
status
- The status of the SSM document, such as Creating
, Active
, Failed
,
and Deleting
.DocumentStatus
public void setStatusInformation(String statusInformation)
A message returned by Amazon Web Services Systems Manager that explains the Status
value. For
example, a Failed
status might be explained by the StatusInformation
message,
"The specified S3 bucket doesn't exist. Verify that the URL of the S3 bucket is correct."
statusInformation
- A message returned by Amazon Web Services Systems Manager that explains the Status
value. For
example, a Failed
status might be explained by the StatusInformation
message,
"The specified S3 bucket doesn't exist. Verify that the URL of the S3 bucket is correct."public String getStatusInformation()
A message returned by Amazon Web Services Systems Manager that explains the Status
value. For
example, a Failed
status might be explained by the StatusInformation
message,
"The specified S3 bucket doesn't 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 doesn't exist. Verify that the URL of the S3 bucket is correct."public DocumentVersionInfo withStatusInformation(String statusInformation)
A message returned by Amazon Web Services Systems Manager that explains the Status
value. For
example, a Failed
status might be explained by the StatusInformation
message,
"The specified S3 bucket doesn't exist. Verify that the URL of the S3 bucket is correct."
statusInformation
- A message returned by Amazon Web Services Systems Manager that explains the Status
value. For
example, a Failed
status might be explained by the StatusInformation
message,
"The specified S3 bucket doesn't exist. Verify that the URL of the S3 bucket is correct."public void setReviewStatus(String reviewStatus)
The current status of the approval review for the latest version of the document.
reviewStatus
- The current status of the approval review for the latest version of the document.ReviewStatus
public String getReviewStatus()
The current status of the approval review for the latest version of the document.
ReviewStatus
public DocumentVersionInfo withReviewStatus(String reviewStatus)
The current status of the approval review for the latest version of the document.
reviewStatus
- The current status of the approval review for the latest version of the document.ReviewStatus
public DocumentVersionInfo withReviewStatus(ReviewStatus reviewStatus)
The current status of the approval review for the latest version of the document.
reviewStatus
- The current status of the approval review for the latest version of the document.ReviewStatus
public String toString()
toString
in class Object
Object.toString()
public DocumentVersionInfo clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.