#[non_exhaustive]pub struct GetKeyspaceOutput {
pub keyspace_name: String,
pub resource_arn: String,
pub replication_strategy: Rs,
pub replication_regions: Option<Vec<String>>,
/* private fields */
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.keyspace_name: String
The name of the keyspace.
resource_arn: String
Returns the ARN of the keyspace.
replication_strategy: Rs
Returns the replication strategy of the keyspace. The options are SINGLE_REGION
or MULTI_REGION
.
replication_regions: Option<Vec<String>>
If the replicationStrategy
of the keyspace is MULTI_REGION
, a list of replication Regions is returned.
Implementations§
source§impl GetKeyspaceOutput
impl GetKeyspaceOutput
sourcepub fn keyspace_name(&self) -> &str
pub fn keyspace_name(&self) -> &str
The name of the keyspace.
sourcepub fn resource_arn(&self) -> &str
pub fn resource_arn(&self) -> &str
Returns the ARN of the keyspace.
sourcepub fn replication_strategy(&self) -> &Rs
pub fn replication_strategy(&self) -> &Rs
Returns the replication strategy of the keyspace. The options are SINGLE_REGION
or MULTI_REGION
.
sourcepub fn replication_regions(&self) -> &[String]
pub fn replication_regions(&self) -> &[String]
If the replicationStrategy
of the keyspace is MULTI_REGION
, a list of replication Regions is returned.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .replication_regions.is_none()
.
source§impl GetKeyspaceOutput
impl GetKeyspaceOutput
sourcepub fn builder() -> GetKeyspaceOutputBuilder
pub fn builder() -> GetKeyspaceOutputBuilder
Creates a new builder-style object to manufacture GetKeyspaceOutput
.
Trait Implementations§
source§impl Clone for GetKeyspaceOutput
impl Clone for GetKeyspaceOutput
source§fn clone(&self) -> GetKeyspaceOutput
fn clone(&self) -> GetKeyspaceOutput
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for GetKeyspaceOutput
impl Debug for GetKeyspaceOutput
source§impl PartialEq for GetKeyspaceOutput
impl PartialEq for GetKeyspaceOutput
source§fn eq(&self, other: &GetKeyspaceOutput) -> bool
fn eq(&self, other: &GetKeyspaceOutput) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl RequestId for GetKeyspaceOutput
impl RequestId for GetKeyspaceOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
Returns the request ID, or
None
if the service could not be reached.impl StructuralPartialEq for GetKeyspaceOutput
Auto Trait Implementations§
impl RefUnwindSafe for GetKeyspaceOutput
impl Send for GetKeyspaceOutput
impl Sync for GetKeyspaceOutput
impl Unpin for GetKeyspaceOutput
impl UnwindSafe for GetKeyspaceOutput
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
Mutably borrows from an owned value. Read more
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>
Creates a shared type from an unshared type.