Struct aws_sdk_qconnect::types::builders::AssistantDataBuilder
source · #[non_exhaustive]pub struct AssistantDataBuilder { /* private fields */ }Expand description
A builder for AssistantData.
Implementations§
source§impl AssistantDataBuilder
impl AssistantDataBuilder
sourcepub fn assistant_id(self, input: impl Into<String>) -> Self
pub fn assistant_id(self, input: impl Into<String>) -> Self
The identifier of the Amazon Q assistant.
This field is required.sourcepub fn set_assistant_id(self, input: Option<String>) -> Self
pub fn set_assistant_id(self, input: Option<String>) -> Self
The identifier of the Amazon Q assistant.
sourcepub fn get_assistant_id(&self) -> &Option<String>
pub fn get_assistant_id(&self) -> &Option<String>
The identifier of the Amazon Q assistant.
sourcepub fn assistant_arn(self, input: impl Into<String>) -> Self
pub fn assistant_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the Amazon Q assistant.
This field is required.sourcepub fn set_assistant_arn(self, input: Option<String>) -> Self
pub fn set_assistant_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the Amazon Q assistant.
sourcepub fn get_assistant_arn(&self) -> &Option<String>
pub fn get_assistant_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the Amazon Q assistant.
sourcepub fn type(self, input: AssistantType) -> Self
pub fn type(self, input: AssistantType) -> Self
The type of assistant.
This field is required.sourcepub fn set_type(self, input: Option<AssistantType>) -> Self
pub fn set_type(self, input: Option<AssistantType>) -> Self
The type of assistant.
sourcepub fn get_type(&self) -> &Option<AssistantType>
pub fn get_type(&self) -> &Option<AssistantType>
The type of assistant.
sourcepub fn status(self, input: AssistantStatus) -> Self
pub fn status(self, input: AssistantStatus) -> Self
The status of the assistant.
This field is required.sourcepub fn set_status(self, input: Option<AssistantStatus>) -> Self
pub fn set_status(self, input: Option<AssistantStatus>) -> Self
The status of the assistant.
sourcepub fn get_status(&self) -> &Option<AssistantStatus>
pub fn get_status(&self) -> &Option<AssistantStatus>
The status of the assistant.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
The description.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
The description.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
The description.
Adds a key-value pair to tags.
To override the contents of this collection use set_tags.
The tags used to organize, track, or control access for this resource.
The tags used to organize, track, or control access for this resource.
The tags used to organize, track, or control access for this resource.
sourcepub fn server_side_encryption_configuration(
self,
input: ServerSideEncryptionConfiguration
) -> Self
pub fn server_side_encryption_configuration( self, input: ServerSideEncryptionConfiguration ) -> Self
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. To use Amazon Q 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, see Enable Amazon Q in Connect for your instance.
sourcepub fn set_server_side_encryption_configuration(
self,
input: Option<ServerSideEncryptionConfiguration>
) -> Self
pub fn set_server_side_encryption_configuration( self, input: Option<ServerSideEncryptionConfiguration> ) -> Self
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. To use Amazon Q 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, see Enable Amazon Q in Connect for your instance.
sourcepub fn get_server_side_encryption_configuration(
&self
) -> &Option<ServerSideEncryptionConfiguration>
pub fn get_server_side_encryption_configuration( &self ) -> &Option<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. To use Amazon Q 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, see Enable Amazon Q in Connect for your instance.
sourcepub fn integration_configuration(
self,
input: AssistantIntegrationConfiguration
) -> Self
pub fn integration_configuration( self, input: AssistantIntegrationConfiguration ) -> Self
The configuration information for the Amazon Q assistant integration.
sourcepub fn set_integration_configuration(
self,
input: Option<AssistantIntegrationConfiguration>
) -> Self
pub fn set_integration_configuration( self, input: Option<AssistantIntegrationConfiguration> ) -> Self
The configuration information for the Amazon Q assistant integration.
sourcepub fn get_integration_configuration(
&self
) -> &Option<AssistantIntegrationConfiguration>
pub fn get_integration_configuration( &self ) -> &Option<AssistantIntegrationConfiguration>
The configuration information for the Amazon Q assistant integration.
sourcepub fn capability_configuration(
self,
input: AssistantCapabilityConfiguration
) -> Self
pub fn capability_configuration( self, input: AssistantCapabilityConfiguration ) -> Self
The configuration information for the Amazon Q assistant capability.
sourcepub fn set_capability_configuration(
self,
input: Option<AssistantCapabilityConfiguration>
) -> Self
pub fn set_capability_configuration( self, input: Option<AssistantCapabilityConfiguration> ) -> Self
The configuration information for the Amazon Q assistant capability.
sourcepub fn get_capability_configuration(
&self
) -> &Option<AssistantCapabilityConfiguration>
pub fn get_capability_configuration( &self ) -> &Option<AssistantCapabilityConfiguration>
The configuration information for the Amazon Q assistant capability.
sourcepub fn build(self) -> Result<AssistantData, BuildError>
pub fn build(self) -> Result<AssistantData, BuildError>
Consumes the builder and constructs a AssistantData.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for AssistantDataBuilder
impl Clone for AssistantDataBuilder
source§fn clone(&self) -> AssistantDataBuilder
fn clone(&self) -> AssistantDataBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for AssistantDataBuilder
impl Debug for AssistantDataBuilder
source§impl Default for AssistantDataBuilder
impl Default for AssistantDataBuilder
source§fn default() -> AssistantDataBuilder
fn default() -> AssistantDataBuilder
source§impl PartialEq for AssistantDataBuilder
impl PartialEq for AssistantDataBuilder
source§fn eq(&self, other: &AssistantDataBuilder) -> bool
fn eq(&self, other: &AssistantDataBuilder) -> bool
self and other values to be equal, and is used
by ==.