#[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 ==
.impl StructuralPartialEq for GetKeyspaceOutputBuilder
Auto Trait Implementations§
impl Freeze for GetKeyspaceOutputBuilder
impl RefUnwindSafe for GetKeyspaceOutputBuilder
impl Send for GetKeyspaceOutputBuilder
impl Sync for GetKeyspaceOutputBuilder
impl Unpin for GetKeyspaceOutputBuilder
impl UnwindSafe for GetKeyspaceOutputBuilder
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