Struct aws_sdk_keyspaces::types::builders::KeyspaceSummaryBuilder
source · #[non_exhaustive]pub struct KeyspaceSummaryBuilder { /* private fields */ }Expand description
A builder for KeyspaceSummary.
Implementations§
source§impl KeyspaceSummaryBuilder
impl KeyspaceSummaryBuilder
sourcepub fn keyspace_name(self, input: impl Into<String>) -> Self
pub fn keyspace_name(self, input: impl Into<String>) -> Self
The name of the keyspace.
sourcepub fn set_keyspace_name(self, input: Option<String>) -> Self
pub fn set_keyspace_name(self, input: Option<String>) -> Self
The name of the keyspace.
sourcepub fn get_keyspace_name(&self) -> &Option<String>
pub fn get_keyspace_name(&self) -> &Option<String>
The name of the keyspace.
sourcepub fn resource_arn(self, input: impl Into<String>) -> Self
pub fn resource_arn(self, input: impl Into<String>) -> Self
The unique identifier of the keyspace in the format of an Amazon Resource Name (ARN).
sourcepub fn set_resource_arn(self, input: Option<String>) -> Self
pub fn set_resource_arn(self, input: Option<String>) -> Self
The unique identifier of the keyspace in the format of an Amazon Resource Name (ARN).
sourcepub fn get_resource_arn(&self) -> &Option<String>
pub fn get_resource_arn(&self) -> &Option<String>
The unique identifier of the keyspace in the format of an Amazon Resource Name (ARN).
sourcepub fn replication_strategy(self, input: Rs) -> Self
pub fn replication_strategy(self, input: Rs) -> Self
This property specifies if a keyspace is a single Region keyspace or a multi-Region keyspace. The available values are SINGLE_REGION or MULTI_REGION.
sourcepub fn set_replication_strategy(self, input: Option<Rs>) -> Self
pub fn set_replication_strategy(self, input: Option<Rs>) -> Self
This property specifies if a keyspace is a single Region keyspace or a multi-Region keyspace. The available values are SINGLE_REGION or MULTI_REGION.
sourcepub fn get_replication_strategy(&self) -> &Option<Rs>
pub fn get_replication_strategy(&self) -> &Option<Rs>
This property specifies if a keyspace is a single Region keyspace or a multi-Region keyspace. The available values are SINGLE_REGION or MULTI_REGION.
sourcepub fn replication_regions(self, input: impl Into<String>) -> Self
pub fn replication_regions(self, input: impl Into<String>) -> Self
Appends an item to replication_regions.
To override the contents of this collection use set_replication_regions.
If the replicationStrategy of the keyspace is MULTI_REGION, a list of replication Regions is returned.
sourcepub fn set_replication_regions(self, input: Option<Vec<String>>) -> Self
pub fn set_replication_regions(self, input: Option<Vec<String>>) -> Self
If the replicationStrategy of the keyspace is MULTI_REGION, a list of replication Regions is returned.
sourcepub fn get_replication_regions(&self) -> &Option<Vec<String>>
pub fn get_replication_regions(&self) -> &Option<Vec<String>>
If the replicationStrategy of the keyspace is MULTI_REGION, a list of replication Regions is returned.
sourcepub fn build(self) -> KeyspaceSummary
pub fn build(self) -> KeyspaceSummary
Consumes the builder and constructs a KeyspaceSummary.
Trait Implementations§
source§impl Clone for KeyspaceSummaryBuilder
impl Clone for KeyspaceSummaryBuilder
source§fn clone(&self) -> KeyspaceSummaryBuilder
fn clone(&self) -> KeyspaceSummaryBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for KeyspaceSummaryBuilder
impl Debug for KeyspaceSummaryBuilder
source§impl Default for KeyspaceSummaryBuilder
impl Default for KeyspaceSummaryBuilder
source§fn default() -> KeyspaceSummaryBuilder
fn default() -> KeyspaceSummaryBuilder
source§impl PartialEq for KeyspaceSummaryBuilder
impl PartialEq for KeyspaceSummaryBuilder
source§fn eq(&self, other: &KeyspaceSummaryBuilder) -> bool
fn eq(&self, other: &KeyspaceSummaryBuilder) -> bool
self and other values to be equal, and is used
by ==.