@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.
|
String |
displayName()
The friendly name of the SSM document.
|
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.
|
ReviewStatus |
reviewStatus()
The current status of the approval review for the latest version of the document.
|
String |
reviewStatusAsString()
The current status of the approval review for the latest version of the document.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends DocumentVersionInfo.Builder> |
serializableBuilderClass() |
DocumentStatus |
status()
The status of the SSM document, such as
Creating, Active, Failed, and
Deleting. |
String |
statusAsString()
The status of the SSM document, such as
Creating, Active, Failed, and
Deleting. |
String |
statusInformation()
A message returned by Amazon Web Services 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, waitcopypublic final String name()
The document name.
public final 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.
public final String documentVersion()
The document version.
public final 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 can't be changed.
public final Instant createdDate()
The date the document was created.
public final Boolean isDefaultVersion()
An identifier for the default version of the document.
public final 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 final 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 final DocumentStatus status()
The status of the SSM 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 final String statusAsString()
The status of the SSM 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 final 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."
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 final ReviewStatus reviewStatus()
The current status of the approval review for the latest version of the document.
If the service returns an enum value that is not available in the current SDK version, reviewStatus will
return ReviewStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
reviewStatusAsString().
ReviewStatuspublic final String reviewStatusAsString()
The current status of the approval review for the latest version of the document.
If the service returns an enum value that is not available in the current SDK version, reviewStatus will
return ReviewStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
reviewStatusAsString().
ReviewStatuspublic DocumentVersionInfo.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<DocumentVersionInfo.Builder,DocumentVersionInfo>public static DocumentVersionInfo.Builder builder()
public static Class<? extends DocumentVersionInfo.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2022. All rights reserved.