Struct aws_sdk_lightsail::operation::stop_relational_database::builders::StopRelationalDatabaseFluentBuilder
source · pub struct StopRelationalDatabaseFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to StopRelationalDatabase
.
Stops a specific database that is currently running in Amazon Lightsail.
The stop relational database
operation supports tag-based access control via resource tags applied to the resource identified by relationalDatabaseName. For more information, see the Amazon Lightsail Developer Guide.
Implementations§
source§impl StopRelationalDatabaseFluentBuilder
impl StopRelationalDatabaseFluentBuilder
sourcepub fn as_input(&self) -> &StopRelationalDatabaseInputBuilder
pub fn as_input(&self) -> &StopRelationalDatabaseInputBuilder
Access the StopRelationalDatabase as a reference.
sourcepub async fn send(
self
) -> Result<StopRelationalDatabaseOutput, SdkError<StopRelationalDatabaseError, HttpResponse>>
pub async fn send( self ) -> Result<StopRelationalDatabaseOutput, SdkError<StopRelationalDatabaseError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn customize(
self
) -> CustomizableOperation<StopRelationalDatabaseOutput, StopRelationalDatabaseError, Self>
pub fn customize( self ) -> CustomizableOperation<StopRelationalDatabaseOutput, StopRelationalDatabaseError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
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 your database to stop.
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 your database to stop.
sourcepub fn get_relational_database_name(&self) -> &Option<String>
pub fn get_relational_database_name(&self) -> &Option<String>
The name of your database to stop.
sourcepub fn relational_database_snapshot_name(self, input: impl Into<String>) -> Self
pub fn relational_database_snapshot_name(self, input: impl Into<String>) -> Self
The name of your new database snapshot to be created before stopping your database.
sourcepub fn set_relational_database_snapshot_name(
self,
input: Option<String>
) -> Self
pub fn set_relational_database_snapshot_name( self, input: Option<String> ) -> Self
The name of your new database snapshot to be created before stopping your database.
sourcepub fn get_relational_database_snapshot_name(&self) -> &Option<String>
pub fn get_relational_database_snapshot_name(&self) -> &Option<String>
The name of your new database snapshot to be created before stopping your database.
Trait Implementations§
source§impl Clone for StopRelationalDatabaseFluentBuilder
impl Clone for StopRelationalDatabaseFluentBuilder
source§fn clone(&self) -> StopRelationalDatabaseFluentBuilder
fn clone(&self) -> StopRelationalDatabaseFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreAuto Trait Implementations§
impl Freeze for StopRelationalDatabaseFluentBuilder
impl !RefUnwindSafe for StopRelationalDatabaseFluentBuilder
impl Send for StopRelationalDatabaseFluentBuilder
impl Sync for StopRelationalDatabaseFluentBuilder
impl Unpin for StopRelationalDatabaseFluentBuilder
impl !UnwindSafe for StopRelationalDatabaseFluentBuilder
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