Struct aws_sdk_elasticloadbalancingv2::operation::describe_target_health::builders::DescribeTargetHealthInputBuilder
source · #[non_exhaustive]pub struct DescribeTargetHealthInputBuilder { /* private fields */ }Expand description
A builder for DescribeTargetHealthInput.
Implementations§
source§impl DescribeTargetHealthInputBuilder
impl DescribeTargetHealthInputBuilder
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.
This field is required.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.
sourcepub fn build(self) -> Result<DescribeTargetHealthInput, BuildError>
pub fn build(self) -> Result<DescribeTargetHealthInput, BuildError>
Consumes the builder and constructs a DescribeTargetHealthInput.
source§impl DescribeTargetHealthInputBuilder
impl DescribeTargetHealthInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<DescribeTargetHealthOutput, SdkError<DescribeTargetHealthError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<DescribeTargetHealthOutput, SdkError<DescribeTargetHealthError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for DescribeTargetHealthInputBuilder
impl Clone for DescribeTargetHealthInputBuilder
source§fn clone(&self) -> DescribeTargetHealthInputBuilder
fn clone(&self) -> DescribeTargetHealthInputBuilder
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 DescribeTargetHealthInputBuilder
impl Default for DescribeTargetHealthInputBuilder
source§fn default() -> DescribeTargetHealthInputBuilder
fn default() -> DescribeTargetHealthInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for DescribeTargetHealthInputBuilder
impl PartialEq for DescribeTargetHealthInputBuilder
source§fn eq(&self, other: &DescribeTargetHealthInputBuilder) -> bool
fn eq(&self, other: &DescribeTargetHealthInputBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for DescribeTargetHealthInputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for DescribeTargetHealthInputBuilder
impl Send for DescribeTargetHealthInputBuilder
impl Sync for DescribeTargetHealthInputBuilder
impl Unpin for DescribeTargetHealthInputBuilder
impl UnwindSafe for DescribeTargetHealthInputBuilder
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.