pub struct Builder { /* private fields */ }
Expand description
A builder for TargetHealthDescription
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn target(self, input: TargetDescription) -> Self
pub fn target(self, input: TargetDescription) -> Self
The description of the target.
sourcepub fn set_target(self, input: Option<TargetDescription>) -> Self
pub fn set_target(self, input: Option<TargetDescription>) -> Self
The description of the target.
sourcepub fn health_check_port(self, input: impl Into<String>) -> Self
pub fn health_check_port(self, input: impl Into<String>) -> Self
The port to use to connect with the target.
sourcepub fn set_health_check_port(self, input: Option<String>) -> Self
pub fn set_health_check_port(self, input: Option<String>) -> Self
The port to use to connect with the target.
sourcepub fn target_health(self, input: TargetHealth) -> Self
pub fn target_health(self, input: TargetHealth) -> Self
The health information for the target.
sourcepub fn set_target_health(self, input: Option<TargetHealth>) -> Self
pub fn set_target_health(self, input: Option<TargetHealth>) -> Self
The health information for the target.
sourcepub fn build(self) -> TargetHealthDescription
pub fn build(self) -> TargetHealthDescription
Consumes the builder and constructs a TargetHealthDescription
.