#[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 get_target(&self) -> &Option<TargetDescription>
pub fn get_target(&self) -> &Option<TargetDescription>
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 get_health_check_port(&self) -> &Option<String>
pub fn get_health_check_port(&self) -> &Option<String>
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 get_target_health(&self) -> &Option<TargetHealth>
pub fn get_target_health(&self) -> &Option<TargetHealth>
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 for TargetHealthDescriptionBuilder
impl PartialEq 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 ==
.impl StructuralPartialEq for TargetHealthDescriptionBuilder
Auto Trait Implementations§
impl RefUnwindSafe for TargetHealthDescriptionBuilder
impl Send for TargetHealthDescriptionBuilder
impl Sync for TargetHealthDescriptionBuilder
impl Unpin for TargetHealthDescriptionBuilder
impl UnwindSafe for TargetHealthDescriptionBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Creates a shared type from an unshared type.