Interface UpdateContentRequest.Builder

    • Method Detail

      • contentId

        UpdateContentRequest.Builder contentId​(String contentId)

        The identifier of the content. Can be either the ID or the ARN. URLs cannot contain the ARN.

        Parameters:
        contentId - The identifier of the content. Can be either the ID or the ARN. URLs cannot contain the ARN.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • knowledgeBaseId

        UpdateContentRequest.Builder knowledgeBaseId​(String knowledgeBaseId)

        The identifier of the knowledge base. This should not be a QUICK_RESPONSES type knowledge base if you're storing Amazon Q Content resource to it. Can be either the ID or the ARN

        Parameters:
        knowledgeBaseId - The identifier of the knowledge base. This should not be a QUICK_RESPONSES type knowledge base if you're storing Amazon Q Content resource to it. Can be either the ID or the ARN
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • metadata

        UpdateContentRequest.Builder metadata​(Map<String,​String> metadata)

        A key/value map to store attributes without affecting tagging or recommendations. For example, when synchronizing data between an external system and Amazon Q, you can store an external version identifier as metadata to utilize for determining drift.

        Parameters:
        metadata - A key/value map to store attributes without affecting tagging or recommendations. For example, when synchronizing data between an external system and Amazon Q, you can store an external version identifier as metadata to utilize for determining drift.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • overrideLinkOutUri

        UpdateContentRequest.Builder overrideLinkOutUri​(String overrideLinkOutUri)

        The URI for the article. If the knowledge base has a templateUri, setting this argument overrides it for this piece of content. To remove an existing overrideLinkOurUri, exclude this argument and set removeOverrideLinkOutUri to true.

        Parameters:
        overrideLinkOutUri - The URI for the article. If the knowledge base has a templateUri, setting this argument overrides it for this piece of content. To remove an existing overrideLinkOurUri, exclude this argument and set removeOverrideLinkOutUri to true.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • removeOverrideLinkOutUri

        UpdateContentRequest.Builder removeOverrideLinkOutUri​(Boolean removeOverrideLinkOutUri)

        Unset the existing overrideLinkOutUri if it exists.

        Parameters:
        removeOverrideLinkOutUri - Unset the existing overrideLinkOutUri if it exists.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • revisionId

        UpdateContentRequest.Builder revisionId​(String revisionId)

        The revisionId of the content resource to update, taken from an earlier call to GetContent, GetContentSummary, SearchContent, or ListContents. If included, this argument acts as an optimistic lock to ensure content was not modified since it was last read. If it has been modified, this API throws a PreconditionFailedException.

        Parameters:
        revisionId - The revisionId of the content resource to update, taken from an earlier call to GetContent, GetContentSummary, SearchContent, or ListContents. If included, this argument acts as an optimistic lock to ensure content was not modified since it was last read. If it has been modified, this API throws a PreconditionFailedException.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • title

        UpdateContentRequest.Builder title​(String title)

        The title of the content.

        Parameters:
        title - The title of the content.
        Returns:
        Returns a reference to this object so that method calls can be chained together.