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