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 in Connect 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 in Connect assistant.
sourcepub fn get_assistant_id(&self) -> &Option<String>
pub fn get_assistant_id(&self) -> &Option<String>
The identifier of the Amazon Q in Connect 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 in Connect 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 in Connect 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 in Connect 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 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.
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 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.
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 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.
sourcepub fn integration_configuration(
self,
input: AssistantIntegrationConfiguration,
) -> Self
pub fn integration_configuration( self, input: AssistantIntegrationConfiguration, ) -> Self
The configuration information for the Amazon Q in Connect 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 in Connect 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 in Connect 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 in Connect 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 in Connect 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 in Connect 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 ==.impl StructuralPartialEq for AssistantDataBuilder
Auto Trait Implementations§
impl Freeze for AssistantDataBuilder
impl RefUnwindSafe for AssistantDataBuilder
impl Send for AssistantDataBuilder
impl Sync for AssistantDataBuilder
impl Unpin for AssistantDataBuilder
impl UnwindSafe for AssistantDataBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more