Struct aws_sdk_connect::types::builders::InstanceBuilder
source · #[non_exhaustive]pub struct InstanceBuilder { /* private fields */ }
Expand description
A builder for Instance
.
Implementations§
source§impl InstanceBuilder
impl InstanceBuilder
sourcepub fn id(self, input: impl Into<String>) -> Self
pub fn id(self, input: impl Into<String>) -> Self
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
sourcepub fn set_id(self, input: Option<String>) -> Self
pub fn set_id(self, input: Option<String>) -> Self
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
sourcepub fn get_id(&self) -> &Option<String>
pub fn get_id(&self) -> &Option<String>
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
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.
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.
sourcepub fn get_identity_management_type(&self) -> &Option<DirectoryType>
pub fn get_identity_management_type(&self) -> &Option<DirectoryType>
The identity management type.
sourcepub fn instance_alias(self, input: impl Into<String>) -> Self
pub fn instance_alias(self, input: impl Into<String>) -> Self
The alias of instance.
sourcepub fn set_instance_alias(self, input: Option<String>) -> Self
pub fn set_instance_alias(self, input: Option<String>) -> Self
The alias of instance.
sourcepub fn get_instance_alias(&self) -> &Option<String>
pub fn get_instance_alias(&self) -> &Option<String>
The alias of 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 status_reason(self, input: InstanceStatusReason) -> Self
pub fn status_reason(self, input: InstanceStatusReason) -> Self
Relevant details why the instance was not successfully created.
sourcepub fn set_status_reason(self, input: Option<InstanceStatusReason>) -> Self
pub fn set_status_reason(self, input: Option<InstanceStatusReason>) -> Self
Relevant details why the instance was not successfully created.
sourcepub fn get_status_reason(&self) -> &Option<InstanceStatusReason>
pub fn get_status_reason(&self) -> &Option<InstanceStatusReason>
Relevant details why the instance was not successfully created.
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.
Adds a key-value pair to tags
.
To override the contents of this collection use set_tags
.
The tags of an instance.
The tags of an instance.
The tags of an instance.
Trait Implementations§
source§impl Clone for InstanceBuilder
impl Clone for InstanceBuilder
source§fn clone(&self) -> InstanceBuilder
fn clone(&self) -> InstanceBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for InstanceBuilder
impl Debug for InstanceBuilder
source§impl Default for InstanceBuilder
impl Default for InstanceBuilder
source§fn default() -> InstanceBuilder
fn default() -> InstanceBuilder
source§impl PartialEq for InstanceBuilder
impl PartialEq for InstanceBuilder
source§fn eq(&self, other: &InstanceBuilder) -> bool
fn eq(&self, other: &InstanceBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.