public static interface DocumentDescription.Builder extends CopyableBuilder<DocumentDescription.Builder,DocumentDescription>
Modifier and Type | Method and Description |
---|---|
DocumentDescription.Builder |
createdDate(Instant createdDate)
The date when the document was created.
|
DocumentDescription.Builder |
defaultVersion(String defaultVersion)
The default version.
|
DocumentDescription.Builder |
description(String description)
A description of the document.
|
DocumentDescription.Builder |
documentType(DocumentType documentType)
The type of document.
|
DocumentDescription.Builder |
documentType(String documentType)
The type of document.
|
DocumentDescription.Builder |
documentVersion(String documentVersion)
The document version.
|
DocumentDescription.Builder |
hash(String hash)
The Sha256 or Sha1 hash created by the system when the document was created.
|
DocumentDescription.Builder |
hashType(DocumentHashType hashType)
Sha256 or Sha1.
|
DocumentDescription.Builder |
hashType(String hashType)
Sha256 or Sha1.
|
DocumentDescription.Builder |
latestVersion(String latestVersion)
The latest version of the document.
|
DocumentDescription.Builder |
name(String name)
The name of the Systems Manager document.
|
DocumentDescription.Builder |
owner(String owner)
The AWS user account that created the document.
|
DocumentDescription.Builder |
parameters(Collection<DocumentParameter> parameters)
A description of the parameters for a document.
|
DocumentDescription.Builder |
parameters(DocumentParameter... parameters)
A description of the parameters for a document.
|
DocumentDescription.Builder |
platformTypes(Collection<String> platformTypes)
The list of OS platforms compatible with this Systems Manager document.
|
DocumentDescription.Builder |
platformTypes(String... platformTypes)
The list of OS platforms compatible with this Systems Manager document.
|
DocumentDescription.Builder |
schemaVersion(String schemaVersion)
The schema version.
|
DocumentDescription.Builder |
sha1(String sha1)
The SHA1 hash of the document, which you can use for verification.
|
DocumentDescription.Builder |
status(DocumentStatus status)
The status of the Systems Manager document.
|
DocumentDescription.Builder |
status(String status)
The status of the Systems Manager document.
|
DocumentDescription.Builder |
tags(Collection<Tag> tags)
The tags, or metadata, that have been applied to the document.
|
DocumentDescription.Builder |
tags(Tag... tags)
The tags, or metadata, that have been applied to the document.
|
copy
apply, build
DocumentDescription.Builder sha1(String sha1)
The SHA1 hash of the document, which you can use for verification.
sha1
- The SHA1 hash of the document, which you can use for verification.DocumentDescription.Builder hash(String hash)
The Sha256 or Sha1 hash created by the system when the document was created.
Sha1 hashes have been deprecated.
hash
- The Sha256 or Sha1 hash created by the system when the document was created. Sha1 hashes have been deprecated.
DocumentDescription.Builder hashType(String hashType)
Sha256 or Sha1.
Sha1 hashes have been deprecated.
hashType
- Sha256 or Sha1. Sha1 hashes have been deprecated.
DocumentHashType
,
DocumentHashType
DocumentDescription.Builder hashType(DocumentHashType hashType)
Sha256 or Sha1.
Sha1 hashes have been deprecated.
hashType
- Sha256 or Sha1. Sha1 hashes have been deprecated.
DocumentHashType
,
DocumentHashType
DocumentDescription.Builder name(String name)
The name of the Systems Manager document.
name
- The name of the Systems Manager document.DocumentDescription.Builder owner(String owner)
The AWS user account that created the document.
owner
- The AWS user account that created the document.DocumentDescription.Builder createdDate(Instant createdDate)
The date when the document was created.
createdDate
- The date when the document was created.DocumentDescription.Builder status(String status)
The status of the Systems Manager document.
status
- The status of the Systems Manager document.DocumentStatus
,
DocumentStatus
DocumentDescription.Builder status(DocumentStatus status)
The status of the Systems Manager document.
status
- The status of the Systems Manager document.DocumentStatus
,
DocumentStatus
DocumentDescription.Builder documentVersion(String documentVersion)
The document version.
documentVersion
- The document version.DocumentDescription.Builder description(String description)
A description of the document.
description
- A description of the document.DocumentDescription.Builder parameters(Collection<DocumentParameter> parameters)
A description of the parameters for a document.
parameters
- A description of the parameters for a document.DocumentDescription.Builder parameters(DocumentParameter... parameters)
A description of the parameters for a document.
parameters
- A description of the parameters for a document.DocumentDescription.Builder platformTypes(Collection<String> platformTypes)
The list of OS platforms compatible with this Systems Manager document.
platformTypes
- The list of OS platforms compatible with this Systems Manager document.DocumentDescription.Builder platformTypes(String... platformTypes)
The list of OS platforms compatible with this Systems Manager document.
platformTypes
- The list of OS platforms compatible with this Systems Manager document.DocumentDescription.Builder documentType(String documentType)
The type of document.
documentType
- The type of document.DocumentType
,
DocumentType
DocumentDescription.Builder documentType(DocumentType documentType)
The type of document.
documentType
- The type of document.DocumentType
,
DocumentType
DocumentDescription.Builder schemaVersion(String schemaVersion)
The schema version.
schemaVersion
- The schema version.DocumentDescription.Builder latestVersion(String latestVersion)
The latest version of the document.
latestVersion
- The latest version of the document.DocumentDescription.Builder defaultVersion(String defaultVersion)
The default version.
defaultVersion
- The default version.DocumentDescription.Builder tags(Collection<Tag> tags)
The tags, or metadata, that have been applied to the document.
tags
- The tags, or metadata, that have been applied to the document.DocumentDescription.Builder tags(Tag... tags)
The tags, or metadata, that have been applied to the document.
tags
- The tags, or metadata, that have been applied to the document.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.