Struct aws_sdk_elasticloadbalancing::waiters::any_instance_in_service::AnyInstanceInServiceFluentBuilder
source · pub struct AnyInstanceInServiceFluentBuilder { /* private fields */ }
Expand description
Fluent builder for the any_instance_in_service
waiter.
This builder is intended to be used similar to the other fluent builders for
normal operations on the client. However, instead of a send
method, it has
a wait
method that takes a maximum amount of time to wait.
Construct this fluent builder using the client by importing the
Waiters
trait and calling the methods
prefixed with wait_until
.
Implementations§
source§impl AnyInstanceInServiceFluentBuilder
impl AnyInstanceInServiceFluentBuilder
sourcepub fn as_input(&self) -> &DescribeInstanceHealthInputBuilder
pub fn as_input(&self) -> &DescribeInstanceHealthInputBuilder
Access the DescribeInstanceHealth as a reference.
sourcepub async fn wait(
self,
max_wait: Duration
) -> Result<AnyInstanceInServiceFinalPoll, WaitUntilAnyInstanceInServiceError>
pub async fn wait( self, max_wait: Duration ) -> Result<AnyInstanceInServiceFinalPoll, WaitUntilAnyInstanceInServiceError>
Wait for any_instance_in_service
sourcepub fn load_balancer_name(self, input: impl Into<String>) -> Self
pub fn load_balancer_name(self, input: impl Into<String>) -> Self
The name of the load balancer.
sourcepub fn set_load_balancer_name(self, input: Option<String>) -> Self
pub fn set_load_balancer_name(self, input: Option<String>) -> Self
The name of the load balancer.
sourcepub fn get_load_balancer_name(&self) -> &Option<String>
pub fn get_load_balancer_name(&self) -> &Option<String>
The name of the load balancer.
sourcepub fn instances(self, input: Instance) -> Self
pub fn instances(self, input: Instance) -> Self
Appends an item to Instances
.
To override the contents of this collection use set_instances
.
The IDs of the instances.
sourcepub fn set_instances(self, input: Option<Vec<Instance>>) -> Self
pub fn set_instances(self, input: Option<Vec<Instance>>) -> Self
The IDs of the instances.
sourcepub fn get_instances(&self) -> &Option<Vec<Instance>>
pub fn get_instances(&self) -> &Option<Vec<Instance>>
The IDs of the instances.
Trait Implementations§
source§impl Clone for AnyInstanceInServiceFluentBuilder
impl Clone for AnyInstanceInServiceFluentBuilder
source§fn clone(&self) -> AnyInstanceInServiceFluentBuilder
fn clone(&self) -> AnyInstanceInServiceFluentBuilder
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 moreAuto Trait Implementations§
impl Freeze for AnyInstanceInServiceFluentBuilder
impl !RefUnwindSafe for AnyInstanceInServiceFluentBuilder
impl Send for AnyInstanceInServiceFluentBuilder
impl Sync for AnyInstanceInServiceFluentBuilder
impl Unpin for AnyInstanceInServiceFluentBuilder
impl !UnwindSafe for AnyInstanceInServiceFluentBuilder
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>
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.