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 CreateKnowledgeBaseRequest

    • Constructor Detail

      • CreateKnowledgeBaseRequest

        public CreateKnowledgeBaseRequest()
    • Method Detail

      • 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 CreateKnowledgeBaseRequest 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.
      • setDescription

        public void setDescription(String description)

        The description.

        Parameters:
        description - The description.
      • getDescription

        public String getDescription()

        The description.

        Returns:
        The description.
      • withDescription

        public CreateKnowledgeBaseRequest withDescription(String description)

        The description.

        Parameters:
        description - The description.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setKnowledgeBaseType

        public void setKnowledgeBaseType(String knowledgeBaseType)

        The type of knowledge base. Only CUSTOM knowledge bases allow you to upload your own content. EXTERNAL knowledge bases support integrations with third-party systems whose content is synchronized automatically.

        Parameters:
        knowledgeBaseType - The type of knowledge base. Only CUSTOM knowledge bases allow you to upload your own content. EXTERNAL knowledge bases support integrations with third-party systems whose content is synchronized automatically.
        See Also:
        KnowledgeBaseType
      • getKnowledgeBaseType

        public String getKnowledgeBaseType()

        The type of knowledge base. Only CUSTOM knowledge bases allow you to upload your own content. EXTERNAL knowledge bases support integrations with third-party systems whose content is synchronized automatically.

        Returns:
        The type of knowledge base. Only CUSTOM knowledge bases allow you to upload your own content. EXTERNAL knowledge bases support integrations with third-party systems whose content is synchronized automatically.
        See Also:
        KnowledgeBaseType
      • withKnowledgeBaseType

        public CreateKnowledgeBaseRequest withKnowledgeBaseType(String knowledgeBaseType)

        The type of knowledge base. Only CUSTOM knowledge bases allow you to upload your own content. EXTERNAL knowledge bases support integrations with third-party systems whose content is synchronized automatically.

        Parameters:
        knowledgeBaseType - The type of knowledge base. Only CUSTOM knowledge bases allow you to upload your own content. EXTERNAL knowledge bases support integrations with third-party systems whose content is synchronized automatically.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        KnowledgeBaseType
      • withKnowledgeBaseType

        public CreateKnowledgeBaseRequest withKnowledgeBaseType(KnowledgeBaseType knowledgeBaseType)

        The type of knowledge base. Only CUSTOM knowledge bases allow you to upload your own content. EXTERNAL knowledge bases support integrations with third-party systems whose content is synchronized automatically.

        Parameters:
        knowledgeBaseType - The type of knowledge base. Only CUSTOM knowledge bases allow you to upload your own content. EXTERNAL knowledge bases support integrations with third-party systems whose content is synchronized automatically.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        KnowledgeBaseType
      • setName

        public void setName(String name)

        The name of the knowledge base.

        Parameters:
        name - The name of the knowledge base.
      • getName

        public String getName()

        The name of the knowledge base.

        Returns:
        The name of the knowledge base.
      • withName

        public CreateKnowledgeBaseRequest withName(String name)

        The name of the knowledge base.

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

        public void setRenderingConfiguration(RenderingConfiguration renderingConfiguration)

        Information about how to render the content.

        Parameters:
        renderingConfiguration - Information about how to render the content.
      • getRenderingConfiguration

        public RenderingConfiguration getRenderingConfiguration()

        Information about how to render the content.

        Returns:
        Information about how to render the content.
      • withRenderingConfiguration

        public CreateKnowledgeBaseRequest withRenderingConfiguration(RenderingConfiguration renderingConfiguration)

        Information about how to render the content.

        Parameters:
        renderingConfiguration - Information about how to render the content.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setServerSideEncryptionConfiguration

        public void setServerSideEncryptionConfiguration(ServerSideEncryptionConfiguration serverSideEncryptionConfiguration)

        The configuration information for the customer managed key used for encryption.

        This KMS key must have a policy that allows kms:CreateGrant, kms:DescribeKey, kms:Decrypt, and kms:GenerateDataKey* permissions to the IAM identity using the key to invoke Amazon Q in Connect.

        For more information about setting up a customer managed key for Amazon Q in Connect, see Enable Amazon Q in Connect for your instance.

        Parameters:
        serverSideEncryptionConfiguration - The configuration information for the customer managed key used for encryption.

        This KMS key must have a policy that allows kms:CreateGrant, kms:DescribeKey, kms:Decrypt, and kms:GenerateDataKey* permissions to the IAM identity using the key to invoke Amazon Q in Connect.

        For more information about setting up a customer managed key for Amazon Q in Connect, see Enable Amazon Q in Connect for your instance.

      • getServerSideEncryptionConfiguration

        public ServerSideEncryptionConfiguration getServerSideEncryptionConfiguration()

        The configuration information for the customer managed key used for encryption.

        This KMS key must have a policy that allows kms:CreateGrant, kms:DescribeKey, kms:Decrypt, and kms:GenerateDataKey* permissions to the IAM identity using the key to invoke Amazon Q in Connect.

        For more information about setting up a customer managed key for Amazon Q in Connect, see Enable Amazon Q in Connect for your instance.

        Returns:
        The configuration information for the customer managed key used for encryption.

        This KMS key must have a policy that allows kms:CreateGrant, kms:DescribeKey, kms:Decrypt, and kms:GenerateDataKey* permissions to the IAM identity using the key to invoke Amazon Q in Connect.

        For more information about setting up a customer managed key for Amazon Q in Connect, see Enable Amazon Q in Connect for your instance.

      • withServerSideEncryptionConfiguration

        public CreateKnowledgeBaseRequest withServerSideEncryptionConfiguration(ServerSideEncryptionConfiguration serverSideEncryptionConfiguration)

        The configuration information for the customer managed key used for encryption.

        This KMS key must have a policy that allows kms:CreateGrant, kms:DescribeKey, kms:Decrypt, and kms:GenerateDataKey* permissions to the IAM identity using the key to invoke Amazon Q in Connect.

        For more information about setting up a customer managed key for Amazon Q in Connect, see Enable Amazon Q in Connect for your instance.

        Parameters:
        serverSideEncryptionConfiguration - The configuration information for the customer managed key used for encryption.

        This KMS key must have a policy that allows kms:CreateGrant, kms:DescribeKey, kms:Decrypt, and kms:GenerateDataKey* permissions to the IAM identity using the key to invoke Amazon Q in Connect.

        For more information about setting up a customer managed key for Amazon Q in Connect, see Enable Amazon Q in Connect for your instance.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setSourceConfiguration

        public void setSourceConfiguration(SourceConfiguration sourceConfiguration)

        The source of the knowledge base content. Only set this argument for EXTERNAL knowledge bases.

        Parameters:
        sourceConfiguration - The source of the knowledge base content. Only set this argument for EXTERNAL knowledge bases.
      • getSourceConfiguration

        public SourceConfiguration getSourceConfiguration()

        The source of the knowledge base content. Only set this argument for EXTERNAL knowledge bases.

        Returns:
        The source of the knowledge base content. Only set this argument for EXTERNAL knowledge bases.
      • withSourceConfiguration

        public CreateKnowledgeBaseRequest withSourceConfiguration(SourceConfiguration sourceConfiguration)

        The source of the knowledge base content. Only set this argument for EXTERNAL knowledge bases.

        Parameters:
        sourceConfiguration - The source of the knowledge base content. Only set this argument for EXTERNAL knowledge bases.
        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 CreateKnowledgeBaseRequest 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 CreateKnowledgeBaseRequest 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 によって変換されたページ (->オリジナル) /