#[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<LoadBalancerDescriptionBuilder> for LoadBalancerDescriptionBuilder
impl PartialEq<LoadBalancerDescriptionBuilder> 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 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