CopyableBuilder<DocumentDescription.Builder,DocumentDescription>
, SdkBuilder<DocumentDescription.Builder,DocumentDescription>
public static interface DocumentDescription.Builder extends CopyableBuilder<DocumentDescription.Builder,DocumentDescription>
Modifier and Type | Method | Description |
---|---|---|
DocumentDescription.Builder |
createdDate(Date 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(String documentType) |
The type of document.
|
DocumentDescription.Builder |
documentType(DocumentType 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(String hashType) |
Sha256 or Sha1.
|
DocumentDescription.Builder |
hashType(DocumentHashType hashType) |
Sha256 or Sha1.
|
DocumentDescription.Builder |
latestVersion(String latestVersion) |
The latest version of the document.
|
DocumentDescription.Builder |
name(String name) |
The name of the SSM document.
|
DocumentDescription.Builder |
owner(String owner) |
The AWS user account of the person who 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(String... platformTypes) |
The list of OS platforms compatible with this SSM document.
|
DocumentDescription.Builder |
platformTypes(Collection<String> platformTypes) |
The list of OS platforms compatible with this SSM document.
|
DocumentDescription.Builder |
platformTypes(PlatformType... platformTypes) |
The list of OS platforms compatible with this SSM 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 purposes.
|
DocumentDescription.Builder |
status(String status) |
The status of the SSM document.
|
DocumentDescription.Builder |
status(DocumentStatus status) |
The status of the SSM document.
|
copy
apply, build
DocumentDescription.Builder sha1(String sha1)
The SHA1 hash of the document, which you can use for verification purposes.
sha1
- The SHA1 hash of the document, which you can use for verification purposes.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
DocumentDescription.Builder hashType(DocumentHashType hashType)
Sha256 or Sha1.
Sha1 hashes have been deprecated.
hashType
- Sha256 or Sha1. Sha1 hashes have been deprecated.
DocumentHashType
DocumentDescription.Builder name(String name)
The name of the SSM document.
name
- The name of the SSM document.DocumentDescription.Builder owner(String owner)
The AWS user account of the person who created the document.
owner
- The AWS user account of the person who created the document.DocumentDescription.Builder createdDate(Date 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 SSM document.
status
- The status of the SSM document.DocumentStatus
DocumentDescription.Builder status(DocumentStatus status)
The status of the SSM document.
status
- The status of the SSM document.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.
NOTE: This method appends the values to the existing list (if any). Use
#setParameters(java.util.Collection)
or #withParameters(java.util.Collection)
if you want to
override the existing values.
parameters
- A description of the parameters for a document.DocumentDescription.Builder platformTypes(Collection<String> platformTypes)
The list of OS platforms compatible with this SSM document.
platformTypes
- The list of OS platforms compatible with this SSM document.PlatformType
DocumentDescription.Builder platformTypes(String... platformTypes)
The list of OS platforms compatible with this SSM document.
NOTE: This method appends the values to the existing list (if any). Use
#setPlatformTypes(java.util.Collection)
or #withPlatformTypes(java.util.Collection)
if you
want to override the existing values.
platformTypes
- The list of OS platforms compatible with this SSM document.PlatformType
DocumentDescription.Builder platformTypes(PlatformType... platformTypes)
The list of OS platforms compatible with this SSM document.
NOTE: This method appends the values to the existing list (if any). Use
#setPlatformTypes(java.util.Collection)
or #withPlatformTypes(java.util.Collection)
if you
want to override the existing values.
platformTypes
- The list of OS platforms compatible with this SSM document.PlatformType
DocumentDescription.Builder documentType(String documentType)
The type of document.
documentType
- The type of document.DocumentType
DocumentDescription.Builder documentType(DocumentType documentType)
The type of document.
documentType
- The type of document.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.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.