@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class KnowledgeBaseData extends Object implements Serializable, Cloneable, StructuredPojo
Information about the knowledge base.
Constructor and Description |
---|
KnowledgeBaseData() |
Modifier and Type | Method and Description |
---|---|
KnowledgeBaseData |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
KnowledgeBaseData |
clearTagsEntries()
Removes all the entries added into Tags.
|
KnowledgeBaseData |
clone() |
boolean |
equals(Object obj) |
String |
getDescription()
The description.
|
String |
getKnowledgeBaseArn()
The Amazon Resource Name (ARN) of the knowledge base.
|
String |
getKnowledgeBaseId()
The identifier of the knowledge base.
|
String |
getKnowledgeBaseType()
The type of knowledge base.
|
Date |
getLastContentModificationTime()
An epoch timestamp indicating the most recent content modification inside the 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()
Source configuration information about the knowledge base.
|
String |
getStatus()
The status of the knowledge base.
|
Map<String,String> |
getTags()
The tags used to organize, track, or control access for this resource.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDescription(String description)
The description.
|
void |
setKnowledgeBaseArn(String knowledgeBaseArn)
The Amazon Resource Name (ARN) of the knowledge base.
|
void |
setKnowledgeBaseId(String knowledgeBaseId)
The identifier of the knowledge base.
|
void |
setKnowledgeBaseType(String knowledgeBaseType)
The type of knowledge base.
|
void |
setLastContentModificationTime(Date lastContentModificationTime)
An epoch timestamp indicating the most recent content modification inside the 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)
Source configuration information about the knowledge base.
|
void |
setStatus(String status)
The status of the knowledge base.
|
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.
|
KnowledgeBaseData |
withDescription(String description)
The description.
|
KnowledgeBaseData |
withKnowledgeBaseArn(String knowledgeBaseArn)
The Amazon Resource Name (ARN) of the knowledge base.
|
KnowledgeBaseData |
withKnowledgeBaseId(String knowledgeBaseId)
The identifier of the knowledge base.
|
KnowledgeBaseData |
withKnowledgeBaseType(KnowledgeBaseType knowledgeBaseType)
The type of knowledge base.
|
KnowledgeBaseData |
withKnowledgeBaseType(String knowledgeBaseType)
The type of knowledge base.
|
KnowledgeBaseData |
withLastContentModificationTime(Date lastContentModificationTime)
An epoch timestamp indicating the most recent content modification inside the knowledge base.
|
KnowledgeBaseData |
withName(String name)
The name of the knowledge base.
|
KnowledgeBaseData |
withRenderingConfiguration(RenderingConfiguration renderingConfiguration)
Information about how to render the content.
|
KnowledgeBaseData |
withServerSideEncryptionConfiguration(ServerSideEncryptionConfiguration serverSideEncryptionConfiguration)
The configuration information for the customer managed key used for encryption.
|
KnowledgeBaseData |
withSourceConfiguration(SourceConfiguration sourceConfiguration)
Source configuration information about the knowledge base.
|
KnowledgeBaseData |
withStatus(KnowledgeBaseStatus status)
The status of the knowledge base.
|
KnowledgeBaseData |
withStatus(String status)
The status of the knowledge base.
|
KnowledgeBaseData |
withTags(Map<String,String> tags)
The tags used to organize, track, or control access for this resource.
|
public void setDescription(String description)
The description.
description
- The description.public String getDescription()
The description.
public KnowledgeBaseData withDescription(String description)
The description.
description
- The description.public void setKnowledgeBaseArn(String knowledgeBaseArn)
The Amazon Resource Name (ARN) of the knowledge base.
knowledgeBaseArn
- The Amazon Resource Name (ARN) of the knowledge base.public String getKnowledgeBaseArn()
The Amazon Resource Name (ARN) of the knowledge base.
public KnowledgeBaseData withKnowledgeBaseArn(String knowledgeBaseArn)
The Amazon Resource Name (ARN) of the knowledge base.
knowledgeBaseArn
- The Amazon Resource Name (ARN) of the knowledge base.public void setKnowledgeBaseId(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.
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.public String getKnowledgeBaseId()
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.
public KnowledgeBaseData withKnowledgeBaseId(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.
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.public void setKnowledgeBaseType(String knowledgeBaseType)
The type of knowledge base.
knowledgeBaseType
- The type of knowledge base.KnowledgeBaseType
public String getKnowledgeBaseType()
The type of knowledge base.
KnowledgeBaseType
public KnowledgeBaseData withKnowledgeBaseType(String knowledgeBaseType)
The type of knowledge base.
knowledgeBaseType
- The type of knowledge base.KnowledgeBaseType
public KnowledgeBaseData withKnowledgeBaseType(KnowledgeBaseType knowledgeBaseType)
The type of knowledge base.
knowledgeBaseType
- The type of knowledge base.KnowledgeBaseType
public void setLastContentModificationTime(Date lastContentModificationTime)
An epoch timestamp indicating the most recent content modification inside the knowledge base. If no content exists in a knowledge base, this value is unset.
lastContentModificationTime
- An epoch timestamp indicating the most recent content modification inside the knowledge base. If no
content exists in a knowledge base, this value is unset.public Date getLastContentModificationTime()
An epoch timestamp indicating the most recent content modification inside the knowledge base. If no content exists in a knowledge base, this value is unset.
public KnowledgeBaseData withLastContentModificationTime(Date lastContentModificationTime)
An epoch timestamp indicating the most recent content modification inside the knowledge base. If no content exists in a knowledge base, this value is unset.
lastContentModificationTime
- An epoch timestamp indicating the most recent content modification inside the knowledge base. If no
content exists in a knowledge base, this value is unset.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 KnowledgeBaseData 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 KnowledgeBaseData 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 KnowledgeBaseData 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)
Source configuration information about the knowledge base.
sourceConfiguration
- Source configuration information about the knowledge base.public SourceConfiguration getSourceConfiguration()
Source configuration information about the knowledge base.
public KnowledgeBaseData withSourceConfiguration(SourceConfiguration sourceConfiguration)
Source configuration information about the knowledge base.
sourceConfiguration
- Source configuration information about the knowledge base.public void setStatus(String status)
The status of the knowledge base.
status
- The status of the knowledge base.KnowledgeBaseStatus
public String getStatus()
The status of the knowledge base.
KnowledgeBaseStatus
public KnowledgeBaseData withStatus(String status)
The status of the knowledge base.
status
- The status of the knowledge base.KnowledgeBaseStatus
public KnowledgeBaseData withStatus(KnowledgeBaseStatus status)
The status of the knowledge base.
status
- The status of the knowledge base.KnowledgeBaseStatus
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 KnowledgeBaseData 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 KnowledgeBaseData addTagsEntry(String key, String value)
public KnowledgeBaseData clearTagsEntries()
public String toString()
toString
in class Object
Object.toString()
public KnowledgeBaseData clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.