@Generated(value="software.amazon.awssdk:codegen") public final class DocumentVersionInfo extends Object implements SdkPojo, Serializable, ToCopyableBuilder<DocumentVersionInfo.Builder,DocumentVersionInfo>
Version information about the document.
| Modifier and Type | Class and Description |
|---|---|
static interface |
DocumentVersionInfo.Builder |
| Modifier and Type | Method and Description |
|---|---|
static DocumentVersionInfo.Builder |
builder() |
Instant |
createdDate()
The date the document was created.
|
DocumentFormat |
documentFormat()
The document format, either JSON or YAML.
|
String |
documentFormatAsString()
The document format, either JSON or YAML.
|
String |
documentVersion()
The document version.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Boolean |
isDefaultVersion()
An identifier for the default version of the document.
|
String |
name()
The document name.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends DocumentVersionInfo.Builder> |
serializableBuilderClass() |
DocumentStatus |
status()
The status of the Systems Manager document, such as
Creating, Active,
Failed, and Deleting. |
String |
statusAsString()
The status of the Systems Manager document, such as
Creating, Active,
Failed, and Deleting. |
String |
statusInformation()
A message returned by AWS Systems Manager that explains the
Status value. |
DocumentVersionInfo.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
String |
versionName()
The version of the artifact associated with the document.
|
copypublic String name()
The document name.
public String documentVersion()
The document version.
public String versionName()
The version of the artifact associated with the document. For example, "Release 12, Update 6". This value is unique across all versions of a document, and cannot be changed.
public Instant createdDate()
The date the document was created.
public Boolean isDefaultVersion()
An identifier for the default version of the document.
public DocumentFormat documentFormat()
The document format, either JSON or YAML.
If the service returns an enum value that is not available in the current SDK version, documentFormat
will return DocumentFormat.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from documentFormatAsString().
DocumentFormatpublic String documentFormatAsString()
The document format, either JSON or YAML.
If the service returns an enum value that is not available in the current SDK version, documentFormat
will return DocumentFormat.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from documentFormatAsString().
DocumentFormatpublic DocumentStatus status()
The status of the Systems Manager document, such as Creating, Active,
Failed, and Deleting.
If the service returns an enum value that is not available in the current SDK version, status will
return DocumentStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
statusAsString().
Creating, Active,
Failed, and Deleting.DocumentStatuspublic String statusAsString()
The status of the Systems Manager document, such as Creating, Active,
Failed, and Deleting.
If the service returns an enum value that is not available in the current SDK version, status will
return DocumentStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
statusAsString().
Creating, Active,
Failed, and Deleting.DocumentStatuspublic 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."
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 DocumentVersionInfo.Builder toBuilder()
ToCopyableBuildertoBuilder in interface ToCopyableBuilder<DocumentVersionInfo.Builder,DocumentVersionInfo>public static DocumentVersionInfo.Builder builder()
public static Class<? extends DocumentVersionInfo.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.