#[non_exhaustive]pub struct SwitchoverGlobalClusterInput {
pub global_cluster_identifier: Option<String>,
pub target_db_cluster_identifier: Option<String>,
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.global_cluster_identifier: Option<String>The identifier of the Amazon DocumentDB global database cluster to switch over. The identifier is the unique key assigned by the user when the cluster is created. In other words, it's the name of the global cluster. This parameter isn’t case-sensitive.
Constraints:
-
Must match the identifier of an existing global cluster (Amazon DocumentDB global database).
-
Minimum length of 1. Maximum length of 255.
Pattern: [A-Za-z][0-9A-Za-z-:._]*
target_db_cluster_identifier: Option<String>The identifier of the secondary Amazon DocumentDB cluster to promote to the new primary for the global database cluster. Use the Amazon Resource Name (ARN) for the identifier so that Amazon DocumentDB can locate the cluster in its Amazon Web Services region.
Constraints:
-
Must match the identifier of an existing secondary cluster.
-
Minimum length of 1. Maximum length of 255.
Pattern: [A-Za-z][0-9A-Za-z-:._]*
Implementations§
source§impl SwitchoverGlobalClusterInput
impl SwitchoverGlobalClusterInput
sourcepub fn global_cluster_identifier(&self) -> Option<&str>
pub fn global_cluster_identifier(&self) -> Option<&str>
The identifier of the Amazon DocumentDB global database cluster to switch over. The identifier is the unique key assigned by the user when the cluster is created. In other words, it's the name of the global cluster. This parameter isn’t case-sensitive.
Constraints:
-
Must match the identifier of an existing global cluster (Amazon DocumentDB global database).
-
Minimum length of 1. Maximum length of 255.
Pattern: [A-Za-z][0-9A-Za-z-:._]*
sourcepub fn target_db_cluster_identifier(&self) -> Option<&str>
pub fn target_db_cluster_identifier(&self) -> Option<&str>
The identifier of the secondary Amazon DocumentDB cluster to promote to the new primary for the global database cluster. Use the Amazon Resource Name (ARN) for the identifier so that Amazon DocumentDB can locate the cluster in its Amazon Web Services region.
Constraints:
-
Must match the identifier of an existing secondary cluster.
-
Minimum length of 1. Maximum length of 255.
Pattern: [A-Za-z][0-9A-Za-z-:._]*
source§impl SwitchoverGlobalClusterInput
impl SwitchoverGlobalClusterInput
sourcepub fn builder() -> SwitchoverGlobalClusterInputBuilder
pub fn builder() -> SwitchoverGlobalClusterInputBuilder
Creates a new builder-style object to manufacture SwitchoverGlobalClusterInput.
Trait Implementations§
source§impl Clone for SwitchoverGlobalClusterInput
impl Clone for SwitchoverGlobalClusterInput
source§fn clone(&self) -> SwitchoverGlobalClusterInput
fn clone(&self) -> SwitchoverGlobalClusterInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for SwitchoverGlobalClusterInput
impl Debug for SwitchoverGlobalClusterInput
source§impl PartialEq for SwitchoverGlobalClusterInput
impl PartialEq for SwitchoverGlobalClusterInput
source§fn eq(&self, other: &SwitchoverGlobalClusterInput) -> bool
fn eq(&self, other: &SwitchoverGlobalClusterInput) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for SwitchoverGlobalClusterInput
Auto Trait Implementations§
impl Freeze for SwitchoverGlobalClusterInput
impl RefUnwindSafe for SwitchoverGlobalClusterInput
impl Send for SwitchoverGlobalClusterInput
impl Sync for SwitchoverGlobalClusterInput
impl Unpin for SwitchoverGlobalClusterInput
impl UnwindSafe for SwitchoverGlobalClusterInput
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