Interface DocumentDescription.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<DocumentDescription.Builder,
,DocumentDescription> SdkBuilder<DocumentDescription.Builder,
,DocumentDescription> SdkPojo
- Enclosing class:
DocumentDescription
-
Method Summary
Modifier and TypeMethodDescriptionapprovedVersion
(String approvedVersion) The version of the document currently approved for use in the organization.attachmentsInformation
(Collection<AttachmentInformation> attachmentsInformation) Details about the document attachments, including names, locations, sizes, and so on.attachmentsInformation
(Consumer<AttachmentInformation.Builder>... attachmentsInformation) Details about the document attachments, including names, locations, sizes, and so on.attachmentsInformation
(AttachmentInformation... attachmentsInformation) Details about the document attachments, including names, locations, sizes, and so on.The user in your organization who created the document.The classification of a document to help you identify and categorize its use.category
(Collection<String> category) The classification of a document to help you identify and categorize its use.categoryEnum
(String... categoryEnum) The value that identifies a document's category.categoryEnum
(Collection<String> categoryEnum) The value that identifies a document's category.createdDate
(Instant createdDate) The date when the document was created.defaultVersion
(String defaultVersion) The default version.description
(String description) A description of the document.displayName
(String displayName) The friendly name of the SSM document.documentFormat
(String documentFormat) The document format, either JSON or YAML.documentFormat
(DocumentFormat documentFormat) The document format, either JSON or YAML.documentType
(String documentType) The type of document.documentType
(DocumentType documentType) The type of document.documentVersion
(String documentVersion) The document version.The Sha256 or Sha1 hash created by the system when the document was created.The hash type of the document.hashType
(DocumentHashType hashType) The hash type of the document.latestVersion
(String latestVersion) The latest version of the document.The name of the SSM document.The Amazon Web Services user that created the document.parameters
(Collection<DocumentParameter> parameters) A description of the parameters for a document.parameters
(Consumer<DocumentParameter.Builder>... parameters) A description of the parameters for a document.parameters
(DocumentParameter... parameters) A description of the parameters for a document.pendingReviewVersion
(String pendingReviewVersion) The version of the document that is currently under review.platformTypes
(Collection<PlatformType> platformTypes) The list of operating system (OS) platforms compatible with this SSM document.platformTypes
(PlatformType... platformTypes) The list of operating system (OS) platforms compatible with this SSM document.platformTypesWithStrings
(String... platformTypes) The list of operating system (OS) platforms compatible with this SSM document.platformTypesWithStrings
(Collection<String> platformTypes) The list of operating system (OS) platforms compatible with this SSM document.requires
(Collection<DocumentRequires> requires) A list of SSM documents required by a document.requires
(Consumer<DocumentRequires.Builder>... requires) A list of SSM documents required by a document.requires
(DocumentRequires... requires) A list of SSM documents required by a document.reviewInformation
(Collection<ReviewInformation> reviewInformation) Details about the review of a document.reviewInformation
(Consumer<ReviewInformation.Builder>... reviewInformation) Details about the review of a document.reviewInformation
(ReviewInformation... reviewInformation) Details about the review of a document.reviewStatus
(String reviewStatus) The current status of the review.reviewStatus
(ReviewStatus reviewStatus) The current status of the review.schemaVersion
(String schemaVersion) The schema version.The SHA1 hash of the document, which you can use for verification.The status of the SSM document.status
(DocumentStatus status) The status of the SSM document.statusInformation
(String statusInformation) A message returned by Amazon Web Services Systems Manager that explains theStatus
value.tags
(Collection<Tag> tags) The tags, or metadata, that have been applied to the document.tags
(Consumer<Tag.Builder>... tags) The tags, or metadata, that have been applied to the document.The tags, or metadata, that have been applied to the document.targetType
(String targetType) The target type which defines the kinds of resources the document can run on.versionName
(String versionName) The version of the artifact associated with the document.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
sha1
The SHA1 hash of the document, which you can use for verification.
- Parameters:
sha1
- The SHA1 hash of the document, which you can use for verification.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
hash
The Sha256 or Sha1 hash created by the system when the document was created.
Sha1 hashes have been deprecated.
- Parameters:
hash
- The Sha256 or Sha1 hash created by the system when the document was created.Sha1 hashes have been deprecated.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
hashType
The hash type of the document. Valid values include
Sha256
orSha1
.Sha1 hashes have been deprecated.
- Parameters:
hashType
- The hash type of the document. Valid values includeSha256
orSha1
.Sha1 hashes have been deprecated.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
hashType
The hash type of the document. Valid values include
Sha256
orSha1
.Sha1 hashes have been deprecated.
- Parameters:
hashType
- The hash type of the document. Valid values includeSha256
orSha1
.Sha1 hashes have been deprecated.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
name
The name of the SSM document.
- Parameters:
name
- The name of the SSM document.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
displayName
The friendly name of the SSM document. This value can differ for each version of the document. If you want to update this value, see UpdateDocument.
- Parameters:
displayName
- The friendly name of the SSM document. This value can differ for each version of the document. If you want to update this value, see UpdateDocument.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
versionName
The version of the artifact associated with the document.
- Parameters:
versionName
- The version of the artifact associated with the document.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
owner
The Amazon Web Services user that created the document.
- Parameters:
owner
- The Amazon Web Services user that created the document.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdDate
The date when the document was created.
- Parameters:
createdDate
- The date when the document was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The status of the SSM document.
- Parameters:
status
- The status of the SSM document.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The status of the SSM document.
- Parameters:
status
- The status of the SSM document.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
statusInformation
A message returned by Amazon Web Services Systems Manager that explains the
Status
value. For example, aFailed
status might be explained by theStatusInformation
message, "The specified S3 bucket doesn't exist. Verify that the URL of the S3 bucket is correct."- Parameters:
statusInformation
- A message returned by Amazon Web Services Systems Manager that explains theStatus
value. For example, aFailed
status might be explained by theStatusInformation
message, "The specified S3 bucket doesn't exist. Verify that the URL of the S3 bucket is correct."- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
documentVersion
The document version.
- Parameters:
documentVersion
- The document version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
A description of the document.
- Parameters:
description
- A description of the document.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
parameters
A description of the parameters for a document.
- Parameters:
parameters
- A description of the parameters for a document.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
parameters
A description of the parameters for a document.
- Parameters:
parameters
- A description of the parameters for a document.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
parameters
A description of the parameters for a document.
This is a convenience method that creates an instance of theDocumentParameter.Builder
avoiding the need to create one manually viaDocumentParameter.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toparameters(List<DocumentParameter>)
.- Parameters:
parameters
- a consumer that will call methods onDocumentParameter.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
platformTypesWithStrings
The list of operating system (OS) platforms compatible with this SSM document.
- Parameters:
platformTypes
- The list of operating system (OS) platforms compatible with this SSM document.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
platformTypesWithStrings
The list of operating system (OS) platforms compatible with this SSM document.
- Parameters:
platformTypes
- The list of operating system (OS) platforms compatible with this SSM document.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
platformTypes
The list of operating system (OS) platforms compatible with this SSM document.
- Parameters:
platformTypes
- The list of operating system (OS) platforms compatible with this SSM document.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
platformTypes
The list of operating system (OS) platforms compatible with this SSM document.
- Parameters:
platformTypes
- The list of operating system (OS) platforms compatible with this SSM document.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
documentType
The type of document.
- Parameters:
documentType
- The type of document.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
documentType
The type of document.
- Parameters:
documentType
- The type of document.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
schemaVersion
The schema version.
- Parameters:
schemaVersion
- The schema version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
latestVersion
The latest version of the document.
- Parameters:
latestVersion
- The latest version of the document.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
defaultVersion
The default version.
- Parameters:
defaultVersion
- The default version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
documentFormat
The document format, either JSON or YAML.
- Parameters:
documentFormat
- The document format, either JSON or YAML.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
documentFormat
The document format, either JSON or YAML.
- Parameters:
documentFormat
- The document format, either JSON or YAML.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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 Amazon Web Services resource and property types reference in the CloudFormation User Guide.- Parameters:
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 Amazon Web Services resource and property types reference in the CloudFormation User Guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tags, or metadata, that have been applied to the document.
- Parameters:
tags
- The tags, or metadata, that have been applied to the document.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tags, or metadata, that have been applied to the document.
- Parameters:
tags
- The tags, or metadata, that have been applied to the document.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tags, or metadata, that have been applied to the document.
This is a convenience method that creates an instance of theTag.Builder
avoiding the need to create one manually viaTag.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totags(List<Tag>)
.- Parameters:
tags
- a consumer that will call methods onTag.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
attachmentsInformation
DocumentDescription.Builder attachmentsInformation(Collection<AttachmentInformation> attachmentsInformation) Details about the document attachments, including names, locations, sizes, and so on.
- Parameters:
attachmentsInformation
- Details about the document attachments, including names, locations, sizes, and so on.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attachmentsInformation
Details about the document attachments, including names, locations, sizes, and so on.
- Parameters:
attachmentsInformation
- Details about the document attachments, including names, locations, sizes, and so on.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attachmentsInformation
DocumentDescription.Builder attachmentsInformation(Consumer<AttachmentInformation.Builder>... attachmentsInformation) Details about the document attachments, including names, locations, sizes, and so on.
This is a convenience method that creates an instance of theAttachmentInformation.Builder
avoiding the need to create one manually viaAttachmentInformation.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toattachmentsInformation(List<AttachmentInformation>)
.- Parameters:
attachmentsInformation
- a consumer that will call methods onAttachmentInformation.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
requires
A list of SSM documents required by a document. For example, an
ApplicationConfiguration
document requires anApplicationConfigurationSchema
document.- Parameters:
requires
- A list of SSM documents required by a document. For example, anApplicationConfiguration
document requires anApplicationConfigurationSchema
document.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
requires
A list of SSM documents required by a document. For example, an
ApplicationConfiguration
document requires anApplicationConfigurationSchema
document.- Parameters:
requires
- A list of SSM documents required by a document. For example, anApplicationConfiguration
document requires anApplicationConfigurationSchema
document.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
requires
A list of SSM documents required by a document. For example, an
This is a convenience method that creates an instance of theApplicationConfiguration
document requires anApplicationConfigurationSchema
document.DocumentRequires.Builder
avoiding the need to create one manually viaDocumentRequires.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed torequires(List<DocumentRequires>)
.- Parameters:
requires
- a consumer that will call methods onDocumentRequires.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
author
The user in your organization who created the document.
- Parameters:
author
- The user in your organization who created the document.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
reviewInformation
Details about the review of a document.
- Parameters:
reviewInformation
- Details about the review of a document.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
reviewInformation
Details about the review of a document.
- Parameters:
reviewInformation
- Details about the review of a document.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
reviewInformation
DocumentDescription.Builder reviewInformation(Consumer<ReviewInformation.Builder>... reviewInformation) Details about the review of a document.
This is a convenience method that creates an instance of theReviewInformation.Builder
avoiding the need to create one manually viaReviewInformation.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toreviewInformation(List<ReviewInformation>)
.- Parameters:
reviewInformation
- a consumer that will call methods onReviewInformation.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
approvedVersion
The version of the document currently approved for use in the organization.
- Parameters:
approvedVersion
- The version of the document currently approved for use in the organization.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
pendingReviewVersion
The version of the document that is currently under review.
- Parameters:
pendingReviewVersion
- The version of the document that is currently under review.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
reviewStatus
The current status of the review.
- Parameters:
reviewStatus
- The current status of the review.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
reviewStatus
The current status of the review.
- Parameters:
reviewStatus
- The current status of the review.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
category
The classification of a document to help you identify and categorize its use.
- Parameters:
category
- The classification of a document to help you identify and categorize its use.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
category
The classification of a document to help you identify and categorize its use.
- Parameters:
category
- The classification of a document to help you identify and categorize its use.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
categoryEnum
The value that identifies a document's category.
- Parameters:
categoryEnum
- The value that identifies a document's category.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
categoryEnum
The value that identifies a document's category.
- Parameters:
categoryEnum
- The value that identifies a document's category.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-