Interface DocumentDescription.Builder

    • Method Detail

      • sha1

        DocumentDescription.Builder sha1​(String 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

        DocumentDescription.Builder hash​(String 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

        DocumentDescription.Builder hashType​(String hashType)

        The hash type of the document. Valid values include Sha256 or Sha1.

        Sha1 hashes have been deprecated.

        Parameters:
        hashType - The hash type of the document. Valid values include Sha256 or Sha1.

        Sha1 hashes have been deprecated.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        DocumentHashType, DocumentHashType
      • hashType

        DocumentDescription.Builder hashType​(DocumentHashType hashType)

        The hash type of the document. Valid values include Sha256 or Sha1.

        Sha1 hashes have been deprecated.

        Parameters:
        hashType - The hash type of the document. Valid values include Sha256 or Sha1.

        Sha1 hashes have been deprecated.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        DocumentHashType, DocumentHashType
      • name

        DocumentDescription.Builder name​(String 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

        DocumentDescription.Builder displayName​(String 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

        DocumentDescription.Builder versionName​(String 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

        DocumentDescription.Builder owner​(String 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

        DocumentDescription.Builder createdDate​(Instant 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.
      • statusInformation

        DocumentDescription.Builder statusInformation​(String statusInformation)

        A message returned by Amazon Web Services Systems Manager that explains the Status value. For example, a Failed status might be explained by the StatusInformation 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 the Status value. For example, a Failed status might be explained by the StatusInformation 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

        DocumentDescription.Builder documentVersion​(String 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

        DocumentDescription.Builder description​(String 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

        DocumentDescription.Builder parameters​(Collection<DocumentParameter> 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

        DocumentDescription.Builder parameters​(DocumentParameter... 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.
      • platformTypesWithStrings

        DocumentDescription.Builder platformTypesWithStrings​(Collection<String> 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.
      • platformTypesWithStrings

        DocumentDescription.Builder platformTypesWithStrings​(String... 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

        DocumentDescription.Builder platformTypes​(Collection<PlatformType> 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

        DocumentDescription.Builder platformTypes​(PlatformType... 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.
      • schemaVersion

        DocumentDescription.Builder schemaVersion​(String 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

        DocumentDescription.Builder latestVersion​(String 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

        DocumentDescription.Builder defaultVersion​(String 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

        DocumentDescription.Builder documentFormat​(String 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, DocumentFormat
      • tags

        DocumentDescription.Builder tags​(Collection<Tag> 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

        DocumentDescription.Builder tags​(Tag... 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

        DocumentDescription.Builder tags​(Consumer<Tag.Builder>... tags)

        The tags, or metadata, that have been applied to the document.

        This is a convenience method that creates an instance of the Tag.Builder avoiding the need to create one manually via Tag.builder().

        When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to #tags(List).

        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:
        #tags(java.util.Collection)
      • 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

        DocumentDescription.Builder attachmentsInformation​(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.
      • requires

        DocumentDescription.Builder requires​(Collection<DocumentRequires> requires)

        A list of SSM documents required by a document. For example, an ApplicationConfiguration document requires an ApplicationConfigurationSchema document.

        Parameters:
        requires - A list of SSM documents required by a document. For example, an ApplicationConfiguration document requires an ApplicationConfigurationSchema document.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • requires

        DocumentDescription.Builder requires​(DocumentRequires... requires)

        A list of SSM documents required by a document. For example, an ApplicationConfiguration document requires an ApplicationConfigurationSchema document.

        Parameters:
        requires - A list of SSM documents required by a document. For example, an ApplicationConfiguration document requires an ApplicationConfigurationSchema document.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • author

        DocumentDescription.Builder author​(String 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

        DocumentDescription.Builder reviewInformation​(Collection<ReviewInformation> 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​(ReviewInformation... 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.
      • approvedVersion

        DocumentDescription.Builder approvedVersion​(String 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

        DocumentDescription.Builder pendingReviewVersion​(String 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

        DocumentDescription.Builder reviewStatus​(String 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, ReviewStatus
      • category

        DocumentDescription.Builder category​(Collection<String> 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

        DocumentDescription.Builder category​(String... 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

        DocumentDescription.Builder categoryEnum​(Collection<String> 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

        DocumentDescription.Builder categoryEnum​(String... 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.