#[non_exhaustive]pub struct AwsElbLoadBalancerHealthCheckBuilder { /* private fields */ }
Expand description
A builder for AwsElbLoadBalancerHealthCheck
.
Implementations§
source§impl AwsElbLoadBalancerHealthCheckBuilder
impl AwsElbLoadBalancerHealthCheckBuilder
sourcepub fn healthy_threshold(self, input: i32) -> Self
pub fn healthy_threshold(self, input: i32) -> Self
The number of consecutive health check successes required before the instance is moved to the Healthy state.
sourcepub fn set_healthy_threshold(self, input: Option<i32>) -> Self
pub fn set_healthy_threshold(self, input: Option<i32>) -> Self
The number of consecutive health check successes required before the instance is moved to the Healthy state.
sourcepub fn get_healthy_threshold(&self) -> &Option<i32>
pub fn get_healthy_threshold(&self) -> &Option<i32>
The number of consecutive health check successes required before the instance is moved to the Healthy state.
sourcepub fn interval(self, input: i32) -> Self
pub fn interval(self, input: i32) -> Self
The approximate interval, in seconds, between health checks of an individual instance.
sourcepub fn set_interval(self, input: Option<i32>) -> Self
pub fn set_interval(self, input: Option<i32>) -> Self
The approximate interval, in seconds, between health checks of an individual instance.
sourcepub fn get_interval(&self) -> &Option<i32>
pub fn get_interval(&self) -> &Option<i32>
The approximate interval, in seconds, between health checks of an individual instance.
sourcepub fn target(self, input: impl Into<String>) -> Self
pub fn target(self, input: impl Into<String>) -> Self
The instance that is being checked. The target specifies the protocol and port. The available protocols are TCP, SSL, HTTP, and HTTPS. The range of valid ports is 1 through 65535.
For the HTTP and HTTPS protocols, the target also specifies the ping path.
For the TCP protocol, the target is specified as TCP:
.
For the SSL protocol, the target is specified as SSL.
.
For the HTTP and HTTPS protocols, the target is specified as
.
sourcepub fn set_target(self, input: Option<String>) -> Self
pub fn set_target(self, input: Option<String>) -> Self
The instance that is being checked. The target specifies the protocol and port. The available protocols are TCP, SSL, HTTP, and HTTPS. The range of valid ports is 1 through 65535.
For the HTTP and HTTPS protocols, the target also specifies the ping path.
For the TCP protocol, the target is specified as TCP:
.
For the SSL protocol, the target is specified as SSL.
.
For the HTTP and HTTPS protocols, the target is specified as
.
sourcepub fn get_target(&self) -> &Option<String>
pub fn get_target(&self) -> &Option<String>
The instance that is being checked. The target specifies the protocol and port. The available protocols are TCP, SSL, HTTP, and HTTPS. The range of valid ports is 1 through 65535.
For the HTTP and HTTPS protocols, the target also specifies the ping path.
For the TCP protocol, the target is specified as TCP:
.
For the SSL protocol, the target is specified as SSL.
.
For the HTTP and HTTPS protocols, the target is specified as
.
sourcepub fn timeout(self, input: i32) -> Self
pub fn timeout(self, input: i32) -> Self
The amount of time, in seconds, during which no response means a failed health check.
sourcepub fn set_timeout(self, input: Option<i32>) -> Self
pub fn set_timeout(self, input: Option<i32>) -> Self
The amount of time, in seconds, during which no response means a failed health check.
sourcepub fn get_timeout(&self) -> &Option<i32>
pub fn get_timeout(&self) -> &Option<i32>
The amount of time, in seconds, during which no response means a failed health check.
sourcepub fn unhealthy_threshold(self, input: i32) -> Self
pub fn unhealthy_threshold(self, input: i32) -> Self
The number of consecutive health check failures that must occur before the instance is moved to the Unhealthy state.
sourcepub fn set_unhealthy_threshold(self, input: Option<i32>) -> Self
pub fn set_unhealthy_threshold(self, input: Option<i32>) -> Self
The number of consecutive health check failures that must occur before the instance is moved to the Unhealthy state.
sourcepub fn get_unhealthy_threshold(&self) -> &Option<i32>
pub fn get_unhealthy_threshold(&self) -> &Option<i32>
The number of consecutive health check failures that must occur before the instance is moved to the Unhealthy state.
sourcepub fn build(self) -> AwsElbLoadBalancerHealthCheck
pub fn build(self) -> AwsElbLoadBalancerHealthCheck
Consumes the builder and constructs a AwsElbLoadBalancerHealthCheck
.
Trait Implementations§
source§impl Clone for AwsElbLoadBalancerHealthCheckBuilder
impl Clone for AwsElbLoadBalancerHealthCheckBuilder
source§fn clone(&self) -> AwsElbLoadBalancerHealthCheckBuilder
fn clone(&self) -> AwsElbLoadBalancerHealthCheckBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for AwsElbLoadBalancerHealthCheckBuilder
impl Default for AwsElbLoadBalancerHealthCheckBuilder
source§fn default() -> AwsElbLoadBalancerHealthCheckBuilder
fn default() -> AwsElbLoadBalancerHealthCheckBuilder
source§impl PartialEq for AwsElbLoadBalancerHealthCheckBuilder
impl PartialEq for AwsElbLoadBalancerHealthCheckBuilder
source§fn eq(&self, other: &AwsElbLoadBalancerHealthCheckBuilder) -> bool
fn eq(&self, other: &AwsElbLoadBalancerHealthCheckBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.