#[non_exhaustive]pub struct GetKeyspaceOutputBuilder { /* private fields */ }
Expand description
A builder for GetKeyspaceOutput
.
Implementations§
source§impl GetKeyspaceOutputBuilder
impl GetKeyspaceOutputBuilder
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.
This field is required.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
Returns the ARN of the keyspace.
This field is required.sourcepub fn set_resource_arn(self, input: Option<String>) -> Self
pub fn set_resource_arn(self, input: Option<String>) -> Self
Returns the ARN of the keyspace.
sourcepub fn get_resource_arn(&self) -> &Option<String>
pub fn get_resource_arn(&self) -> &Option<String>
Returns the ARN of the keyspace.
sourcepub fn replication_strategy(self, input: Rs) -> Self
pub fn replication_strategy(self, input: Rs) -> Self
Returns the replication strategy of the keyspace. The options 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
Returns the replication strategy of the keyspace. The options are SINGLE_REGION
or MULTI_REGION
.
sourcepub fn get_replication_strategy(&self) -> &Option<Rs>
pub fn get_replication_strategy(&self) -> &Option<Rs>
Returns the replication strategy of the keyspace. The options 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) -> Result<GetKeyspaceOutput, BuildError>
pub fn build(self) -> Result<GetKeyspaceOutput, BuildError>
Consumes the builder and constructs a GetKeyspaceOutput
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for GetKeyspaceOutputBuilder
impl Clone for GetKeyspaceOutputBuilder
source§fn clone(&self) -> GetKeyspaceOutputBuilder
fn clone(&self) -> GetKeyspaceOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for GetKeyspaceOutputBuilder
impl Debug for GetKeyspaceOutputBuilder
source§impl Default for GetKeyspaceOutputBuilder
impl Default for GetKeyspaceOutputBuilder
source§fn default() -> GetKeyspaceOutputBuilder
fn default() -> GetKeyspaceOutputBuilder
source§impl PartialEq for GetKeyspaceOutputBuilder
impl PartialEq for GetKeyspaceOutputBuilder
source§fn eq(&self, other: &GetKeyspaceOutputBuilder) -> bool
fn eq(&self, other: &GetKeyspaceOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.