#[non_exhaustive]pub struct CreateGlobalClusterInput {
pub global_cluster_identifier: Option<String>,
pub source_db_cluster_identifier: Option<String>,
pub engine: Option<String>,
pub engine_version: Option<String>,
pub deletion_protection: Option<bool>,
pub database_name: Option<String>,
pub storage_encrypted: Option<bool>,
}Expand description
Represents the input to CreateGlobalCluster.
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 cluster identifier of the new global cluster.
source_db_cluster_identifier: Option<String>The Amazon Resource Name (ARN) to use as the primary cluster of the global cluster. This parameter is optional.
engine: Option<String>The name of the database engine to be used for this cluster.
engine_version: Option<String>The engine version of the global cluster.
deletion_protection: Option<bool>The deletion protection setting for the new global cluster. The global cluster can't be deleted when deletion protection is enabled.
database_name: Option<String>The name for your database of up to 64 alpha-numeric characters. If you do not provide a name, Amazon DocumentDB will not create a database in the global cluster you are creating.
storage_encrypted: Option<bool>The storage encryption setting for the new global cluster.
Implementations§
source§impl CreateGlobalClusterInput
impl CreateGlobalClusterInput
sourcepub fn global_cluster_identifier(&self) -> Option<&str>
pub fn global_cluster_identifier(&self) -> Option<&str>
The cluster identifier of the new global cluster.
sourcepub fn source_db_cluster_identifier(&self) -> Option<&str>
pub fn source_db_cluster_identifier(&self) -> Option<&str>
The Amazon Resource Name (ARN) to use as the primary cluster of the global cluster. This parameter is optional.
sourcepub fn engine(&self) -> Option<&str>
pub fn engine(&self) -> Option<&str>
The name of the database engine to be used for this cluster.
sourcepub fn engine_version(&self) -> Option<&str>
pub fn engine_version(&self) -> Option<&str>
The engine version of the global cluster.
sourcepub fn deletion_protection(&self) -> Option<bool>
pub fn deletion_protection(&self) -> Option<bool>
The deletion protection setting for the new global cluster. The global cluster can't be deleted when deletion protection is enabled.
sourcepub fn database_name(&self) -> Option<&str>
pub fn database_name(&self) -> Option<&str>
The name for your database of up to 64 alpha-numeric characters. If you do not provide a name, Amazon DocumentDB will not create a database in the global cluster you are creating.
sourcepub fn storage_encrypted(&self) -> Option<bool>
pub fn storage_encrypted(&self) -> Option<bool>
The storage encryption setting for the new global cluster.
source§impl CreateGlobalClusterInput
impl CreateGlobalClusterInput
sourcepub fn builder() -> CreateGlobalClusterInputBuilder
pub fn builder() -> CreateGlobalClusterInputBuilder
Creates a new builder-style object to manufacture CreateGlobalClusterInput.
Trait Implementations§
source§impl Clone for CreateGlobalClusterInput
impl Clone for CreateGlobalClusterInput
source§fn clone(&self) -> CreateGlobalClusterInput
fn clone(&self) -> CreateGlobalClusterInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for CreateGlobalClusterInput
impl Debug for CreateGlobalClusterInput
source§impl PartialEq for CreateGlobalClusterInput
impl PartialEq for CreateGlobalClusterInput
source§fn eq(&self, other: &CreateGlobalClusterInput) -> bool
fn eq(&self, other: &CreateGlobalClusterInput) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for CreateGlobalClusterInput
Auto Trait Implementations§
impl Freeze for CreateGlobalClusterInput
impl RefUnwindSafe for CreateGlobalClusterInput
impl Send for CreateGlobalClusterInput
impl Sync for CreateGlobalClusterInput
impl Unpin for CreateGlobalClusterInput
impl UnwindSafe for CreateGlobalClusterInput
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