Struct aws_sdk_elasticbeanstalk::operation::describe_environment_health::builders::DescribeEnvironmentHealthFluentBuilder
source · pub struct DescribeEnvironmentHealthFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to DescribeEnvironmentHealth
.
Returns information about the overall health of the specified environment. The DescribeEnvironmentHealth operation is only available with AWS Elastic Beanstalk Enhanced Health.
Implementations§
source§impl DescribeEnvironmentHealthFluentBuilder
impl DescribeEnvironmentHealthFluentBuilder
sourcepub fn as_input(&self) -> &DescribeEnvironmentHealthInputBuilder
pub fn as_input(&self) -> &DescribeEnvironmentHealthInputBuilder
Access the DescribeEnvironmentHealth as a reference.
sourcepub async fn send(
self
) -> Result<DescribeEnvironmentHealthOutput, SdkError<DescribeEnvironmentHealthError, HttpResponse>>
pub async fn send( self ) -> Result<DescribeEnvironmentHealthOutput, SdkError<DescribeEnvironmentHealthError, 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<DescribeEnvironmentHealthOutput, DescribeEnvironmentHealthError, Self>
pub fn customize( self ) -> CustomizableOperation<DescribeEnvironmentHealthOutput, DescribeEnvironmentHealthError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn environment_name(self, input: impl Into<String>) -> Self
pub fn environment_name(self, input: impl Into<String>) -> Self
Specify the environment by name.
You must specify either this or an EnvironmentName, or both.
sourcepub fn set_environment_name(self, input: Option<String>) -> Self
pub fn set_environment_name(self, input: Option<String>) -> Self
Specify the environment by name.
You must specify either this or an EnvironmentName, or both.
sourcepub fn get_environment_name(&self) -> &Option<String>
pub fn get_environment_name(&self) -> &Option<String>
Specify the environment by name.
You must specify either this or an EnvironmentName, or both.
sourcepub fn environment_id(self, input: impl Into<String>) -> Self
pub fn environment_id(self, input: impl Into<String>) -> Self
Specify the environment by ID.
You must specify either this or an EnvironmentName, or both.
sourcepub fn set_environment_id(self, input: Option<String>) -> Self
pub fn set_environment_id(self, input: Option<String>) -> Self
Specify the environment by ID.
You must specify either this or an EnvironmentName, or both.
sourcepub fn get_environment_id(&self) -> &Option<String>
pub fn get_environment_id(&self) -> &Option<String>
Specify the environment by ID.
You must specify either this or an EnvironmentName, or both.
sourcepub fn attribute_names(self, input: EnvironmentHealthAttribute) -> Self
pub fn attribute_names(self, input: EnvironmentHealthAttribute) -> Self
Appends an item to AttributeNames
.
To override the contents of this collection use set_attribute_names
.
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.
sourcepub fn set_attribute_names(
self,
input: Option<Vec<EnvironmentHealthAttribute>>
) -> Self
pub fn set_attribute_names( self, input: Option<Vec<EnvironmentHealthAttribute>> ) -> Self
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.
sourcepub fn get_attribute_names(&self) -> &Option<Vec<EnvironmentHealthAttribute>>
pub fn get_attribute_names(&self) -> &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.
Trait Implementations§
source§impl Clone for DescribeEnvironmentHealthFluentBuilder
impl Clone for DescribeEnvironmentHealthFluentBuilder
source§fn clone(&self) -> DescribeEnvironmentHealthFluentBuilder
fn clone(&self) -> DescribeEnvironmentHealthFluentBuilder
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 DescribeEnvironmentHealthFluentBuilder
impl !RefUnwindSafe for DescribeEnvironmentHealthFluentBuilder
impl Send for DescribeEnvironmentHealthFluentBuilder
impl Sync for DescribeEnvironmentHealthFluentBuilder
impl Unpin for DescribeEnvironmentHealthFluentBuilder
impl !UnwindSafe for DescribeEnvironmentHealthFluentBuilder
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