Struct aws_sdk_securityhub::model::load_balancer_state::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for LoadBalancerState
.
Implementations§
source§impl Builder
impl Builder
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 set_reason(self, input: Option<String>) -> Self
pub fn set_reason(self, input: Option<String>) -> Self
A description of the state.
sourcepub fn build(self) -> LoadBalancerState
pub fn build(self) -> LoadBalancerState
Consumes the builder and constructs a LoadBalancerState
.