Class DocumentVersionInfo
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<DocumentVersionInfo.Builder,
DocumentVersionInfo>
Version information about the document.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic DocumentVersionInfo.Builder
builder()
final Instant
The date the document was created.final String
The friendly name of the SSM document.final DocumentFormat
The document format, either JSON or YAML.final String
The document format, either JSON or YAML.final String
The document version.final boolean
final boolean
equalsBySdkFields
(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final <T> Optional
<T> getValueForField
(String fieldName, Class<T> clazz) final int
hashCode()
final Boolean
An identifier for the default version of the document.final String
name()
The document name.final ReviewStatus
The current status of the approval review for the latest version of the document.final String
The current status of the approval review for the latest version of the document.static Class
<? extends DocumentVersionInfo.Builder> final DocumentStatus
status()
The status of the SSM document, such asCreating
,Active
,Failed
, andDeleting
.final String
The status of the SSM document, such asCreating
,Active
,Failed
, andDeleting
.final String
A message returned by Amazon Web Services Systems Manager that explains theStatus
value.Take this object and create a builder that contains all of the current property values of this object.final String
toString()
Returns a string representation of this object.final String
The version of the artifact associated with the document.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
name
-
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.
- Returns:
- 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.
-
documentVersion
-
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.
- Returns:
- 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.
-
createdDate
The date the document was created.
- Returns:
- The date the document was created.
-
isDefaultVersion
An identifier for the default version of the document.
- Returns:
- An identifier for the default version of the document.
-
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 returnDocumentFormat.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromdocumentFormatAsString()
.- Returns:
- The document format, either JSON or YAML.
- See Also:
-
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 returnDocumentFormat.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromdocumentFormatAsString()
.- Returns:
- The document format, either JSON or YAML.
- See Also:
-
status
The status of the SSM document, such as
Creating
,Active
,Failed
, andDeleting
.If the service returns an enum value that is not available in the current SDK version,
status
will returnDocumentStatus.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromstatusAsString()
.- Returns:
- The status of the SSM document, such as
Creating
,Active
,Failed
, andDeleting
. - See Also:
-
statusAsString
The status of the SSM document, such as
Creating
,Active
,Failed
, andDeleting
.If the service returns an enum value that is not available in the current SDK version,
status
will returnDocumentStatus.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromstatusAsString()
.- Returns:
- The status of the SSM document, such as
Creating
,Active
,Failed
, andDeleting
. - See Also:
-
statusInformation
A message returned by Amazon Web Services Systems Manager that explains the
Status
value. For example, aFailed
status might be explained by theStatusInformation
message, "The specified S3 bucket doesn't exist. Verify that the URL of the S3 bucket is correct."- Returns:
- A message returned by Amazon Web Services Systems Manager that explains the
Status
value. For example, aFailed
status might be explained by theStatusInformation
message, "The specified S3 bucket doesn't exist. Verify that the URL of the S3 bucket is correct."
-
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 returnReviewStatus.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromreviewStatusAsString()
.- Returns:
- The current status of the approval review for the latest version of the document.
- See Also:
-
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 returnReviewStatus.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromreviewStatusAsString()
.- Returns:
- The current status of the approval review for the latest version of the document.
- See Also:
-
toBuilder
Description copied from interface:ToCopyableBuilder
Take this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilder
in interfaceToCopyableBuilder<DocumentVersionInfo.Builder,
DocumentVersionInfo> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojo
Indicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojo
class, and is generated based on a service model.If an
SdkPojo
class does not have any inherited fields,equalsBySdkFields
andequals
are essentially the same.- Specified by:
equalsBySdkFields
in interfaceSdkPojo
- Parameters:
obj
- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToField
in interfaceSdkPojo
- Returns:
- The mapping between the field name and its corresponding field.
-