#[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 ==
.