Struct aws_sdk_elasticache::operation::create_global_replication_group::builders::CreateGlobalReplicationGroupInputBuilder
source · #[non_exhaustive]pub struct CreateGlobalReplicationGroupInputBuilder { /* private fields */ }
Expand description
A builder for CreateGlobalReplicationGroupInput
.
Implementations§
source§impl CreateGlobalReplicationGroupInputBuilder
impl CreateGlobalReplicationGroupInputBuilder
sourcepub fn global_replication_group_id_suffix(
self,
input: impl Into<String>
) -> Self
pub fn global_replication_group_id_suffix( self, input: impl Into<String> ) -> Self
The suffix name of a Global datastore. Amazon ElastiCache automatically applies a prefix to the Global datastore ID when it is created. Each Amazon Region has its own prefix. For instance, a Global datastore ID created in the US-West-1 region will begin with "dsdfu" along with the suffix name you provide. The suffix, combined with the auto-generated prefix, guarantees uniqueness of the Global datastore name across multiple regions.
For a full list of Amazon Regions and their respective Global datastore iD prefixes, see Using the Amazon CLI with Global datastores .
This field is required.sourcepub fn set_global_replication_group_id_suffix(
self,
input: Option<String>
) -> Self
pub fn set_global_replication_group_id_suffix( self, input: Option<String> ) -> Self
The suffix name of a Global datastore. Amazon ElastiCache automatically applies a prefix to the Global datastore ID when it is created. Each Amazon Region has its own prefix. For instance, a Global datastore ID created in the US-West-1 region will begin with "dsdfu" along with the suffix name you provide. The suffix, combined with the auto-generated prefix, guarantees uniqueness of the Global datastore name across multiple regions.
For a full list of Amazon Regions and their respective Global datastore iD prefixes, see Using the Amazon CLI with Global datastores .
sourcepub fn get_global_replication_group_id_suffix(&self) -> &Option<String>
pub fn get_global_replication_group_id_suffix(&self) -> &Option<String>
The suffix name of a Global datastore. Amazon ElastiCache automatically applies a prefix to the Global datastore ID when it is created. Each Amazon Region has its own prefix. For instance, a Global datastore ID created in the US-West-1 region will begin with "dsdfu" along with the suffix name you provide. The suffix, combined with the auto-generated prefix, guarantees uniqueness of the Global datastore name across multiple regions.
For a full list of Amazon Regions and their respective Global datastore iD prefixes, see Using the Amazon CLI with Global datastores .
sourcepub fn global_replication_group_description(
self,
input: impl Into<String>
) -> Self
pub fn global_replication_group_description( self, input: impl Into<String> ) -> Self
Provides details of the Global datastore
sourcepub fn set_global_replication_group_description(
self,
input: Option<String>
) -> Self
pub fn set_global_replication_group_description( self, input: Option<String> ) -> Self
Provides details of the Global datastore
sourcepub fn get_global_replication_group_description(&self) -> &Option<String>
pub fn get_global_replication_group_description(&self) -> &Option<String>
Provides details of the Global datastore
sourcepub fn primary_replication_group_id(self, input: impl Into<String>) -> Self
pub fn primary_replication_group_id(self, input: impl Into<String>) -> Self
The name of the primary cluster that accepts writes and will replicate updates to the secondary cluster.
This field is required.sourcepub fn set_primary_replication_group_id(self, input: Option<String>) -> Self
pub fn set_primary_replication_group_id(self, input: Option<String>) -> Self
The name of the primary cluster that accepts writes and will replicate updates to the secondary cluster.
sourcepub fn get_primary_replication_group_id(&self) -> &Option<String>
pub fn get_primary_replication_group_id(&self) -> &Option<String>
The name of the primary cluster that accepts writes and will replicate updates to the secondary cluster.
sourcepub fn build(self) -> Result<CreateGlobalReplicationGroupInput, BuildError>
pub fn build(self) -> Result<CreateGlobalReplicationGroupInput, BuildError>
Consumes the builder and constructs a CreateGlobalReplicationGroupInput
.
source§impl CreateGlobalReplicationGroupInputBuilder
impl CreateGlobalReplicationGroupInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<CreateGlobalReplicationGroupOutput, SdkError<CreateGlobalReplicationGroupError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<CreateGlobalReplicationGroupOutput, SdkError<CreateGlobalReplicationGroupError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreateGlobalReplicationGroupInputBuilder
impl Clone for CreateGlobalReplicationGroupInputBuilder
source§fn clone(&self) -> CreateGlobalReplicationGroupInputBuilder
fn clone(&self) -> CreateGlobalReplicationGroupInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for CreateGlobalReplicationGroupInputBuilder
impl Default for CreateGlobalReplicationGroupInputBuilder
source§fn default() -> CreateGlobalReplicationGroupInputBuilder
fn default() -> CreateGlobalReplicationGroupInputBuilder
source§impl PartialEq for CreateGlobalReplicationGroupInputBuilder
impl PartialEq for CreateGlobalReplicationGroupInputBuilder
source§fn eq(&self, other: &CreateGlobalReplicationGroupInputBuilder) -> bool
fn eq(&self, other: &CreateGlobalReplicationGroupInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.