Struct aws_sdk_connect::operation::replicate_instance::builders::ReplicateInstanceInputBuilder
source · #[non_exhaustive]pub struct ReplicateInstanceInputBuilder { /* private fields */ }
Expand description
A builder for ReplicateInstanceInput
.
Implementations§
source§impl ReplicateInstanceInputBuilder
impl ReplicateInstanceInputBuilder
sourcepub fn instance_id(self, input: impl Into<String>) -> Self
pub fn instance_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. You can provide the InstanceId
, or the entire ARN.
sourcepub fn set_instance_id(self, input: Option<String>) -> Self
pub fn set_instance_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. You can provide the InstanceId
, or the entire ARN.
sourcepub fn get_instance_id(&self) -> &Option<String>
pub fn get_instance_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. You can provide the InstanceId
, or the entire ARN.
sourcepub fn replica_region(self, input: impl Into<String>) -> Self
pub fn replica_region(self, input: impl Into<String>) -> Self
The Amazon Web Services Region where to replicate the Amazon Connect instance.
This field is required.sourcepub fn set_replica_region(self, input: Option<String>) -> Self
pub fn set_replica_region(self, input: Option<String>) -> Self
The Amazon Web Services Region where to replicate the Amazon Connect instance.
sourcepub fn get_replica_region(&self) -> &Option<String>
pub fn get_replica_region(&self) -> &Option<String>
The Amazon Web Services Region where to replicate the Amazon Connect instance.
sourcepub fn client_token(self, input: impl Into<String>) -> Self
pub fn client_token(self, input: impl Into<String>) -> Self
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.
sourcepub fn set_client_token(self, input: Option<String>) -> Self
pub fn set_client_token(self, input: Option<String>) -> Self
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.
sourcepub fn get_client_token(&self) -> &Option<String>
pub fn get_client_token(&self) -> &Option<String>
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.
sourcepub fn replica_alias(self, input: impl Into<String>) -> Self
pub fn replica_alias(self, input: impl Into<String>) -> Self
The alias for the replicated instance. The ReplicaAlias
must be unique.
sourcepub fn set_replica_alias(self, input: Option<String>) -> Self
pub fn set_replica_alias(self, input: Option<String>) -> Self
The alias for the replicated instance. The ReplicaAlias
must be unique.
sourcepub fn get_replica_alias(&self) -> &Option<String>
pub fn get_replica_alias(&self) -> &Option<String>
The alias for the replicated instance. The ReplicaAlias
must be unique.
sourcepub fn build(self) -> Result<ReplicateInstanceInput, BuildError>
pub fn build(self) -> Result<ReplicateInstanceInput, BuildError>
Consumes the builder and constructs a ReplicateInstanceInput
.
source§impl ReplicateInstanceInputBuilder
impl ReplicateInstanceInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<ReplicateInstanceOutput, SdkError<ReplicateInstanceError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<ReplicateInstanceOutput, SdkError<ReplicateInstanceError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for ReplicateInstanceInputBuilder
impl Clone for ReplicateInstanceInputBuilder
source§fn clone(&self) -> ReplicateInstanceInputBuilder
fn clone(&self) -> ReplicateInstanceInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for ReplicateInstanceInputBuilder
impl Default for ReplicateInstanceInputBuilder
source§fn default() -> ReplicateInstanceInputBuilder
fn default() -> ReplicateInstanceInputBuilder
source§impl PartialEq for ReplicateInstanceInputBuilder
impl PartialEq for ReplicateInstanceInputBuilder
source§fn eq(&self, other: &ReplicateInstanceInputBuilder) -> bool
fn eq(&self, other: &ReplicateInstanceInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.