Struct aws_sdk_lightsail::operation::delete_relational_database::builders::DeleteRelationalDatabaseInputBuilder
source · #[non_exhaustive]pub struct DeleteRelationalDatabaseInputBuilder { /* private fields */ }
Expand description
A builder for DeleteRelationalDatabaseInput
.
Implementations§
source§impl DeleteRelationalDatabaseInputBuilder
impl DeleteRelationalDatabaseInputBuilder
sourcepub fn relational_database_name(self, input: impl Into<String>) -> Self
pub fn relational_database_name(self, input: impl Into<String>) -> Self
The name of the database that you are deleting.
This field is required.sourcepub fn set_relational_database_name(self, input: Option<String>) -> Self
pub fn set_relational_database_name(self, input: Option<String>) -> Self
The name of the database that you are deleting.
sourcepub fn get_relational_database_name(&self) -> &Option<String>
pub fn get_relational_database_name(&self) -> &Option<String>
The name of the database that you are deleting.
sourcepub fn skip_final_snapshot(self, input: bool) -> Self
pub fn skip_final_snapshot(self, input: bool) -> Self
Determines whether a final database snapshot is created before your database is deleted. If true
is specified, no database snapshot is created. If false
is specified, a database snapshot is created before your database is deleted.
You must specify the final relational database snapshot name
parameter if the skip final snapshot
parameter is false
.
Default: false
sourcepub fn set_skip_final_snapshot(self, input: Option<bool>) -> Self
pub fn set_skip_final_snapshot(self, input: Option<bool>) -> Self
Determines whether a final database snapshot is created before your database is deleted. If true
is specified, no database snapshot is created. If false
is specified, a database snapshot is created before your database is deleted.
You must specify the final relational database snapshot name
parameter if the skip final snapshot
parameter is false
.
Default: false
sourcepub fn get_skip_final_snapshot(&self) -> &Option<bool>
pub fn get_skip_final_snapshot(&self) -> &Option<bool>
Determines whether a final database snapshot is created before your database is deleted. If true
is specified, no database snapshot is created. If false
is specified, a database snapshot is created before your database is deleted.
You must specify the final relational database snapshot name
parameter if the skip final snapshot
parameter is false
.
Default: false
sourcepub fn final_relational_database_snapshot_name(
self,
input: impl Into<String>
) -> Self
pub fn final_relational_database_snapshot_name( self, input: impl Into<String> ) -> Self
The name of the database snapshot created if skip final snapshot
is false
, which is the default value for that parameter.
Specifying this parameter and also specifying the skip final snapshot
parameter to true
results in an error.
Constraints:
-
Must contain from 2 to 255 alphanumeric characters, or hyphens.
-
The first and last character must be a letter or number.
sourcepub fn set_final_relational_database_snapshot_name(
self,
input: Option<String>
) -> Self
pub fn set_final_relational_database_snapshot_name( self, input: Option<String> ) -> Self
The name of the database snapshot created if skip final snapshot
is false
, which is the default value for that parameter.
Specifying this parameter and also specifying the skip final snapshot
parameter to true
results in an error.
Constraints:
-
Must contain from 2 to 255 alphanumeric characters, or hyphens.
-
The first and last character must be a letter or number.
sourcepub fn get_final_relational_database_snapshot_name(&self) -> &Option<String>
pub fn get_final_relational_database_snapshot_name(&self) -> &Option<String>
The name of the database snapshot created if skip final snapshot
is false
, which is the default value for that parameter.
Specifying this parameter and also specifying the skip final snapshot
parameter to true
results in an error.
Constraints:
-
Must contain from 2 to 255 alphanumeric characters, or hyphens.
-
The first and last character must be a letter or number.
sourcepub fn build(self) -> Result<DeleteRelationalDatabaseInput, BuildError>
pub fn build(self) -> Result<DeleteRelationalDatabaseInput, BuildError>
Consumes the builder and constructs a DeleteRelationalDatabaseInput
.
source§impl DeleteRelationalDatabaseInputBuilder
impl DeleteRelationalDatabaseInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<DeleteRelationalDatabaseOutput, SdkError<DeleteRelationalDatabaseError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<DeleteRelationalDatabaseOutput, SdkError<DeleteRelationalDatabaseError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for DeleteRelationalDatabaseInputBuilder
impl Clone for DeleteRelationalDatabaseInputBuilder
source§fn clone(&self) -> DeleteRelationalDatabaseInputBuilder
fn clone(&self) -> DeleteRelationalDatabaseInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for DeleteRelationalDatabaseInputBuilder
impl Default for DeleteRelationalDatabaseInputBuilder
source§fn default() -> DeleteRelationalDatabaseInputBuilder
fn default() -> DeleteRelationalDatabaseInputBuilder
source§impl PartialEq for DeleteRelationalDatabaseInputBuilder
impl PartialEq for DeleteRelationalDatabaseInputBuilder
source§fn eq(&self, other: &DeleteRelationalDatabaseInputBuilder) -> bool
fn eq(&self, other: &DeleteRelationalDatabaseInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DeleteRelationalDatabaseInputBuilder
Auto Trait Implementations§
impl Freeze for DeleteRelationalDatabaseInputBuilder
impl RefUnwindSafe for DeleteRelationalDatabaseInputBuilder
impl Send for DeleteRelationalDatabaseInputBuilder
impl Sync for DeleteRelationalDatabaseInputBuilder
impl Unpin for DeleteRelationalDatabaseInputBuilder
impl UnwindSafe for DeleteRelationalDatabaseInputBuilder
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