Struct aws_sdk_docdb::operation::create_db_cluster_snapshot::builders::CreateDbClusterSnapshotInputBuilder
source · #[non_exhaustive]pub struct CreateDbClusterSnapshotInputBuilder { /* private fields */ }Expand description
A builder for CreateDbClusterSnapshotInput.
Implementations§
source§impl CreateDbClusterSnapshotInputBuilder
impl CreateDbClusterSnapshotInputBuilder
sourcepub fn db_cluster_snapshot_identifier(self, input: impl Into<String>) -> Self
pub fn db_cluster_snapshot_identifier(self, input: impl Into<String>) -> Self
The identifier of the cluster snapshot. This parameter is stored as a lowercase string.
Constraints:
-
Must contain from 1 to 63 letters, numbers, or hyphens.
-
The first character must be a letter.
-
Cannot end with a hyphen or contain two consecutive hyphens.
Example: my-cluster-snapshot1
sourcepub fn set_db_cluster_snapshot_identifier(self, input: Option<String>) -> Self
pub fn set_db_cluster_snapshot_identifier(self, input: Option<String>) -> Self
The identifier of the cluster snapshot. This parameter is stored as a lowercase string.
Constraints:
-
Must contain from 1 to 63 letters, numbers, or hyphens.
-
The first character must be a letter.
-
Cannot end with a hyphen or contain two consecutive hyphens.
Example: my-cluster-snapshot1
sourcepub fn get_db_cluster_snapshot_identifier(&self) -> &Option<String>
pub fn get_db_cluster_snapshot_identifier(&self) -> &Option<String>
The identifier of the cluster snapshot. This parameter is stored as a lowercase string.
Constraints:
-
Must contain from 1 to 63 letters, numbers, or hyphens.
-
The first character must be a letter.
-
Cannot end with a hyphen or contain two consecutive hyphens.
Example: my-cluster-snapshot1
sourcepub fn db_cluster_identifier(self, input: impl Into<String>) -> Self
pub fn db_cluster_identifier(self, input: impl Into<String>) -> Self
The identifier of the cluster to create a snapshot for. This parameter is not case sensitive.
Constraints:
-
Must match the identifier of an existing
DBCluster.
Example: my-cluster
sourcepub fn set_db_cluster_identifier(self, input: Option<String>) -> Self
pub fn set_db_cluster_identifier(self, input: Option<String>) -> Self
The identifier of the cluster to create a snapshot for. This parameter is not case sensitive.
Constraints:
-
Must match the identifier of an existing
DBCluster.
Example: my-cluster
sourcepub fn get_db_cluster_identifier(&self) -> &Option<String>
pub fn get_db_cluster_identifier(&self) -> &Option<String>
The identifier of the cluster to create a snapshot for. This parameter is not case sensitive.
Constraints:
-
Must match the identifier of an existing
DBCluster.
Example: my-cluster
Appends an item to tags.
To override the contents of this collection use set_tags.
The tags to be assigned to the cluster snapshot.
The tags to be assigned to the cluster snapshot.
The tags to be assigned to the cluster snapshot.
sourcepub fn build(self) -> Result<CreateDbClusterSnapshotInput, BuildError>
pub fn build(self) -> Result<CreateDbClusterSnapshotInput, BuildError>
Consumes the builder and constructs a CreateDbClusterSnapshotInput.
source§impl CreateDbClusterSnapshotInputBuilder
impl CreateDbClusterSnapshotInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<CreateDbClusterSnapshotOutput, SdkError<CreateDBClusterSnapshotError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<CreateDbClusterSnapshotOutput, SdkError<CreateDBClusterSnapshotError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreateDbClusterSnapshotInputBuilder
impl Clone for CreateDbClusterSnapshotInputBuilder
source§fn clone(&self) -> CreateDbClusterSnapshotInputBuilder
fn clone(&self) -> CreateDbClusterSnapshotInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for CreateDbClusterSnapshotInputBuilder
impl Default for CreateDbClusterSnapshotInputBuilder
source§fn default() -> CreateDbClusterSnapshotInputBuilder
fn default() -> CreateDbClusterSnapshotInputBuilder
source§impl PartialEq for CreateDbClusterSnapshotInputBuilder
impl PartialEq for CreateDbClusterSnapshotInputBuilder
source§fn eq(&self, other: &CreateDbClusterSnapshotInputBuilder) -> bool
fn eq(&self, other: &CreateDbClusterSnapshotInputBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for CreateDbClusterSnapshotInputBuilder
Auto Trait Implementations§
impl Freeze for CreateDbClusterSnapshotInputBuilder
impl RefUnwindSafe for CreateDbClusterSnapshotInputBuilder
impl Send for CreateDbClusterSnapshotInputBuilder
impl Sync for CreateDbClusterSnapshotInputBuilder
impl Unpin for CreateDbClusterSnapshotInputBuilder
impl UnwindSafe for CreateDbClusterSnapshotInputBuilder
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