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.Builderbuilder()final InstantThe date the document was created.final StringThe friendly name of the SSM document.final DocumentFormatThe document format, either JSON or YAML.final StringThe document format, either JSON or YAML.final StringThe document version.final booleanfinal booleanequalsBySdkFields(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 inthashCode()final BooleanAn identifier for the default version of the document.final Stringname()The document name.final ReviewStatusThe current status of the approval review for the latest version of the document.final StringThe current status of the approval review for the latest version of the document.static Class<? extends DocumentVersionInfo.Builder> final DocumentStatusstatus()The status of the SSM document, such asCreating,Active,Failed, andDeleting.final StringThe status of the SSM document, such asCreating,Active,Failed, andDeleting.final StringA message returned by Amazon Web Services Systems Manager that explains theStatusvalue.Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.final StringThe 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,
documentFormatwill 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,
documentFormatwill 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,
statuswill 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,
statuswill 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
Statusvalue. For example, aFailedstatus might be explained by theStatusInformationmessage, "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
Statusvalue. For example, aFailedstatus might be explained by theStatusInformationmessage, "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,
reviewStatuswill 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,
reviewStatuswill 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:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<DocumentVersionInfo.Builder,DocumentVersionInfo> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin 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
-