Struct aws_sdk_elasticloadbalancingv2::operation::create_target_group::builders::CreateTargetGroupOutputBuilder
source · #[non_exhaustive]pub struct CreateTargetGroupOutputBuilder { /* private fields */ }
Expand description
A builder for CreateTargetGroupOutput
.
Implementations§
source§impl CreateTargetGroupOutputBuilder
impl CreateTargetGroupOutputBuilder
sourcepub fn target_groups(self, input: TargetGroup) -> Self
pub fn target_groups(self, input: TargetGroup) -> Self
Appends an item to target_groups
.
To override the contents of this collection use set_target_groups
.
Information about the target group.
sourcepub fn set_target_groups(self, input: Option<Vec<TargetGroup>>) -> Self
pub fn set_target_groups(self, input: Option<Vec<TargetGroup>>) -> Self
Information about the target group.
sourcepub fn get_target_groups(&self) -> &Option<Vec<TargetGroup>>
pub fn get_target_groups(&self) -> &Option<Vec<TargetGroup>>
Information about the target group.
sourcepub fn build(self) -> CreateTargetGroupOutput
pub fn build(self) -> CreateTargetGroupOutput
Consumes the builder and constructs a CreateTargetGroupOutput
.
Trait Implementations§
source§impl Clone for CreateTargetGroupOutputBuilder
impl Clone for CreateTargetGroupOutputBuilder
source§fn clone(&self) -> CreateTargetGroupOutputBuilder
fn clone(&self) -> CreateTargetGroupOutputBuilder
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 CreateTargetGroupOutputBuilder
impl Default for CreateTargetGroupOutputBuilder
source§fn default() -> CreateTargetGroupOutputBuilder
fn default() -> CreateTargetGroupOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for CreateTargetGroupOutputBuilder
impl PartialEq for CreateTargetGroupOutputBuilder
source§fn eq(&self, other: &CreateTargetGroupOutputBuilder) -> bool
fn eq(&self, other: &CreateTargetGroupOutputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CreateTargetGroupOutputBuilder
Auto Trait Implementations§
impl Freeze for CreateTargetGroupOutputBuilder
impl RefUnwindSafe for CreateTargetGroupOutputBuilder
impl Send for CreateTargetGroupOutputBuilder
impl Sync for CreateTargetGroupOutputBuilder
impl Unpin for CreateTargetGroupOutputBuilder
impl UnwindSafe for CreateTargetGroupOutputBuilder
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.