Struct aws_sdk_connectcampaigns::types::InstanceConfig
source · #[non_exhaustive]pub struct InstanceConfig {
pub connect_instance_id: String,
pub service_linked_role_arn: String,
pub encryption_config: Option<EncryptionConfig>,
}
Expand description
Instance config object
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.connect_instance_id: String
Amazon Connect Instance Id
service_linked_role_arn: String
Service linked role arn
encryption_config: Option<EncryptionConfig>
Encryption config for Connect Instance. Note that sensitive data will always be encrypted. If disabled, service will perform encryption with its own key. If enabled, a KMS key id needs to be provided and KMS charges will apply. KMS is only type supported
Implementations§
source§impl InstanceConfig
impl InstanceConfig
sourcepub fn connect_instance_id(&self) -> &str
pub fn connect_instance_id(&self) -> &str
Amazon Connect Instance Id
sourcepub fn service_linked_role_arn(&self) -> &str
pub fn service_linked_role_arn(&self) -> &str
Service linked role arn
sourcepub fn encryption_config(&self) -> Option<&EncryptionConfig>
pub fn encryption_config(&self) -> Option<&EncryptionConfig>
Encryption config for Connect Instance. Note that sensitive data will always be encrypted. If disabled, service will perform encryption with its own key. If enabled, a KMS key id needs to be provided and KMS charges will apply. KMS is only type supported
source§impl InstanceConfig
impl InstanceConfig
sourcepub fn builder() -> InstanceConfigBuilder
pub fn builder() -> InstanceConfigBuilder
Creates a new builder-style object to manufacture InstanceConfig
.
Trait Implementations§
source§impl Clone for InstanceConfig
impl Clone for InstanceConfig
source§fn clone(&self) -> InstanceConfig
fn clone(&self) -> InstanceConfig
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for InstanceConfig
impl Debug for InstanceConfig
source§impl PartialEq for InstanceConfig
impl PartialEq for InstanceConfig
source§fn eq(&self, other: &InstanceConfig) -> bool
fn eq(&self, other: &InstanceConfig) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for InstanceConfig
Auto Trait Implementations§
impl Freeze for InstanceConfig
impl RefUnwindSafe for InstanceConfig
impl Send for InstanceConfig
impl Sync for InstanceConfig
impl Unpin for InstanceConfig
impl UnwindSafe for InstanceConfig
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
Mutably borrows from an owned value. Read more
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.