@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) |
boolean |
equalsBySdkFields(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() |
String |
toString()
Returns a string representation of this object.
|
String |
versionName()
The version of the artifact associated with the document.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
public 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()
.
DocumentFormat
public 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()
.
DocumentFormat
public 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
.DocumentStatus
public 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
.DocumentStatus
public 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()
toBuilder
in interface ToCopyableBuilder<DocumentVersionInfo.Builder,DocumentVersionInfo>
public static DocumentVersionInfo.Builder builder()
public static Class<? extends DocumentVersionInfo.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields
in interface SdkPojo
public String toString()
Copyright © 2020. All rights reserved.