@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateKnowledgeBaseRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateKnowledgeBaseRequest() |
Modifier and Type | Method and Description |
---|---|
CreateKnowledgeBaseRequest |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
CreateKnowledgeBaseRequest |
clearTagsEntries()
Removes all the entries added into Tags.
|
CreateKnowledgeBaseRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getClientToken()
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
|
String |
getDescription()
The description.
|
String |
getKnowledgeBaseType()
The type of knowledge base.
|
String |
getName()
The name of the knowledge base.
|
RenderingConfiguration |
getRenderingConfiguration()
Information about how to render the content.
|
ServerSideEncryptionConfiguration |
getServerSideEncryptionConfiguration()
The configuration information for the customer managed key used for encryption.
|
SourceConfiguration |
getSourceConfiguration()
The source of the knowledge base content.
|
Map<String,String> |
getTags()
The tags used to organize, track, or control access for this resource.
|
int |
hashCode() |
void |
setClientToken(String clientToken)
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
|
void |
setDescription(String description)
The description.
|
void |
setKnowledgeBaseType(String knowledgeBaseType)
The type of knowledge base.
|
void |
setName(String name)
The name of the knowledge base.
|
void |
setRenderingConfiguration(RenderingConfiguration renderingConfiguration)
Information about how to render the content.
|
void |
setServerSideEncryptionConfiguration(ServerSideEncryptionConfiguration serverSideEncryptionConfiguration)
The configuration information for the customer managed key used for encryption.
|
void |
setSourceConfiguration(SourceConfiguration sourceConfiguration)
The source of the knowledge base content.
|
void |
setTags(Map<String,String> tags)
The tags used to organize, track, or control access for this resource.
|
String |
toString()
Returns a string representation of this object.
|
CreateKnowledgeBaseRequest |
withClientToken(String clientToken)
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
|
CreateKnowledgeBaseRequest |
withDescription(String description)
The description.
|
CreateKnowledgeBaseRequest |
withKnowledgeBaseType(KnowledgeBaseType knowledgeBaseType)
The type of knowledge base.
|
CreateKnowledgeBaseRequest |
withKnowledgeBaseType(String knowledgeBaseType)
The type of knowledge base.
|
CreateKnowledgeBaseRequest |
withName(String name)
The name of the knowledge base.
|
CreateKnowledgeBaseRequest |
withRenderingConfiguration(RenderingConfiguration renderingConfiguration)
Information about how to render the content.
|
CreateKnowledgeBaseRequest |
withServerSideEncryptionConfiguration(ServerSideEncryptionConfiguration serverSideEncryptionConfiguration)
The configuration information for the customer managed key used for encryption.
|
CreateKnowledgeBaseRequest |
withSourceConfiguration(SourceConfiguration sourceConfiguration)
The source of the knowledge base content.
|
CreateKnowledgeBaseRequest |
withTags(Map<String,String> tags)
The tags used to organize, track, or control access for this resource.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
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.
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.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.
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.
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.public void setDescription(String description)
The description.
description
- The description.public String getDescription()
The description.
public CreateKnowledgeBaseRequest withDescription(String description)
The description.
description
- The description.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.
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.KnowledgeBaseType
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.
KnowledgeBaseType
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.
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.KnowledgeBaseType
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.
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.KnowledgeBaseType
public void setName(String name)
The name of the knowledge base.
name
- The name of the knowledge base.public String getName()
The name of the knowledge base.
public CreateKnowledgeBaseRequest withName(String name)
The name of the knowledge base.
name
- The name of the knowledge base.public void setRenderingConfiguration(RenderingConfiguration renderingConfiguration)
Information about how to render the content.
renderingConfiguration
- Information about how to render the content.public RenderingConfiguration getRenderingConfiguration()
Information about how to render the content.
public CreateKnowledgeBaseRequest withRenderingConfiguration(RenderingConfiguration renderingConfiguration)
Information about how to render the content.
renderingConfiguration
- Information about how to render the content.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
, and
kms:Decrypt/kms:GenerateDataKey
permissions to the IAM identity using the key to invoke Wisdom.
For more information about setting up a customer managed key for Wisdom, see Enable Amazon Connect Wisdom for your instance.
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
,
and kms:Decrypt/kms:GenerateDataKey
permissions to the IAM identity using the key to invoke
Wisdom.
For more information about setting up a customer managed key for Wisdom, see Enable Amazon Connect Wisdom for your instance.
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
, and
kms:Decrypt/kms:GenerateDataKey
permissions to the IAM identity using the key to invoke Wisdom.
For more information about setting up a customer managed key for Wisdom, see Enable Amazon Connect Wisdom for your instance.
This KMS key must have a policy that allows kms:CreateGrant
, kms:DescribeKey
,
and kms:Decrypt/kms:GenerateDataKey
permissions to the IAM identity using the key to invoke
Wisdom.
For more information about setting up a customer managed key for Wisdom, see Enable Amazon Connect Wisdom for your instance.
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
, and
kms:Decrypt/kms:GenerateDataKey
permissions to the IAM identity using the key to invoke Wisdom.
For more information about setting up a customer managed key for Wisdom, see Enable Amazon Connect Wisdom for your instance.
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
,
and kms:Decrypt/kms:GenerateDataKey
permissions to the IAM identity using the key to invoke
Wisdom.
For more information about setting up a customer managed key for Wisdom, see Enable Amazon Connect Wisdom for your instance.
public void setSourceConfiguration(SourceConfiguration sourceConfiguration)
The source of the knowledge base content. Only set this argument for EXTERNAL knowledge bases.
sourceConfiguration
- The source of the knowledge base content. Only set this argument for EXTERNAL knowledge bases.public SourceConfiguration getSourceConfiguration()
The source of the knowledge base content. Only set this argument for EXTERNAL knowledge bases.
public CreateKnowledgeBaseRequest withSourceConfiguration(SourceConfiguration sourceConfiguration)
The source of the knowledge base content. Only set this argument for EXTERNAL knowledge bases.
sourceConfiguration
- The source of the knowledge base content. Only set this argument for EXTERNAL knowledge bases.public Map<String,String> getTags()
The tags used to organize, track, or control access for this resource.
public void setTags(Map<String,String> tags)
The tags used to organize, track, or control access for this resource.
tags
- The tags used to organize, track, or control access for this resource.public CreateKnowledgeBaseRequest withTags(Map<String,String> tags)
The tags used to organize, track, or control access for this resource.
tags
- The tags used to organize, track, or control access for this resource.public CreateKnowledgeBaseRequest addTagsEntry(String key, String value)
public CreateKnowledgeBaseRequest clearTagsEntries()
public String toString()
toString
in class Object
Object.toString()
public CreateKnowledgeBaseRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()