@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateAssistantRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateAssistantRequest() |
Modifier and Type | Method and Description |
---|---|
CreateAssistantRequest |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
CreateAssistantRequest |
clearTagsEntries()
Removes all the entries added into Tags.
|
CreateAssistantRequest |
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 of the assistant.
|
String |
getName()
The name of the assistant.
|
ServerSideEncryptionConfiguration |
getServerSideEncryptionConfiguration()
The configuration information for the customer managed key used for encryption.
|
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 |
setClientToken(String clientToken)
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
|
void |
setDescription(String description)
The description of the assistant.
|
void |
setName(String name)
The name of the assistant.
|
void |
setServerSideEncryptionConfiguration(ServerSideEncryptionConfiguration serverSideEncryptionConfiguration)
The configuration information for the customer managed key used for encryption.
|
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.
|
CreateAssistantRequest |
withClientToken(String clientToken)
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
|
CreateAssistantRequest |
withDescription(String description)
The description of the assistant.
|
CreateAssistantRequest |
withName(String name)
The name of the assistant.
|
CreateAssistantRequest |
withServerSideEncryptionConfiguration(ServerSideEncryptionConfiguration serverSideEncryptionConfiguration)
The configuration information for the customer managed key used for encryption.
|
CreateAssistantRequest |
withTags(Map<String,String> tags)
The tags used to organize, track, or control access for this resource.
|
CreateAssistantRequest |
withType(AssistantType type)
The type of assistant.
|
CreateAssistantRequest |
withType(String type)
The type of assistant.
|
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 CreateAssistantRequest 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 of the assistant.
description
- The description of the assistant.public String getDescription()
The description of the assistant.
public CreateAssistantRequest withDescription(String description)
The description of the assistant.
description
- The description of the assistant.public void setName(String name)
The name of the assistant.
name
- The name of the assistant.public String getName()
The name of the assistant.
public CreateAssistantRequest withName(String name)
The name of the assistant.
name
- The name of the assistant.public void setServerSideEncryptionConfiguration(ServerSideEncryptionConfiguration serverSideEncryptionConfiguration)
The configuration information for the customer managed key used for encryption.
The customer managed 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. To use Amazon Q in Connect 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 Amazon Q in Connect, see Enable Amazon Q in Connect for your instance.
serverSideEncryptionConfiguration
- The configuration information for the customer managed key used for encryption.
The customer managed 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. To use Amazon Q in Connect 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 Amazon Q in Connect, see Enable Amazon Q in Connect for your instance.
public ServerSideEncryptionConfiguration getServerSideEncryptionConfiguration()
The configuration information for the customer managed key used for encryption.
The customer managed 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. To use Amazon Q in Connect 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 Amazon Q in Connect, see Enable Amazon Q in Connect for your instance.
The customer managed 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. To use Amazon Q in Connect
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 Amazon Q in Connect, see Enable Amazon Q in Connect for your instance.
public CreateAssistantRequest withServerSideEncryptionConfiguration(ServerSideEncryptionConfiguration serverSideEncryptionConfiguration)
The configuration information for the customer managed key used for encryption.
The customer managed 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. To use Amazon Q in Connect 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 Amazon Q in Connect, see Enable Amazon Q in Connect for your instance.
serverSideEncryptionConfiguration
- The configuration information for the customer managed key used for encryption.
The customer managed 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. To use Amazon Q in Connect 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 Amazon Q in Connect, see Enable Amazon Q in Connect for your instance.
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 CreateAssistantRequest 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 CreateAssistantRequest addTagsEntry(String key, String value)
public CreateAssistantRequest 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 CreateAssistantRequest withType(String type)
The type of assistant.
type
- The type of assistant.AssistantType
public CreateAssistantRequest withType(AssistantType type)
The type of assistant.
type
- The type of assistant.AssistantType
public String toString()
toString
in class Object
Object.toString()
public CreateAssistantRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()