@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AssistantData extends Object implements Serializable, Cloneable, StructuredPojo
The assistant data.
Constructor and Description |
---|
AssistantData() |
Modifier and Type | Method and Description |
---|---|
AssistantData |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
AssistantData |
clearTagsEntries()
Removes all the entries added into Tags.
|
AssistantData |
clone() |
boolean |
equals(Object obj) |
String |
getAssistantArn()
The Amazon Resource Name (ARN) of the Wisdom assistant.
|
String |
getAssistantId()
The identifier of the Wisdom assistant.
|
String |
getDescription()
The description.
|
AssistantIntegrationConfiguration |
getIntegrationConfiguration()
The configuration information for the Wisdom assistant integration.
|
String |
getName()
The name.
|
ServerSideEncryptionConfiguration |
getServerSideEncryptionConfiguration()
The configuration information for the customer managed key used for encryption.
|
String |
getStatus()
The status of the assistant.
|
Map<String,String> |
getTags()
The tags used to organize, track, or control access for this resource.
|
String |
getType()
The type of assistant.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAssistantArn(String assistantArn)
The Amazon Resource Name (ARN) of the Wisdom assistant.
|
void |
setAssistantId(String assistantId)
The identifier of the Wisdom assistant.
|
void |
setDescription(String description)
The description.
|
void |
setIntegrationConfiguration(AssistantIntegrationConfiguration integrationConfiguration)
The configuration information for the Wisdom assistant integration.
|
void |
setName(String name)
The name.
|
void |
setServerSideEncryptionConfiguration(ServerSideEncryptionConfiguration serverSideEncryptionConfiguration)
The configuration information for the customer managed key used for encryption.
|
void |
setStatus(String status)
The status of the assistant.
|
void |
setTags(Map<String,String> tags)
The tags used to organize, track, or control access for this resource.
|
void |
setType(String type)
The type of assistant.
|
String |
toString()
Returns a string representation of this object.
|
AssistantData |
withAssistantArn(String assistantArn)
The Amazon Resource Name (ARN) of the Wisdom assistant.
|
AssistantData |
withAssistantId(String assistantId)
The identifier of the Wisdom assistant.
|
AssistantData |
withDescription(String description)
The description.
|
AssistantData |
withIntegrationConfiguration(AssistantIntegrationConfiguration integrationConfiguration)
The configuration information for the Wisdom assistant integration.
|
AssistantData |
withName(String name)
The name.
|
AssistantData |
withServerSideEncryptionConfiguration(ServerSideEncryptionConfiguration serverSideEncryptionConfiguration)
The configuration information for the customer managed key used for encryption.
|
AssistantData |
withStatus(AssistantStatus status)
The status of the assistant.
|
AssistantData |
withStatus(String status)
The status of the assistant.
|
AssistantData |
withTags(Map<String,String> tags)
The tags used to organize, track, or control access for this resource.
|
AssistantData |
withType(AssistantType type)
The type of assistant.
|
AssistantData |
withType(String type)
The type of assistant.
|
public void setAssistantArn(String assistantArn)
The Amazon Resource Name (ARN) of the Wisdom assistant.
assistantArn
- The Amazon Resource Name (ARN) of the Wisdom assistant.public String getAssistantArn()
The Amazon Resource Name (ARN) of the Wisdom assistant.
public AssistantData withAssistantArn(String assistantArn)
The Amazon Resource Name (ARN) of the Wisdom assistant.
assistantArn
- The Amazon Resource Name (ARN) of the Wisdom assistant.public void setAssistantId(String assistantId)
The identifier of the Wisdom assistant.
assistantId
- The identifier of the Wisdom assistant.public String getAssistantId()
The identifier of the Wisdom assistant.
public AssistantData withAssistantId(String assistantId)
The identifier of the Wisdom assistant.
assistantId
- The identifier of the Wisdom assistant.public void setDescription(String description)
The description.
description
- The description.public String getDescription()
The description.
public AssistantData withDescription(String description)
The description.
description
- The description.public void setIntegrationConfiguration(AssistantIntegrationConfiguration integrationConfiguration)
The configuration information for the Wisdom assistant integration.
integrationConfiguration
- The configuration information for the Wisdom assistant integration.public AssistantIntegrationConfiguration getIntegrationConfiguration()
The configuration information for the Wisdom assistant integration.
public AssistantData withIntegrationConfiguration(AssistantIntegrationConfiguration integrationConfiguration)
The configuration information for the Wisdom assistant integration.
integrationConfiguration
- The configuration information for the Wisdom assistant integration.public void setName(String name)
The name.
name
- The name.public String getName()
The name.
public AssistantData withName(String name)
The name.
name
- The name.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. To
use Wisdom with chat, the key policy must also allow kms:Decrypt
, kms:GenerateDataKey*
,
and kms:DescribeKey
permissions to the connect.amazonaws.com
service principal.
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. To use Wisdom with chat, the key policy must also allow kms:Decrypt
,
kms:GenerateDataKey*
, and kms:DescribeKey
permissions to the
connect.amazonaws.com
service principal.
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. To
use Wisdom with chat, the key policy must also allow kms:Decrypt
, kms:GenerateDataKey*
,
and kms:DescribeKey
permissions to the connect.amazonaws.com
service principal.
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. To use Wisdom with chat, the key policy must also allow kms:Decrypt
,
kms:GenerateDataKey*
, and kms:DescribeKey
permissions to the
connect.amazonaws.com
service principal.
For more information about setting up a customer managed key for Wisdom, see Enable Amazon Connect Wisdom for your instance.
public AssistantData 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. To
use Wisdom with chat, the key policy must also allow kms:Decrypt
, kms:GenerateDataKey*
,
and kms:DescribeKey
permissions to the connect.amazonaws.com
service principal.
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. To use Wisdom with chat, the key policy must also allow kms:Decrypt
,
kms:GenerateDataKey*
, and kms:DescribeKey
permissions to the
connect.amazonaws.com
service principal.
For more information about setting up a customer managed key for Wisdom, see Enable Amazon Connect Wisdom for your instance.
public void setStatus(String status)
The status of the assistant.
status
- The status of the assistant.AssistantStatus
public String getStatus()
The status of the assistant.
AssistantStatus
public AssistantData withStatus(String status)
The status of the assistant.
status
- The status of the assistant.AssistantStatus
public AssistantData withStatus(AssistantStatus status)
The status of the assistant.
status
- The status of the assistant.AssistantStatus
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 AssistantData 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 AssistantData addTagsEntry(String key, String value)
public AssistantData clearTagsEntries()
public void setType(String type)
The type of assistant.
type
- The type of assistant.AssistantType
public String getType()
The type of assistant.
AssistantType
public AssistantData withType(String type)
The type of assistant.
type
- The type of assistant.AssistantType
public AssistantData withType(AssistantType type)
The type of assistant.
type
- The type of assistant.AssistantType
public String toString()
toString
in class Object
Object.toString()
public AssistantData clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.