Struct aws_sdk_connect::types::builders::InstanceSummaryBuilder
source · #[non_exhaustive]pub struct InstanceSummaryBuilder { /* private fields */ }
Expand description
A builder for InstanceSummary
.
Implementations§
source§impl InstanceSummaryBuilder
impl InstanceSummaryBuilder
sourcepub fn arn(self, input: impl Into<String>) -> Self
pub fn arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the instance.
sourcepub fn set_arn(self, input: Option<String>) -> Self
pub fn set_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the instance.
sourcepub fn identity_management_type(self, input: DirectoryType) -> Self
pub fn identity_management_type(self, input: DirectoryType) -> Self
The identity management type of the instance.
sourcepub fn set_identity_management_type(self, input: Option<DirectoryType>) -> Self
pub fn set_identity_management_type(self, input: Option<DirectoryType>) -> Self
The identity management type of the instance.
sourcepub fn get_identity_management_type(&self) -> &Option<DirectoryType>
pub fn get_identity_management_type(&self) -> &Option<DirectoryType>
The identity management type of the instance.
sourcepub fn instance_alias(self, input: impl Into<String>) -> Self
pub fn instance_alias(self, input: impl Into<String>) -> Self
The alias of the instance.
sourcepub fn set_instance_alias(self, input: Option<String>) -> Self
pub fn set_instance_alias(self, input: Option<String>) -> Self
The alias of the instance.
sourcepub fn get_instance_alias(&self) -> &Option<String>
pub fn get_instance_alias(&self) -> &Option<String>
The alias of the instance.
sourcepub fn created_time(self, input: DateTime) -> Self
pub fn created_time(self, input: DateTime) -> Self
When the instance was created.
sourcepub fn set_created_time(self, input: Option<DateTime>) -> Self
pub fn set_created_time(self, input: Option<DateTime>) -> Self
When the instance was created.
sourcepub fn get_created_time(&self) -> &Option<DateTime>
pub fn get_created_time(&self) -> &Option<DateTime>
When the instance was created.
sourcepub fn service_role(self, input: impl Into<String>) -> Self
pub fn service_role(self, input: impl Into<String>) -> Self
The service role of the instance.
sourcepub fn set_service_role(self, input: Option<String>) -> Self
pub fn set_service_role(self, input: Option<String>) -> Self
The service role of the instance.
sourcepub fn get_service_role(&self) -> &Option<String>
pub fn get_service_role(&self) -> &Option<String>
The service role of the instance.
sourcepub fn instance_status(self, input: InstanceStatus) -> Self
pub fn instance_status(self, input: InstanceStatus) -> Self
The state of the instance.
sourcepub fn set_instance_status(self, input: Option<InstanceStatus>) -> Self
pub fn set_instance_status(self, input: Option<InstanceStatus>) -> Self
The state of the instance.
sourcepub fn get_instance_status(&self) -> &Option<InstanceStatus>
pub fn get_instance_status(&self) -> &Option<InstanceStatus>
The state of the instance.
sourcepub fn inbound_calls_enabled(self, input: bool) -> Self
pub fn inbound_calls_enabled(self, input: bool) -> Self
Whether inbound calls are enabled.
sourcepub fn set_inbound_calls_enabled(self, input: Option<bool>) -> Self
pub fn set_inbound_calls_enabled(self, input: Option<bool>) -> Self
Whether inbound calls are enabled.
sourcepub fn get_inbound_calls_enabled(&self) -> &Option<bool>
pub fn get_inbound_calls_enabled(&self) -> &Option<bool>
Whether inbound calls are enabled.
sourcepub fn outbound_calls_enabled(self, input: bool) -> Self
pub fn outbound_calls_enabled(self, input: bool) -> Self
Whether outbound calls are enabled.
sourcepub fn set_outbound_calls_enabled(self, input: Option<bool>) -> Self
pub fn set_outbound_calls_enabled(self, input: Option<bool>) -> Self
Whether outbound calls are enabled.
sourcepub fn get_outbound_calls_enabled(&self) -> &Option<bool>
pub fn get_outbound_calls_enabled(&self) -> &Option<bool>
Whether outbound calls are enabled.
sourcepub fn instance_access_url(self, input: impl Into<String>) -> Self
pub fn instance_access_url(self, input: impl Into<String>) -> Self
This URL allows contact center users to access the Amazon Connect admin website.
sourcepub fn set_instance_access_url(self, input: Option<String>) -> Self
pub fn set_instance_access_url(self, input: Option<String>) -> Self
This URL allows contact center users to access the Amazon Connect admin website.
sourcepub fn get_instance_access_url(&self) -> &Option<String>
pub fn get_instance_access_url(&self) -> &Option<String>
This URL allows contact center users to access the Amazon Connect admin website.
sourcepub fn build(self) -> InstanceSummary
pub fn build(self) -> InstanceSummary
Consumes the builder and constructs a InstanceSummary
.
Trait Implementations§
source§impl Clone for InstanceSummaryBuilder
impl Clone for InstanceSummaryBuilder
source§fn clone(&self) -> InstanceSummaryBuilder
fn clone(&self) -> InstanceSummaryBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for InstanceSummaryBuilder
impl Debug for InstanceSummaryBuilder
source§impl Default for InstanceSummaryBuilder
impl Default for InstanceSummaryBuilder
source§fn default() -> InstanceSummaryBuilder
fn default() -> InstanceSummaryBuilder
source§impl PartialEq for InstanceSummaryBuilder
impl PartialEq for InstanceSummaryBuilder
source§fn eq(&self, other: &InstanceSummaryBuilder) -> bool
fn eq(&self, other: &InstanceSummaryBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for InstanceSummaryBuilder
Auto Trait Implementations§
impl Freeze for InstanceSummaryBuilder
impl RefUnwindSafe for InstanceSummaryBuilder
impl Send for InstanceSummaryBuilder
impl Sync for InstanceSummaryBuilder
impl Unpin for InstanceSummaryBuilder
impl UnwindSafe for InstanceSummaryBuilder
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> 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