Struct aws_sdk_elasticloadbalancingv2::waiters::target_in_service::TargetInServiceFluentBuilder
source · pub struct TargetInServiceFluentBuilder { /* private fields */ }
Expand description
Fluent builder for the target_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 TargetInServiceFluentBuilder
impl TargetInServiceFluentBuilder
sourcepub fn as_input(&self) -> &DescribeTargetHealthInputBuilder
pub fn as_input(&self) -> &DescribeTargetHealthInputBuilder
Access the DescribeTargetHealth as a reference.
sourcepub async fn wait(
self,
max_wait: Duration
) -> Result<TargetInServiceFinalPoll, WaitUntilTargetInServiceError>
pub async fn wait( self, max_wait: Duration ) -> Result<TargetInServiceFinalPoll, WaitUntilTargetInServiceError>
Wait for target_in_service
sourcepub fn target_group_arn(self, input: impl Into<String>) -> Self
pub fn target_group_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the target group.
sourcepub fn set_target_group_arn(self, input: Option<String>) -> Self
pub fn set_target_group_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the target group.
sourcepub fn get_target_group_arn(&self) -> &Option<String>
pub fn get_target_group_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the target group.
sourcepub fn targets(self, input: TargetDescription) -> Self
pub fn targets(self, input: TargetDescription) -> Self
Appends an item to Targets
.
To override the contents of this collection use set_targets
.
The targets.
sourcepub fn set_targets(self, input: Option<Vec<TargetDescription>>) -> Self
pub fn set_targets(self, input: Option<Vec<TargetDescription>>) -> Self
The targets.
sourcepub fn get_targets(&self) -> &Option<Vec<TargetDescription>>
pub fn get_targets(&self) -> &Option<Vec<TargetDescription>>
The targets.
sourcepub fn include(self, input: DescribeTargetHealthInputIncludeEnum) -> Self
pub fn include(self, input: DescribeTargetHealthInputIncludeEnum) -> Self
Appends an item to Include
.
To override the contents of this collection use set_include
.
Used to inclue anomaly detection information.
sourcepub fn set_include(
self,
input: Option<Vec<DescribeTargetHealthInputIncludeEnum>>
) -> Self
pub fn set_include( self, input: Option<Vec<DescribeTargetHealthInputIncludeEnum>> ) -> Self
Used to inclue anomaly detection information.
sourcepub fn get_include(&self) -> &Option<Vec<DescribeTargetHealthInputIncludeEnum>>
pub fn get_include(&self) -> &Option<Vec<DescribeTargetHealthInputIncludeEnum>>
Used to inclue anomaly detection information.
Trait Implementations§
source§impl Clone for TargetInServiceFluentBuilder
impl Clone for TargetInServiceFluentBuilder
source§fn clone(&self) -> TargetInServiceFluentBuilder
fn clone(&self) -> TargetInServiceFluentBuilder
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 TargetInServiceFluentBuilder
impl !RefUnwindSafe for TargetInServiceFluentBuilder
impl Send for TargetInServiceFluentBuilder
impl Sync for TargetInServiceFluentBuilder
impl Unpin for TargetInServiceFluentBuilder
impl !UnwindSafe for TargetInServiceFluentBuilder
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