#[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 get_client_token(&self) -> &Option<String>
pub fn get_client_token(&self) -> &Option<String>
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 get_identity_management_type(&self) -> &Option<DirectoryType>
pub fn get_identity_management_type(&self) -> &Option<DirectoryType>
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 get_instance_alias(&self) -> &Option<String>
pub fn get_instance_alias(&self) -> &Option<String>
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 get_directory_id(&self) -> &Option<String>
pub fn get_directory_id(&self) -> &Option<String>
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 get_inbound_calls_enabled(&self) -> &Option<bool>
pub fn get_inbound_calls_enabled(&self) -> &Option<bool>
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 get_outbound_calls_enabled(&self) -> &Option<bool>
pub fn get_outbound_calls_enabled(&self) -> &Option<bool>
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
.
source§impl CreateInstanceInputBuilder
impl CreateInstanceInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<CreateInstanceOutput, SdkError<CreateInstanceError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<CreateInstanceOutput, SdkError<CreateInstanceError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreateInstanceInputBuilder
impl Clone for CreateInstanceInputBuilder
source§fn clone(&self) -> CreateInstanceInputBuilder
fn clone(&self) -> CreateInstanceInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
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
source§impl PartialEq<CreateInstanceInputBuilder> for CreateInstanceInputBuilder
impl PartialEq<CreateInstanceInputBuilder> for CreateInstanceInputBuilder
source§fn eq(&self, other: &CreateInstanceInputBuilder) -> bool
fn eq(&self, other: &CreateInstanceInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.