Struct aws_sdk_qconnect::types::builders::AssistantSummaryBuilder
source · #[non_exhaustive]pub struct AssistantSummaryBuilder { /* private fields */ }Expand description
A builder for AssistantSummary.
Implementations§
source§impl AssistantSummaryBuilder
impl AssistantSummaryBuilder
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 name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The name of the assistant.
This field is required.sourcepub fn type(self, input: AssistantType) -> Self
pub fn type(self, input: AssistantType) -> Self
The type of the 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 the assistant.
sourcepub fn get_type(&self) -> &Option<AssistantType>
pub fn get_type(&self) -> &Option<AssistantType>
The type of the 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 of the assistant.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
The description of the assistant.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
The description of the assistant.
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<AssistantSummary, BuildError>
pub fn build(self) -> Result<AssistantSummary, BuildError>
Consumes the builder and constructs a AssistantSummary.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for AssistantSummaryBuilder
impl Clone for AssistantSummaryBuilder
source§fn clone(&self) -> AssistantSummaryBuilder
fn clone(&self) -> AssistantSummaryBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for AssistantSummaryBuilder
impl Debug for AssistantSummaryBuilder
source§impl Default for AssistantSummaryBuilder
impl Default for AssistantSummaryBuilder
source§fn default() -> AssistantSummaryBuilder
fn default() -> AssistantSummaryBuilder
source§impl PartialEq for AssistantSummaryBuilder
impl PartialEq for AssistantSummaryBuilder
source§fn eq(&self, other: &AssistantSummaryBuilder) -> bool
fn eq(&self, other: &AssistantSummaryBuilder) -> bool
self and other values to be equal, and is used
by ==.