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 instanceId in the 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 instanceId in the 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 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 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 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 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 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 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 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.
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<InstanceBuilder> for InstanceBuilder
impl PartialEq<InstanceBuilder> 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 ==
.