Interface ContentData.Builder

    • Method Detail

      • contentArn

        ContentData.Builder contentArn​(String contentArn)

        The Amazon Resource Name (ARN) of the content.

        Parameters:
        contentArn - The Amazon Resource Name (ARN) of the content.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • contentId

        ContentData.Builder contentId​(String contentId)

        The identifier of the content.

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

        ContentData.Builder contentType​(String contentType)

        The media type of the content.

        Parameters:
        contentType - The media type of the content.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • knowledgeBaseArn

        ContentData.Builder knowledgeBaseArn​(String knowledgeBaseArn)

        The Amazon Resource Name (ARN) of the knowledge base.

        Parameters:
        knowledgeBaseArn - The Amazon Resource Name (ARN) of the knowledge base.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • knowledgeBaseId

        ContentData.Builder knowledgeBaseId​(String knowledgeBaseId)

        The identifier of the knowledge base. This should not be a QUICK_RESPONSES type knowledge base if you're storing Wisdom Content resource to it.

        Parameters:
        knowledgeBaseId - The identifier of the knowledge base. This should not be a QUICK_RESPONSES type knowledge base if you're storing Wisdom Content resource to it.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • linkOutUri

        ContentData.Builder linkOutUri​(String linkOutUri)

        The URI of the content.

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

        ContentData.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 Wisdom, 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 Wisdom, 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.
      • name

        ContentData.Builder name​(String name)

        The name of the content.

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

        ContentData.Builder revisionId​(String revisionId)

        The identifier of the content revision.

        Parameters:
        revisionId - The identifier of the content revision.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • status

        ContentData.Builder status​(String status)

        The status of the content.

        Parameters:
        status - The status of the content.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ContentStatus, ContentStatus
      • tags

        ContentData.Builder tags​(Map<String,​String> tags)

        The tags used to organize, track, or control access for this resource.

        Parameters:
        tags - The tags used to organize, track, or control access for this resource.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • title

        ContentData.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.
      • url

        ContentData.Builder url​(String url)

        The URL of the content.

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

        ContentData.Builder urlExpiry​(Instant urlExpiry)

        The expiration time of the URL as an epoch timestamp.

        Parameters:
        urlExpiry - The expiration time of the URL as an epoch timestamp.
        Returns:
        Returns a reference to this object so that method calls can be chained together.