Interface DeleteDocumentRequest.Builder

    • Method Detail

      • name

        DeleteDocumentRequest.Builder name​(String name)

        The name of the document.

        Parameters:
        name - The name of the document.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • documentVersion

        DeleteDocumentRequest.Builder documentVersion​(String documentVersion)

        The version of the document that you want to delete. If not provided, all versions of the document are deleted.

        Parameters:
        documentVersion - The version of the document that you want to delete. If not provided, all versions of the document are deleted.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • versionName

        DeleteDocumentRequest.Builder versionName​(String versionName)

        The version name of the document that you want to delete. If not provided, all versions of the document are deleted.

        Parameters:
        versionName - The version name of the document that you want to delete. If not provided, all versions of the document are deleted.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • force

        DeleteDocumentRequest.Builder force​(Boolean force)

        Some SSM document types require that you specify a Force flag before you can delete the document. For example, you must specify a Force flag to delete a document of type ApplicationConfigurationSchema. You can restrict access to the Force flag in an Identity and Access Management (IAM) policy.

        Parameters:
        force - Some SSM document types require that you specify a Force flag before you can delete the document. For example, you must specify a Force flag to delete a document of type ApplicationConfigurationSchema. You can restrict access to the Force flag in an Identity and Access Management (IAM) policy.
        Returns:
        Returns a reference to this object so that method calls can be chained together.