#[non_exhaustive]pub struct LoadBalancerStateBuilder { /* private fields */ }
Expand description
A builder for LoadBalancerState
.
Implementations§
source§impl LoadBalancerStateBuilder
impl LoadBalancerStateBuilder
sourcepub fn code(self, input: impl Into<String>) -> Self
pub fn code(self, input: impl Into<String>) -> Self
The state code. The initial state of the load balancer is provisioning.
After the load balancer is fully set up and ready to route traffic, its state is active.
If the load balancer could not be set up, its state is failed.
sourcepub fn set_code(self, input: Option<String>) -> Self
pub fn set_code(self, input: Option<String>) -> Self
The state code. The initial state of the load balancer is provisioning.
After the load balancer is fully set up and ready to route traffic, its state is active.
If the load balancer could not be set up, its state is failed.
sourcepub fn get_code(&self) -> &Option<String>
pub fn get_code(&self) -> &Option<String>
The state code. The initial state of the load balancer is provisioning.
After the load balancer is fully set up and ready to route traffic, its state is active.
If the load balancer could not be set up, its state is failed.
sourcepub fn set_reason(self, input: Option<String>) -> Self
pub fn set_reason(self, input: Option<String>) -> Self
A description of the state.
sourcepub fn get_reason(&self) -> &Option<String>
pub fn get_reason(&self) -> &Option<String>
A description of the state.
sourcepub fn build(self) -> LoadBalancerState
pub fn build(self) -> LoadBalancerState
Consumes the builder and constructs a LoadBalancerState
.
Trait Implementations§
source§impl Clone for LoadBalancerStateBuilder
impl Clone for LoadBalancerStateBuilder
source§fn clone(&self) -> LoadBalancerStateBuilder
fn clone(&self) -> LoadBalancerStateBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for LoadBalancerStateBuilder
impl Debug for LoadBalancerStateBuilder
source§impl Default for LoadBalancerStateBuilder
impl Default for LoadBalancerStateBuilder
source§fn default() -> LoadBalancerStateBuilder
fn default() -> LoadBalancerStateBuilder
source§impl PartialEq for LoadBalancerStateBuilder
impl PartialEq for LoadBalancerStateBuilder
source§fn eq(&self, other: &LoadBalancerStateBuilder) -> bool
fn eq(&self, other: &LoadBalancerStateBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.