#[non_exhaustive]pub struct TargetHealthDescriptionBuilder { /* private fields */ }
Expand description
A builder for TargetHealthDescription
.
Implementations§
source§impl TargetHealthDescriptionBuilder
impl TargetHealthDescriptionBuilder
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
.
Trait Implementations§
source§impl Clone for TargetHealthDescriptionBuilder
impl Clone for TargetHealthDescriptionBuilder
source§fn clone(&self) -> TargetHealthDescriptionBuilder
fn clone(&self) -> TargetHealthDescriptionBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Default for TargetHealthDescriptionBuilder
impl Default for TargetHealthDescriptionBuilder
source§fn default() -> TargetHealthDescriptionBuilder
fn default() -> TargetHealthDescriptionBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<TargetHealthDescriptionBuilder> for TargetHealthDescriptionBuilder
impl PartialEq<TargetHealthDescriptionBuilder> for TargetHealthDescriptionBuilder
source§fn eq(&self, other: &TargetHealthDescriptionBuilder) -> bool
fn eq(&self, other: &TargetHealthDescriptionBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.