#[non_exhaustive]pub struct StopApplicationInput {
pub application_id: Option<String>,
pub stop_connected_entity: Option<ConnectedEntityType>,
pub include_ec2_instance_shutdown: Option<bool>,
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.application_id: Option<String>The ID of the application.
stop_connected_entity: Option<ConnectedEntityType>Specify the ConnectedEntityType. Accepted type is DBMS.
If this parameter is included, the connected DBMS (Database Management System) will be stopped.
include_ec2_instance_shutdown: Option<bool>Boolean. If included and if set to True, the StopApplication operation will shut down the associated Amazon EC2 instance in addition to the application.
Implementations§
source§impl StopApplicationInput
impl StopApplicationInput
sourcepub fn application_id(&self) -> Option<&str>
pub fn application_id(&self) -> Option<&str>
The ID of the application.
sourcepub fn stop_connected_entity(&self) -> Option<&ConnectedEntityType>
pub fn stop_connected_entity(&self) -> Option<&ConnectedEntityType>
Specify the ConnectedEntityType. Accepted type is DBMS.
If this parameter is included, the connected DBMS (Database Management System) will be stopped.
sourcepub fn include_ec2_instance_shutdown(&self) -> Option<bool>
pub fn include_ec2_instance_shutdown(&self) -> Option<bool>
Boolean. If included and if set to True, the StopApplication operation will shut down the associated Amazon EC2 instance in addition to the application.
source§impl StopApplicationInput
impl StopApplicationInput
sourcepub fn builder() -> StopApplicationInputBuilder
pub fn builder() -> StopApplicationInputBuilder
Creates a new builder-style object to manufacture StopApplicationInput.
Trait Implementations§
source§impl Clone for StopApplicationInput
impl Clone for StopApplicationInput
source§fn clone(&self) -> StopApplicationInput
fn clone(&self) -> StopApplicationInput
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for StopApplicationInput
impl Debug for StopApplicationInput
source§impl PartialEq for StopApplicationInput
impl PartialEq for StopApplicationInput
source§fn eq(&self, other: &StopApplicationInput) -> bool
fn eq(&self, other: &StopApplicationInput) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for StopApplicationInput
Auto Trait Implementations§
impl Freeze for StopApplicationInput
impl RefUnwindSafe for StopApplicationInput
impl Send for StopApplicationInput
impl Sync for StopApplicationInput
impl Unpin for StopApplicationInput
impl UnwindSafe for StopApplicationInput
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
Mutably borrows from an owned value. Read more
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.