Struct aws_sdk_connect::model::instance_summary::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for InstanceSummary
.
Implementations§
source§impl Builder
impl Builder
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 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 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 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.
sourcepub fn build(self) -> InstanceSummary
pub fn build(self) -> InstanceSummary
Consumes the builder and constructs a InstanceSummary
.