Class DocumentVersionInfo
- java.lang.Object
-
- software.amazon.awssdk.services.ssm.model.DocumentVersionInfo
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<DocumentVersionInfo.Builder,DocumentVersionInfo>
@Generated("software.amazon.awssdk:codegen") public final class DocumentVersionInfo extends Object implements SdkPojo, Serializable, ToCopyableBuilder<DocumentVersionInfo.Builder,DocumentVersionInfo>
Version information about the document.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceDocumentVersionInfo.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DocumentVersionInfo.Builderbuilder()InstantcreatedDate()The date the document was created.StringdisplayName()The friendly name of the SSM document.DocumentFormatdocumentFormat()The document format, either JSON or YAML.StringdocumentFormatAsString()The document format, either JSON or YAML.StringdocumentVersion()The document version.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()BooleanisDefaultVersion()An identifier for the default version of the document.Stringname()The document name.ReviewStatusreviewStatus()The current status of the approval review for the latest version of the document.StringreviewStatusAsString()The current status of the approval review for the latest version of the document.List<SdkField<?>>sdkFields()static Class<? extends DocumentVersionInfo.Builder>serializableBuilderClass()DocumentStatusstatus()The status of the SSM document, such asCreating,Active,Failed, andDeleting.StringstatusAsString()The status of the SSM document, such asCreating,Active,Failed, andDeleting.StringstatusInformation()A message returned by Amazon Web Services Systems Manager that explains theStatusvalue.DocumentVersionInfo.BuildertoBuilder()StringtoString()Returns a string representation of this object.StringversionName()The version of the artifact associated with the document.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
name
public final String name()
The document name.
- Returns:
- The document name.
-
displayName
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.
- 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
public final String documentVersion()
The document version.
- Returns:
- The document version.
-
versionName
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.
- Returns:
- 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.
-
createdDate
public final Instant createdDate()
The date the document was created.
- Returns:
- The date the document was created.
-
isDefaultVersion
public final Boolean isDefaultVersion()
An identifier for the default version of the document.
- Returns:
- An identifier for the default version of the document.
-
documentFormat
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,
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:
DocumentFormat
-
documentFormatAsString
public 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,
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:
DocumentFormat
-
status
public final DocumentStatus 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:
DocumentStatus
-
statusAsString
public final String 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:
DocumentStatus
-
statusInformation
public final String 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
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,
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:
ReviewStatus
-
reviewStatusAsString
public 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,
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:
ReviewStatus
-
toBuilder
public DocumentVersionInfo.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<DocumentVersionInfo.Builder,DocumentVersionInfo>
-
builder
public static DocumentVersionInfo.Builder builder()
-
serializableBuilderClass
public static Class<? extends DocumentVersionInfo.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-