#[non_exhaustive]pub struct AnalysisLoadBalancerTargetBuilder { /* private fields */ }
Expand description
A builder for AnalysisLoadBalancerTarget
.
Implementations§
source§impl AnalysisLoadBalancerTargetBuilder
impl AnalysisLoadBalancerTargetBuilder
sourcepub fn set_address(self, input: Option<String>) -> Self
pub fn set_address(self, input: Option<String>) -> Self
The IP address.
sourcepub fn get_address(&self) -> &Option<String>
pub fn get_address(&self) -> &Option<String>
The IP address.
sourcepub fn availability_zone(self, input: impl Into<String>) -> Self
pub fn availability_zone(self, input: impl Into<String>) -> Self
The Availability Zone.
sourcepub fn set_availability_zone(self, input: Option<String>) -> Self
pub fn set_availability_zone(self, input: Option<String>) -> Self
The Availability Zone.
sourcepub fn get_availability_zone(&self) -> &Option<String>
pub fn get_availability_zone(&self) -> &Option<String>
The Availability Zone.
sourcepub fn instance(self, input: AnalysisComponent) -> Self
pub fn instance(self, input: AnalysisComponent) -> Self
Information about the instance.
sourcepub fn set_instance(self, input: Option<AnalysisComponent>) -> Self
pub fn set_instance(self, input: Option<AnalysisComponent>) -> Self
Information about the instance.
sourcepub fn get_instance(&self) -> &Option<AnalysisComponent>
pub fn get_instance(&self) -> &Option<AnalysisComponent>
Information about the instance.
sourcepub fn build(self) -> AnalysisLoadBalancerTarget
pub fn build(self) -> AnalysisLoadBalancerTarget
Consumes the builder and constructs a AnalysisLoadBalancerTarget
.
Trait Implementations§
source§impl Clone for AnalysisLoadBalancerTargetBuilder
impl Clone for AnalysisLoadBalancerTargetBuilder
source§fn clone(&self) -> AnalysisLoadBalancerTargetBuilder
fn clone(&self) -> AnalysisLoadBalancerTargetBuilder
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 AnalysisLoadBalancerTargetBuilder
impl Default for AnalysisLoadBalancerTargetBuilder
source§fn default() -> AnalysisLoadBalancerTargetBuilder
fn default() -> AnalysisLoadBalancerTargetBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for AnalysisLoadBalancerTargetBuilder
impl PartialEq for AnalysisLoadBalancerTargetBuilder
source§fn eq(&self, other: &AnalysisLoadBalancerTargetBuilder) -> bool
fn eq(&self, other: &AnalysisLoadBalancerTargetBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AnalysisLoadBalancerTargetBuilder
Auto Trait Implementations§
impl Freeze for AnalysisLoadBalancerTargetBuilder
impl RefUnwindSafe for AnalysisLoadBalancerTargetBuilder
impl Send for AnalysisLoadBalancerTargetBuilder
impl Sync for AnalysisLoadBalancerTargetBuilder
impl Unpin for AnalysisLoadBalancerTargetBuilder
impl UnwindSafe for AnalysisLoadBalancerTargetBuilder
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.