@Generated(value="software.amazon.awssdk:codegen") public class DocumentDescription extends Object implements StructuredPojo, ToCopyableBuilder<DocumentDescription.Builder,DocumentDescription>
Describes a Systems Manager 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)
Marshalls this structured data using the given
ProtocolMarshaller . |
String |
name()
The name of the Systems Manager document.
|
String |
owner()
The AWS user account that 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 Systems Manager document.
|
List<String> |
platformTypesStrings()
The list of OS platforms compatible with this Systems Manager 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.
|
DocumentStatus |
status()
The status of the Systems Manager document.
|
String |
statusString()
The status of the Systems Manager document.
|
List<Tag> |
tags()
The tags, or metadata, that have been applied to the document.
|
DocumentDescription.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public String sha1()
The SHA1 hash of the document, which you can use for verification.
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.
DocumentHashType
public 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.
DocumentHashType
public String name()
The name of the Systems Manager document.
public String owner()
The AWS user account that created the document.
public Instant createdDate()
The date when the document was created.
public DocumentStatus status()
The status of the Systems Manager 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()
.
DocumentStatus
public String statusString()
The status of the Systems Manager 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()
.
DocumentStatus
public 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 Systems Manager 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 Systems Manager 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()
.
DocumentType
public 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()
.
DocumentType
public String schemaVersion()
The schema version.
public String latestVersion()
The latest version of the document.
public String defaultVersion()
The default version.
public List<Tag> tags()
The tags, or metadata, that have been applied to the document.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public DocumentDescription.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<DocumentDescription.Builder,DocumentDescription>
public static DocumentDescription.Builder builder()
public static Class<? extends DocumentDescription.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.