#[non_exhaustive]pub struct LoadBalancerDescriptionBuilder { /* private fields */ }Expand description
A builder for LoadBalancerDescription.
Implementations§
source§impl LoadBalancerDescriptionBuilder
impl LoadBalancerDescriptionBuilder
sourcepub fn load_balancer_name(self, input: impl Into<String>) -> Self
pub fn load_balancer_name(self, input: impl Into<String>) -> Self
The name of the LoadBalancer.
sourcepub fn set_load_balancer_name(self, input: Option<String>) -> Self
pub fn set_load_balancer_name(self, input: Option<String>) -> Self
The name of the LoadBalancer.
sourcepub fn get_load_balancer_name(&self) -> &Option<String>
pub fn get_load_balancer_name(&self) -> &Option<String>
The name of the LoadBalancer.
sourcepub fn set_domain(self, input: Option<String>) -> Self
pub fn set_domain(self, input: Option<String>) -> Self
The domain name of the LoadBalancer.
sourcepub fn get_domain(&self) -> &Option<String>
pub fn get_domain(&self) -> &Option<String>
The domain name of the LoadBalancer.
sourcepub fn listeners(self, input: Listener) -> Self
pub fn listeners(self, input: Listener) -> Self
Appends an item to listeners.
To override the contents of this collection use set_listeners.
A list of Listeners used by the LoadBalancer.
sourcepub fn set_listeners(self, input: Option<Vec<Listener>>) -> Self
pub fn set_listeners(self, input: Option<Vec<Listener>>) -> Self
A list of Listeners used by the LoadBalancer.
sourcepub fn get_listeners(&self) -> &Option<Vec<Listener>>
pub fn get_listeners(&self) -> &Option<Vec<Listener>>
A list of Listeners used by the LoadBalancer.
sourcepub fn build(self) -> LoadBalancerDescription
pub fn build(self) -> LoadBalancerDescription
Consumes the builder and constructs a LoadBalancerDescription.
Trait Implementations§
source§impl Clone for LoadBalancerDescriptionBuilder
impl Clone for LoadBalancerDescriptionBuilder
source§fn clone(&self) -> LoadBalancerDescriptionBuilder
fn clone(&self) -> LoadBalancerDescriptionBuilder
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 LoadBalancerDescriptionBuilder
impl Default for LoadBalancerDescriptionBuilder
source§fn default() -> LoadBalancerDescriptionBuilder
fn default() -> LoadBalancerDescriptionBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for LoadBalancerDescriptionBuilder
impl PartialEq for LoadBalancerDescriptionBuilder
source§fn eq(&self, other: &LoadBalancerDescriptionBuilder) -> bool
fn eq(&self, other: &LoadBalancerDescriptionBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for LoadBalancerDescriptionBuilder
Auto Trait Implementations§
impl Freeze for LoadBalancerDescriptionBuilder
impl RefUnwindSafe for LoadBalancerDescriptionBuilder
impl Send for LoadBalancerDescriptionBuilder
impl Sync for LoadBalancerDescriptionBuilder
impl Unpin for LoadBalancerDescriptionBuilder
impl UnwindSafe for LoadBalancerDescriptionBuilder
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)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.