pub struct Builder { /* private fields */ }
Expand description
A builder for LoadBalancerDescription
.
Implementations§
source§impl Builder
impl Builder
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 set_domain(self, input: Option<String>) -> Self
pub fn set_domain(self, input: Option<String>) -> Self
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 build(self) -> LoadBalancerDescription
pub fn build(self) -> LoadBalancerDescription
Consumes the builder and constructs a LoadBalancerDescription
.