#[non_exhaustive]pub struct CreateInstanceInputBuilder { /* private fields */ }
Expand description
A builder for CreateInstanceInput
.
Implementations§
source§impl CreateInstanceInputBuilder
impl CreateInstanceInputBuilder
sourcepub fn client_token(self, input: impl Into<String>) -> Self
pub fn client_token(self, input: impl Into<String>) -> Self
The idempotency token.
sourcepub fn set_client_token(self, input: Option<String>) -> Self
pub fn set_client_token(self, input: Option<String>) -> Self
The idempotency token.
sourcepub fn identity_management_type(self, input: DirectoryType) -> Self
pub fn identity_management_type(self, input: DirectoryType) -> Self
The type of identity management for your Amazon Connect users.
sourcepub fn set_identity_management_type(self, input: Option<DirectoryType>) -> Self
pub fn set_identity_management_type(self, input: Option<DirectoryType>) -> Self
The type of identity management for your Amazon Connect users.
sourcepub fn instance_alias(self, input: impl Into<String>) -> Self
pub fn instance_alias(self, input: impl Into<String>) -> Self
The name for your instance.
sourcepub fn set_instance_alias(self, input: Option<String>) -> Self
pub fn set_instance_alias(self, input: Option<String>) -> Self
The name for your instance.
sourcepub fn directory_id(self, input: impl Into<String>) -> Self
pub fn directory_id(self, input: impl Into<String>) -> Self
The identifier for the directory.
sourcepub fn set_directory_id(self, input: Option<String>) -> Self
pub fn set_directory_id(self, input: Option<String>) -> Self
The identifier for the directory.
sourcepub fn inbound_calls_enabled(self, input: bool) -> Self
pub fn inbound_calls_enabled(self, input: bool) -> Self
Your contact center handles incoming contacts.
sourcepub fn set_inbound_calls_enabled(self, input: Option<bool>) -> Self
pub fn set_inbound_calls_enabled(self, input: Option<bool>) -> Self
Your contact center handles incoming contacts.
sourcepub fn outbound_calls_enabled(self, input: bool) -> Self
pub fn outbound_calls_enabled(self, input: bool) -> Self
Your contact center allows outbound calls.
sourcepub fn set_outbound_calls_enabled(self, input: Option<bool>) -> Self
pub fn set_outbound_calls_enabled(self, input: Option<bool>) -> Self
Your contact center allows outbound calls.
sourcepub fn build(self) -> Result<CreateInstanceInput, BuildError>
pub fn build(self) -> Result<CreateInstanceInput, BuildError>
Consumes the builder and constructs a CreateInstanceInput
.
Trait Implementations§
source§impl Clone for CreateInstanceInputBuilder
impl Clone for CreateInstanceInputBuilder
source§fn clone(&self) -> CreateInstanceInputBuilder
fn clone(&self) -> CreateInstanceInputBuilder
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 CreateInstanceInputBuilder
impl Debug for CreateInstanceInputBuilder
source§impl Default for CreateInstanceInputBuilder
impl Default for CreateInstanceInputBuilder
source§fn default() -> CreateInstanceInputBuilder
fn default() -> CreateInstanceInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<CreateInstanceInputBuilder> for CreateInstanceInputBuilder
impl PartialEq<CreateInstanceInputBuilder> for CreateInstanceInputBuilder
source§fn eq(&self, other: &CreateInstanceInputBuilder) -> bool
fn eq(&self, other: &CreateInstanceInputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.