public static interface DocumentDescription.Builder extends SdkPojo, CopyableBuilder<DocumentDescription.Builder,DocumentDescription>
Modifier and Type | Method and Description |
---|---|
DocumentDescription.Builder |
attachmentsInformation(AttachmentInformation... attachmentsInformation)
Details about the document attachments, including names, locations, sizes, etc.
|
DocumentDescription.Builder |
attachmentsInformation(Collection<AttachmentInformation> attachmentsInformation)
Details about the document attachments, including names, locations, sizes, etc.
|
DocumentDescription.Builder |
attachmentsInformation(Consumer<AttachmentInformation.Builder>... attachmentsInformation)
Details about the document attachments, including names, locations, sizes, etc.
|
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 |
documentFormat(DocumentFormat documentFormat)
The document format, either JSON or YAML.
|
DocumentDescription.Builder |
documentFormat(String documentFormat)
The document format, either JSON or YAML.
|
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)
The hash type of the document.
|
DocumentDescription.Builder |
hashType(String hashType)
The hash type of the document.
|
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(Consumer<DocumentParameter.Builder>... 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<PlatformType> platformTypes)
The list of OS platforms compatible with this Systems Manager document.
|
DocumentDescription.Builder |
platformTypes(PlatformType... platformTypes)
The list of OS platforms compatible with this Systems Manager document.
|
DocumentDescription.Builder |
platformTypesWithStrings(Collection<String> platformTypes)
The list of OS platforms compatible with this Systems Manager document.
|
DocumentDescription.Builder |
platformTypesWithStrings(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 |
statusInformation(String statusInformation)
A message returned by AWS Systems Manager that explains the
Status value. |
DocumentDescription.Builder |
tags(Collection<Tag> tags)
The tags, or metadata, that have been applied to the document.
|
DocumentDescription.Builder |
tags(Consumer<Tag.Builder>... 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.
|
DocumentDescription.Builder |
targetType(String targetType)
The target type which defines the kinds of resources the document can run on.
|
DocumentDescription.Builder |
versionName(String versionName)
The version of the artifact associated with the document.
|
copy
applyMutation, 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)
The hash type of the document. Valid values include Sha256
or Sha1
.
Sha1 hashes have been deprecated.
hashType
- The hash type of the document. Valid values include Sha256
or Sha1
.
Sha1 hashes have been deprecated.
DocumentHashType
,
DocumentHashType
DocumentDescription.Builder hashType(DocumentHashType hashType)
The hash type of the document. Valid values include Sha256
or Sha1
.
Sha1 hashes have been deprecated.
hashType
- The hash type of the document. Valid values include 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 versionName(String versionName)
The version of the artifact associated with the document.
versionName
- The version of the artifact associated with the 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 statusInformation(String statusInformation)
A message returned by AWS Systems Manager that explains the Status
value. For example, a
Failed
status might be explained by the StatusInformation
message,
"The specified S3 bucket does not exist. Verify that the URL of the S3 bucket is correct."
statusInformation
- A message returned by AWS Systems Manager that explains the Status
value. For example, a
Failed
status might be explained by the StatusInformation
message,
"The specified S3 bucket does not exist. Verify that the URL of the S3 bucket is correct."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 parameters(Consumer<DocumentParameter.Builder>... parameters)
A description of the parameters for a document.
This is a convenience that creates an instance of theList.Builder
avoiding the
need to create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately
and its result is passed to #parameters(List)
.parameters
- a consumer that will call methods on List.Builder
#parameters(List)
DocumentDescription.Builder platformTypesWithStrings(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 platformTypesWithStrings(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(Collection<PlatformType> 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(PlatformType... 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 documentFormat(String documentFormat)
The document format, either JSON or YAML.
documentFormat
- The document format, either JSON or YAML.DocumentFormat
,
DocumentFormat
DocumentDescription.Builder documentFormat(DocumentFormat documentFormat)
The document format, either JSON or YAML.
documentFormat
- The document format, either JSON or YAML.DocumentFormat
,
DocumentFormat
DocumentDescription.Builder targetType(String targetType)
The target type which defines the kinds of resources the document can run on. For example, /AWS::EC2::Instance. For a list of valid resource types, see AWS Resource Types Reference in the AWS CloudFormation User Guide.
targetType
- The target type which defines the kinds of resources the document can run on. For example,
/AWS::EC2::Instance. For a list of valid resource types, see AWS Resource Types Reference in the AWS CloudFormation User Guide.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.DocumentDescription.Builder tags(Consumer<Tag.Builder>... tags)
The tags, or metadata, that have been applied to the document.
This is a convenience that creates an instance of theList.Builder
avoiding the need to create
one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and its result
is passed to #tags(List)
.tags
- a consumer that will call methods on List.Builder
#tags(List)
DocumentDescription.Builder attachmentsInformation(Collection<AttachmentInformation> attachmentsInformation)
Details about the document attachments, including names, locations, sizes, etc.
attachmentsInformation
- Details about the document attachments, including names, locations, sizes, etc.DocumentDescription.Builder attachmentsInformation(AttachmentInformation... attachmentsInformation)
Details about the document attachments, including names, locations, sizes, etc.
attachmentsInformation
- Details about the document attachments, including names, locations, sizes, etc.DocumentDescription.Builder attachmentsInformation(Consumer<AttachmentInformation.Builder>... attachmentsInformation)
Details about the document attachments, including names, locations, sizes, etc.
This is a convenience that creates an instance of theList.Builder
avoiding
the need to create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called
immediately and its result is passed to #attachmentsInformation(List)
.attachmentsInformation
- a consumer that will call methods on List.Builder
#attachmentsInformation(List)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.