Struct aws_sdk_elasticbeanstalk::operation::describe_environment_health::builders::DescribeEnvironmentHealthInputBuilder
source · #[non_exhaustive]pub struct DescribeEnvironmentHealthInputBuilder { /* private fields */ }
Expand description
A builder for DescribeEnvironmentHealthInput
.
Implementations§
source§impl DescribeEnvironmentHealthInputBuilder
impl DescribeEnvironmentHealthInputBuilder
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 attribute_names
.
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.
sourcepub fn build(self) -> Result<DescribeEnvironmentHealthInput, BuildError>
pub fn build(self) -> Result<DescribeEnvironmentHealthInput, BuildError>
Consumes the builder and constructs a DescribeEnvironmentHealthInput
.
source§impl DescribeEnvironmentHealthInputBuilder
impl DescribeEnvironmentHealthInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<DescribeEnvironmentHealthOutput, SdkError<DescribeEnvironmentHealthError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<DescribeEnvironmentHealthOutput, SdkError<DescribeEnvironmentHealthError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for DescribeEnvironmentHealthInputBuilder
impl Clone for DescribeEnvironmentHealthInputBuilder
source§fn clone(&self) -> DescribeEnvironmentHealthInputBuilder
fn clone(&self) -> DescribeEnvironmentHealthInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for DescribeEnvironmentHealthInputBuilder
impl Default for DescribeEnvironmentHealthInputBuilder
source§fn default() -> DescribeEnvironmentHealthInputBuilder
fn default() -> DescribeEnvironmentHealthInputBuilder
source§impl PartialEq for DescribeEnvironmentHealthInputBuilder
impl PartialEq for DescribeEnvironmentHealthInputBuilder
source§fn eq(&self, other: &DescribeEnvironmentHealthInputBuilder) -> bool
fn eq(&self, other: &DescribeEnvironmentHealthInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DescribeEnvironmentHealthInputBuilder
Auto Trait Implementations§
impl Freeze for DescribeEnvironmentHealthInputBuilder
impl RefUnwindSafe for DescribeEnvironmentHealthInputBuilder
impl Send for DescribeEnvironmentHealthInputBuilder
impl Sync for DescribeEnvironmentHealthInputBuilder
impl Unpin for DescribeEnvironmentHealthInputBuilder
impl UnwindSafe for DescribeEnvironmentHealthInputBuilder
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