Struct aws_sdk_elasticbeanstalk::operation::describe_environment_health::DescribeEnvironmentHealthInput
source · #[non_exhaustive]pub struct DescribeEnvironmentHealthInput {
pub environment_name: Option<String>,
pub environment_id: Option<String>,
pub attribute_names: Option<Vec<EnvironmentHealthAttribute>>,
}
Expand description
See the example below to learn how to create a request body.
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_name: Option<String>
Specify the environment by name.
You must specify either this or an EnvironmentName, or both.
environment_id: Option<String>
Specify the environment by ID.
You must specify either this or an EnvironmentName, or both.
attribute_names: Option<Vec<EnvironmentHealthAttribute>>
Specify the response elements to return. To retrieve all attributes, set to All
. If no attribute names are specified, returns the name of the environment.
Implementations§
source§impl DescribeEnvironmentHealthInput
impl DescribeEnvironmentHealthInput
sourcepub fn environment_name(&self) -> Option<&str>
pub fn environment_name(&self) -> Option<&str>
Specify the environment by name.
You must specify either this or an EnvironmentName, or both.
sourcepub fn environment_id(&self) -> Option<&str>
pub fn environment_id(&self) -> Option<&str>
Specify the environment by ID.
You must specify either this or an EnvironmentName, or both.
sourcepub fn attribute_names(&self) -> &[EnvironmentHealthAttribute]
pub fn attribute_names(&self) -> &[EnvironmentHealthAttribute]
Specify the response elements to return. To retrieve all attributes, set to All
. If no attribute names are specified, returns the name of the environment.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .attribute_names.is_none()
.
source§impl DescribeEnvironmentHealthInput
impl DescribeEnvironmentHealthInput
sourcepub fn builder() -> DescribeEnvironmentHealthInputBuilder
pub fn builder() -> DescribeEnvironmentHealthInputBuilder
Creates a new builder-style object to manufacture DescribeEnvironmentHealthInput
.
Trait Implementations§
source§impl Clone for DescribeEnvironmentHealthInput
impl Clone for DescribeEnvironmentHealthInput
source§fn clone(&self) -> DescribeEnvironmentHealthInput
fn clone(&self) -> DescribeEnvironmentHealthInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for DescribeEnvironmentHealthInput
impl PartialEq for DescribeEnvironmentHealthInput
source§fn eq(&self, other: &DescribeEnvironmentHealthInput) -> bool
fn eq(&self, other: &DescribeEnvironmentHealthInput) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DescribeEnvironmentHealthInput
Auto Trait Implementations§
impl Freeze for DescribeEnvironmentHealthInput
impl RefUnwindSafe for DescribeEnvironmentHealthInput
impl Send for DescribeEnvironmentHealthInput
impl Sync for DescribeEnvironmentHealthInput
impl Unpin for DescribeEnvironmentHealthInput
impl UnwindSafe for DescribeEnvironmentHealthInput
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