Interface DocumentDescription.Builder
- All Superinterfaces:
- Buildable,- CopyableBuilder<DocumentDescription.Builder,,- DocumentDescription> - SdkBuilder<DocumentDescription.Builder,,- DocumentDescription> - SdkPojo
- Enclosing class:
- DocumentDescription
- 
Method SummaryModifier 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 theStatusvalue.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.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
sha1The 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.
 
- 
hashThe 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.
 
- 
hashTypeThe hash type of the document. Valid values include Sha256orSha1.Sha1 hashes have been deprecated. - Parameters:
- hashType- The hash type of the document. Valid values include- Sha256or- Sha1.- Sha1 hashes have been deprecated. 
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
hashTypeThe hash type of the document. Valid values include Sha256orSha1.Sha1 hashes have been deprecated. - Parameters:
- hashType- The hash type of the document. Valid values include- Sha256or- Sha1.- Sha1 hashes have been deprecated. 
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
nameThe 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.
 
- 
displayNameThe 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.
 
- 
versionNameThe 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.
 
- 
ownerThe 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.
 
- 
createdDateThe 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.
 
- 
statusThe 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:
 
- 
statusThe 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:
 
- 
statusInformationA message returned by Amazon Web Services Systems Manager that explains the Statusvalue. For example, aFailedstatus might be explained by theStatusInformationmessage, "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 the- Statusvalue. For example, a- Failedstatus might be explained by the- StatusInformationmessage, "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.
 
- 
documentVersionThe document version. - Parameters:
- documentVersion- The document version.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
descriptionA 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.
 
- 
parametersA 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.
 
- 
parametersA 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.
 
- 
parametersA description of the parameters for a document. This is a convenience method that creates an instance of theDocumentParameter.Builderavoiding the need to create one manually viaDocumentParameter.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toparameters(List<DocumentParameter>).- Parameters:
- parameters- a consumer that will call methods on- DocumentParameter.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
platformTypesWithStringsThe 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.
 
- 
platformTypesWithStringsThe 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.
 
- 
platformTypesThe 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.
 
- 
platformTypesThe 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.
 
- 
documentTypeThe 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:
 
- 
documentTypeThe 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:
 
- 
schemaVersionThe schema version. - Parameters:
- schemaVersion- The schema version.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
latestVersionThe 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.
 
- 
defaultVersionThe default version. - Parameters:
- defaultVersion- The default version.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
documentFormatThe 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:
 
- 
documentFormatThe 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:
 
- 
targetTypeThe 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.
 
- 
tagsThe 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.
 
- 
tagsThe 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.
 
- 
tagsThe tags, or metadata, that have been applied to the document. This is a convenience method that creates an instance of theTag.Builderavoiding the need to create one manually viaTag.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totags(List<Tag>).- Parameters:
- tags- a consumer that will call methods on- Tag.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
attachmentsInformationDocumentDescription.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.
 
- 
attachmentsInformationDetails 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.
 
- 
attachmentsInformationDocumentDescription.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.Builderavoiding the need to create one manually viaAttachmentInformation.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toattachmentsInformation(List<AttachmentInformation>).- Parameters:
- attachmentsInformation- a consumer that will call methods on- AttachmentInformation.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
requiresA list of SSM documents required by a document. For example, an ApplicationConfigurationdocument requires anApplicationConfigurationSchemadocument.- Parameters:
- requires- A list of SSM documents required by a document. For example, an- ApplicationConfigurationdocument requires an- ApplicationConfigurationSchemadocument.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
requiresA list of SSM documents required by a document. For example, an ApplicationConfigurationdocument requires anApplicationConfigurationSchemadocument.- Parameters:
- requires- A list of SSM documents required by a document. For example, an- ApplicationConfigurationdocument requires an- ApplicationConfigurationSchemadocument.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
requiresA list of SSM documents required by a document. For example, an This is a convenience method that creates an instance of theApplicationConfigurationdocument requires anApplicationConfigurationSchemadocument.DocumentRequires.Builderavoiding the need to create one manually viaDocumentRequires.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed torequires(List<DocumentRequires>).- Parameters:
- requires- a consumer that will call methods on- DocumentRequires.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
authorThe 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.
 
- 
reviewInformationDetails 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.
 
- 
reviewInformationDetails 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.
 
- 
reviewInformationDocumentDescription.Builder reviewInformation(Consumer<ReviewInformation.Builder>... reviewInformation) Details about the review of a document. This is a convenience method that creates an instance of theReviewInformation.Builderavoiding the need to create one manually viaReviewInformation.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toreviewInformation(List<ReviewInformation>).- Parameters:
- reviewInformation- a consumer that will call methods on- ReviewInformation.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
approvedVersionThe 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.
 
- 
pendingReviewVersionThe 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.
 
- 
reviewStatusThe 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:
 
- 
reviewStatusThe 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:
 
- 
categoryThe 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.
 
- 
categoryThe 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.
 
- 
categoryEnumThe 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.
 
- 
categoryEnumThe 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.
 
 
-