#[non_exhaustive]pub struct RestartAppServerInput {
pub environment_id: Option<String>,
pub environment_name: Option<String>,
}
Expand description
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.environment_id: Option<String>
The ID of the environment to restart the server for.
Condition: You must specify either this or an EnvironmentName, or both. If you do not specify either, AWS Elastic Beanstalk returns MissingRequiredParameter
error.
environment_name: Option<String>
The name of the environment to restart the server for.
Condition: You must specify either this or an EnvironmentId, or both. If you do not specify either, AWS Elastic Beanstalk returns MissingRequiredParameter
error.
Implementations§
source§impl RestartAppServerInput
impl RestartAppServerInput
sourcepub fn environment_id(&self) -> Option<&str>
pub fn environment_id(&self) -> Option<&str>
The ID of the environment to restart the server for.
Condition: You must specify either this or an EnvironmentName, or both. If you do not specify either, AWS Elastic Beanstalk returns MissingRequiredParameter
error.
sourcepub fn environment_name(&self) -> Option<&str>
pub fn environment_name(&self) -> Option<&str>
The name of the environment to restart the server for.
Condition: You must specify either this or an EnvironmentId, or both. If you do not specify either, AWS Elastic Beanstalk returns MissingRequiredParameter
error.
source§impl RestartAppServerInput
impl RestartAppServerInput
sourcepub fn builder() -> RestartAppServerInputBuilder
pub fn builder() -> RestartAppServerInputBuilder
Creates a new builder-style object to manufacture RestartAppServerInput
.
Trait Implementations§
source§impl Clone for RestartAppServerInput
impl Clone for RestartAppServerInput
source§fn clone(&self) -> RestartAppServerInput
fn clone(&self) -> RestartAppServerInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for RestartAppServerInput
impl Debug for RestartAppServerInput
source§impl PartialEq for RestartAppServerInput
impl PartialEq for RestartAppServerInput
source§fn eq(&self, other: &RestartAppServerInput) -> bool
fn eq(&self, other: &RestartAppServerInput) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for RestartAppServerInput
Auto Trait Implementations§
impl Freeze for RestartAppServerInput
impl RefUnwindSafe for RestartAppServerInput
impl Send for RestartAppServerInput
impl Sync for RestartAppServerInput
impl Unpin for RestartAppServerInput
impl UnwindSafe for RestartAppServerInput
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