JavaScript is disabled on your browser.
Skip navigation links

AWS SDK for Java 1.x API Reference - 1.12.793

We announced the upcoming end-of-support for AWS SDK for Java (v1). We recommend that you migrate to AWS SDK for Java v2. For dates, additional details, and information on how to migrate, please refer to the linked announcement.
com.amazonaws.services.qconnect.model

Class CreateContentAssociationRequest

    • Constructor Detail

      • CreateContentAssociationRequest

        public CreateContentAssociationRequest()
    • Method Detail

      • setAssociation

        public void setAssociation(ContentAssociationContents association)

        The identifier of the associated resource.

        Parameters:
        association - The identifier of the associated resource.
      • getAssociation

        public ContentAssociationContents getAssociation()

        The identifier of the associated resource.

        Returns:
        The identifier of the associated resource.
      • withAssociation

        public CreateContentAssociationRequest withAssociation(ContentAssociationContents association)

        The identifier of the associated resource.

        Parameters:
        association - The identifier of the associated resource.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setAssociationType

        public void setAssociationType(String associationType)

        The type of association.

        Parameters:
        associationType - The type of association.
        See Also:
        ContentAssociationType
      • getAssociationType

        public String getAssociationType()

        The type of association.

        Returns:
        The type of association.
        See Also:
        ContentAssociationType
      • withAssociationType

        public CreateContentAssociationRequest withAssociationType(String associationType)

        The type of association.

        Parameters:
        associationType - The type of association.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ContentAssociationType
      • setClientToken

        public void setClientToken(String clientToken)

        A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.

        Parameters:
        clientToken - A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.
      • getClientToken

        public String getClientToken()

        A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.

        Returns:
        A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.
      • withClientToken

        public CreateContentAssociationRequest withClientToken(String clientToken)

        A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.

        Parameters:
        clientToken - A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setContentId

        public void setContentId(String contentId)

        The identifier of the content.

        Parameters:
        contentId - The identifier of the content.
      • getContentId

        public String getContentId()

        The identifier of the content.

        Returns:
        The identifier of the content.
      • withContentId

        public CreateContentAssociationRequest withContentId(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.
      • setKnowledgeBaseId

        public void setKnowledgeBaseId(String knowledgeBaseId)

        The identifier of the knowledge base.

        Parameters:
        knowledgeBaseId - The identifier of the knowledge base.
      • getKnowledgeBaseId

        public String getKnowledgeBaseId()

        The identifier of the knowledge base.

        Returns:
        The identifier of the knowledge base.
      • withKnowledgeBaseId

        public CreateContentAssociationRequest withKnowledgeBaseId(String knowledgeBaseId)

        The identifier of the knowledge base.

        Parameters:
        knowledgeBaseId - The identifier of the knowledge base.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • getTags

        public Map<String,String> getTags()

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

        Returns:
        The tags used to organize, track, or control access for this resource.
      • setTags

        public void setTags(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.
      • withTags

        public CreateContentAssociationRequest withTags(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.
      • clearTagsEntries

        public CreateContentAssociationRequest clearTagsEntries()
        Removes all the entries added into Tags.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • toString

        public String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
Skip navigation links

AltStyle によって変換されたページ (->オリジナル) /