Struct aws_sdk_elasticloadbalancing::operation::describe_instance_health::builders::DescribeInstanceHealthOutputBuilder
source · #[non_exhaustive]pub struct DescribeInstanceHealthOutputBuilder { /* private fields */ }Expand description
A builder for DescribeInstanceHealthOutput.
Implementations§
source§impl DescribeInstanceHealthOutputBuilder
impl DescribeInstanceHealthOutputBuilder
sourcepub fn instance_states(self, input: InstanceState) -> Self
pub fn instance_states(self, input: InstanceState) -> Self
Appends an item to instance_states.
To override the contents of this collection use set_instance_states.
Information about the health of the instances.
sourcepub fn set_instance_states(self, input: Option<Vec<InstanceState>>) -> Self
pub fn set_instance_states(self, input: Option<Vec<InstanceState>>) -> Self
Information about the health of the instances.
sourcepub fn get_instance_states(&self) -> &Option<Vec<InstanceState>>
pub fn get_instance_states(&self) -> &Option<Vec<InstanceState>>
Information about the health of the instances.
sourcepub fn build(self) -> DescribeInstanceHealthOutput
pub fn build(self) -> DescribeInstanceHealthOutput
Consumes the builder and constructs a DescribeInstanceHealthOutput.
Trait Implementations§
source§impl Clone for DescribeInstanceHealthOutputBuilder
impl Clone for DescribeInstanceHealthOutputBuilder
source§fn clone(&self) -> DescribeInstanceHealthOutputBuilder
fn clone(&self) -> DescribeInstanceHealthOutputBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Default for DescribeInstanceHealthOutputBuilder
impl Default for DescribeInstanceHealthOutputBuilder
source§fn default() -> DescribeInstanceHealthOutputBuilder
fn default() -> DescribeInstanceHealthOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for DescribeInstanceHealthOutputBuilder
impl PartialEq for DescribeInstanceHealthOutputBuilder
source§fn eq(&self, other: &DescribeInstanceHealthOutputBuilder) -> bool
fn eq(&self, other: &DescribeInstanceHealthOutputBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for DescribeInstanceHealthOutputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for DescribeInstanceHealthOutputBuilder
impl Send for DescribeInstanceHealthOutputBuilder
impl Sync for DescribeInstanceHealthOutputBuilder
impl Unpin for DescribeInstanceHealthOutputBuilder
impl UnwindSafe for DescribeInstanceHealthOutputBuilder
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
Mutably borrows from an owned value. Read more
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>
Creates a shared type from an unshared type.