Struct aws_sdk_elasticbeanstalk::operation::describe_instances_health::builders::DescribeInstancesHealthInputBuilder
source · #[non_exhaustive]pub struct DescribeInstancesHealthInputBuilder { /* private fields */ }
Expand description
A builder for DescribeInstancesHealthInput
.
Implementations§
source§impl DescribeInstancesHealthInputBuilder
impl DescribeInstancesHealthInputBuilder
sourcepub fn environment_name(self, input: impl Into<String>) -> Self
pub fn environment_name(self, input: impl Into<String>) -> Self
Specify the AWS Elastic Beanstalk environment by name.
sourcepub fn set_environment_name(self, input: Option<String>) -> Self
pub fn set_environment_name(self, input: Option<String>) -> Self
Specify the AWS Elastic Beanstalk environment by name.
sourcepub fn get_environment_name(&self) -> &Option<String>
pub fn get_environment_name(&self) -> &Option<String>
Specify the AWS Elastic Beanstalk environment by name.
sourcepub fn environment_id(self, input: impl Into<String>) -> Self
pub fn environment_id(self, input: impl Into<String>) -> Self
Specify the AWS Elastic Beanstalk environment by ID.
sourcepub fn set_environment_id(self, input: Option<String>) -> Self
pub fn set_environment_id(self, input: Option<String>) -> Self
Specify the AWS Elastic Beanstalk environment by ID.
sourcepub fn get_environment_id(&self) -> &Option<String>
pub fn get_environment_id(&self) -> &Option<String>
Specify the AWS Elastic Beanstalk environment by ID.
sourcepub fn attribute_names(self, input: InstancesHealthAttribute) -> Self
pub fn attribute_names(self, input: InstancesHealthAttribute) -> Self
Appends an item to attribute_names
.
To override the contents of this collection use set_attribute_names
.
Specifies the response elements you wish to receive. To retrieve all attributes, set to All
. If no attribute names are specified, returns a list of instances.
sourcepub fn set_attribute_names(
self,
input: Option<Vec<InstancesHealthAttribute>>
) -> Self
pub fn set_attribute_names( self, input: Option<Vec<InstancesHealthAttribute>> ) -> Self
Specifies the response elements you wish to receive. To retrieve all attributes, set to All
. If no attribute names are specified, returns a list of instances.
sourcepub fn get_attribute_names(&self) -> &Option<Vec<InstancesHealthAttribute>>
pub fn get_attribute_names(&self) -> &Option<Vec<InstancesHealthAttribute>>
Specifies the response elements you wish to receive. To retrieve all attributes, set to All
. If no attribute names are specified, returns a list of instances.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
Specify the pagination token returned by a previous call.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
Specify the pagination token returned by a previous call.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
Specify the pagination token returned by a previous call.
sourcepub fn build(self) -> Result<DescribeInstancesHealthInput, BuildError>
pub fn build(self) -> Result<DescribeInstancesHealthInput, BuildError>
Consumes the builder and constructs a DescribeInstancesHealthInput
.
source§impl DescribeInstancesHealthInputBuilder
impl DescribeInstancesHealthInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<DescribeInstancesHealthOutput, SdkError<DescribeInstancesHealthError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<DescribeInstancesHealthOutput, SdkError<DescribeInstancesHealthError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for DescribeInstancesHealthInputBuilder
impl Clone for DescribeInstancesHealthInputBuilder
source§fn clone(&self) -> DescribeInstancesHealthInputBuilder
fn clone(&self) -> DescribeInstancesHealthInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for DescribeInstancesHealthInputBuilder
impl Default for DescribeInstancesHealthInputBuilder
source§fn default() -> DescribeInstancesHealthInputBuilder
fn default() -> DescribeInstancesHealthInputBuilder
source§impl PartialEq for DescribeInstancesHealthInputBuilder
impl PartialEq for DescribeInstancesHealthInputBuilder
source§fn eq(&self, other: &DescribeInstancesHealthInputBuilder) -> bool
fn eq(&self, other: &DescribeInstancesHealthInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DescribeInstancesHealthInputBuilder
Auto Trait Implementations§
impl Freeze for DescribeInstancesHealthInputBuilder
impl RefUnwindSafe for DescribeInstancesHealthInputBuilder
impl Send for DescribeInstancesHealthInputBuilder
impl Sync for DescribeInstancesHealthInputBuilder
impl Unpin for DescribeInstancesHealthInputBuilder
impl UnwindSafe for DescribeInstancesHealthInputBuilder
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