#[non_exhaustive]pub struct AwsDynamoDbTableReplicaBuilder { /* private fields */ }
Expand description
A builder for AwsDynamoDbTableReplica
.
Implementations§
source§impl AwsDynamoDbTableReplicaBuilder
impl AwsDynamoDbTableReplicaBuilder
sourcepub fn global_secondary_indexes(
self,
input: AwsDynamoDbTableReplicaGlobalSecondaryIndex
) -> Self
pub fn global_secondary_indexes( self, input: AwsDynamoDbTableReplicaGlobalSecondaryIndex ) -> Self
Appends an item to global_secondary_indexes
.
To override the contents of this collection use set_global_secondary_indexes
.
List of global secondary indexes for the replica.
sourcepub fn set_global_secondary_indexes(
self,
input: Option<Vec<AwsDynamoDbTableReplicaGlobalSecondaryIndex>>
) -> Self
pub fn set_global_secondary_indexes( self, input: Option<Vec<AwsDynamoDbTableReplicaGlobalSecondaryIndex>> ) -> Self
List of global secondary indexes for the replica.
sourcepub fn get_global_secondary_indexes(
&self
) -> &Option<Vec<AwsDynamoDbTableReplicaGlobalSecondaryIndex>>
pub fn get_global_secondary_indexes( &self ) -> &Option<Vec<AwsDynamoDbTableReplicaGlobalSecondaryIndex>>
List of global secondary indexes for the replica.
sourcepub fn kms_master_key_id(self, input: impl Into<String>) -> Self
pub fn kms_master_key_id(self, input: impl Into<String>) -> Self
The identifier of the KMS key that will be used for KMS encryption for the replica.
sourcepub fn set_kms_master_key_id(self, input: Option<String>) -> Self
pub fn set_kms_master_key_id(self, input: Option<String>) -> Self
The identifier of the KMS key that will be used for KMS encryption for the replica.
sourcepub fn get_kms_master_key_id(&self) -> &Option<String>
pub fn get_kms_master_key_id(&self) -> &Option<String>
The identifier of the KMS key that will be used for KMS encryption for the replica.
sourcepub fn provisioned_throughput_override(
self,
input: AwsDynamoDbTableProvisionedThroughputOverride
) -> Self
pub fn provisioned_throughput_override( self, input: AwsDynamoDbTableProvisionedThroughputOverride ) -> Self
Replica-specific configuration for the provisioned throughput.
sourcepub fn set_provisioned_throughput_override(
self,
input: Option<AwsDynamoDbTableProvisionedThroughputOverride>
) -> Self
pub fn set_provisioned_throughput_override( self, input: Option<AwsDynamoDbTableProvisionedThroughputOverride> ) -> Self
Replica-specific configuration for the provisioned throughput.
sourcepub fn get_provisioned_throughput_override(
&self
) -> &Option<AwsDynamoDbTableProvisionedThroughputOverride>
pub fn get_provisioned_throughput_override( &self ) -> &Option<AwsDynamoDbTableProvisionedThroughputOverride>
Replica-specific configuration for the provisioned throughput.
sourcepub fn region_name(self, input: impl Into<String>) -> Self
pub fn region_name(self, input: impl Into<String>) -> Self
The name of the Region where the replica is located.
sourcepub fn set_region_name(self, input: Option<String>) -> Self
pub fn set_region_name(self, input: Option<String>) -> Self
The name of the Region where the replica is located.
sourcepub fn get_region_name(&self) -> &Option<String>
pub fn get_region_name(&self) -> &Option<String>
The name of the Region where the replica is located.
sourcepub fn replica_status(self, input: impl Into<String>) -> Self
pub fn replica_status(self, input: impl Into<String>) -> Self
The current status of the replica. Valid values are as follows:
-
ACTIVE
-
CREATING
-
CREATION_FAILED
-
DELETING
-
UPDATING
sourcepub fn set_replica_status(self, input: Option<String>) -> Self
pub fn set_replica_status(self, input: Option<String>) -> Self
The current status of the replica. Valid values are as follows:
-
ACTIVE
-
CREATING
-
CREATION_FAILED
-
DELETING
-
UPDATING
sourcepub fn get_replica_status(&self) -> &Option<String>
pub fn get_replica_status(&self) -> &Option<String>
The current status of the replica. Valid values are as follows:
-
ACTIVE
-
CREATING
-
CREATION_FAILED
-
DELETING
-
UPDATING
sourcepub fn replica_status_description(self, input: impl Into<String>) -> Self
pub fn replica_status_description(self, input: impl Into<String>) -> Self
Detailed information about the replica status.
sourcepub fn set_replica_status_description(self, input: Option<String>) -> Self
pub fn set_replica_status_description(self, input: Option<String>) -> Self
Detailed information about the replica status.
sourcepub fn get_replica_status_description(&self) -> &Option<String>
pub fn get_replica_status_description(&self) -> &Option<String>
Detailed information about the replica status.
sourcepub fn build(self) -> AwsDynamoDbTableReplica
pub fn build(self) -> AwsDynamoDbTableReplica
Consumes the builder and constructs a AwsDynamoDbTableReplica
.
Trait Implementations§
source§impl Clone for AwsDynamoDbTableReplicaBuilder
impl Clone for AwsDynamoDbTableReplicaBuilder
source§fn clone(&self) -> AwsDynamoDbTableReplicaBuilder
fn clone(&self) -> AwsDynamoDbTableReplicaBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for AwsDynamoDbTableReplicaBuilder
impl Default for AwsDynamoDbTableReplicaBuilder
source§fn default() -> AwsDynamoDbTableReplicaBuilder
fn default() -> AwsDynamoDbTableReplicaBuilder
source§impl PartialEq for AwsDynamoDbTableReplicaBuilder
impl PartialEq for AwsDynamoDbTableReplicaBuilder
source§fn eq(&self, other: &AwsDynamoDbTableReplicaBuilder) -> bool
fn eq(&self, other: &AwsDynamoDbTableReplicaBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AwsDynamoDbTableReplicaBuilder
Auto Trait Implementations§
impl Freeze for AwsDynamoDbTableReplicaBuilder
impl RefUnwindSafe for AwsDynamoDbTableReplicaBuilder
impl Send for AwsDynamoDbTableReplicaBuilder
impl Sync for AwsDynamoDbTableReplicaBuilder
impl Unpin for AwsDynamoDbTableReplicaBuilder
impl UnwindSafe for AwsDynamoDbTableReplicaBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more