#[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<RestartAppServerInput> for RestartAppServerInput
impl PartialEq<RestartAppServerInput> 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 ==
.