@Generated(value="software.amazon.awssdk:codegen") public class DocumentDescription extends Object implements StructuredPojo, software.amazon.awssdk.utils.builder.ToCopyableBuilder<DocumentDescription.Builder,DocumentDescription>
Describes an SSM document.
| Modifier and Type | Class and Description |
|---|---|
static interface |
DocumentDescription.Builder |
| Modifier and Type | Method and Description |
|---|---|
static DocumentDescription.Builder |
builder() |
Instant |
createdDate()
The date when the document was created.
|
String |
defaultVersion()
The default version.
|
String |
description()
A description of the document.
|
DocumentType |
documentType()
The type of document.
|
String |
documentTypeString()
The type of document.
|
String |
documentVersion()
The document version.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
String |
hash()
The Sha256 or Sha1 hash created by the system when the document was created.
|
int |
hashCode() |
DocumentHashType |
hashType()
Sha256 or Sha1.
|
String |
hashTypeString()
Sha256 or Sha1.
|
String |
latestVersion()
The latest version of the document.
|
void |
marshall(ProtocolMarshaller protocolMarshaller) |
String |
name()
The name of the SSM document.
|
String |
owner()
The AWS user account of the person who created the document.
|
List<DocumentParameter> |
parameters()
A description of the parameters for a document.
|
List<PlatformType> |
platformTypes()
The list of OS platforms compatible with this SSM document.
|
List<String> |
platformTypesStrings()
The list of OS platforms compatible with this SSM document.
|
String |
schemaVersion()
The schema version.
|
static Class<? extends DocumentDescription.Builder> |
serializableBuilderClass() |
String |
sha1()
The SHA1 hash of the document, which you can use for verification purposes.
|
DocumentStatus |
status()
The status of the SSM document.
|
String |
statusString()
The status of the SSM document.
|
DocumentDescription.Builder |
toBuilder() |
String |
toString() |
public String sha1()
The SHA1 hash of the document, which you can use for verification purposes.
public String hash()
The Sha256 or Sha1 hash created by the system when the document was created.
Sha1 hashes have been deprecated.
Sha1 hashes have been deprecated.
public DocumentHashType hashType()
Sha256 or Sha1.
Sha1 hashes have been deprecated.
If the service returns an enum value that is not available in the current SDK version, hashType will
return DocumentHashType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
hashTypeString().
Sha1 hashes have been deprecated.
DocumentHashTypepublic String hashTypeString()
Sha256 or Sha1.
Sha1 hashes have been deprecated.
If the service returns an enum value that is not available in the current SDK version, hashType will
return DocumentHashType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
hashTypeString().
Sha1 hashes have been deprecated.
DocumentHashTypepublic String name()
The name of the SSM document.
public String owner()
The AWS user account of the person who created the document.
public Instant createdDate()
The date when the document was created.
public DocumentStatus status()
The status of the SSM document.
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
statusString().
DocumentStatuspublic String statusString()
The status of the SSM document.
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
statusString().
DocumentStatuspublic String documentVersion()
The document version.
public String description()
A description of the document.
public List<DocumentParameter> parameters()
A description of the parameters for a document.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public List<PlatformType> platformTypes()
The list of OS platforms compatible with this SSM document.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public List<String> platformTypesStrings()
The list of OS platforms compatible with this SSM document.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public DocumentType documentType()
The type of document.
If the service returns an enum value that is not available in the current SDK version, documentType will
return DocumentType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
documentTypeString().
DocumentTypepublic String documentTypeString()
The type of document.
If the service returns an enum value that is not available in the current SDK version, documentType will
return DocumentType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
documentTypeString().
DocumentTypepublic String schemaVersion()
The schema version.
public String latestVersion()
The latest version of the document.
public String defaultVersion()
The default version.
public DocumentDescription.Builder toBuilder()
toBuilder in interface software.amazon.awssdk.utils.builder.ToCopyableBuilder<DocumentDescription.Builder,DocumentDescription>public static DocumentDescription.Builder builder()
public static Class<? extends DocumentDescription.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2017. All rights reserved.