Struct aws_sdk_elasticloadbalancing::operation::configure_health_check::builders::ConfigureHealthCheckInputBuilder
source · #[non_exhaustive]pub struct ConfigureHealthCheckInputBuilder { /* private fields */ }
Expand description
A builder for ConfigureHealthCheckInput
.
Implementations§
source§impl ConfigureHealthCheckInputBuilder
impl ConfigureHealthCheckInputBuilder
sourcepub fn load_balancer_name(self, input: impl Into<String>) -> Self
pub fn load_balancer_name(self, input: impl Into<String>) -> Self
The name of the load balancer.
This field is required.sourcepub fn set_load_balancer_name(self, input: Option<String>) -> Self
pub fn set_load_balancer_name(self, input: Option<String>) -> Self
The name of the load balancer.
sourcepub fn get_load_balancer_name(&self) -> &Option<String>
pub fn get_load_balancer_name(&self) -> &Option<String>
The name of the load balancer.
sourcepub fn health_check(self, input: HealthCheck) -> Self
pub fn health_check(self, input: HealthCheck) -> Self
The configuration information.
This field is required.sourcepub fn set_health_check(self, input: Option<HealthCheck>) -> Self
pub fn set_health_check(self, input: Option<HealthCheck>) -> Self
The configuration information.
sourcepub fn get_health_check(&self) -> &Option<HealthCheck>
pub fn get_health_check(&self) -> &Option<HealthCheck>
The configuration information.
sourcepub fn build(self) -> Result<ConfigureHealthCheckInput, BuildError>
pub fn build(self) -> Result<ConfigureHealthCheckInput, BuildError>
Consumes the builder and constructs a ConfigureHealthCheckInput
.
source§impl ConfigureHealthCheckInputBuilder
impl ConfigureHealthCheckInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<ConfigureHealthCheckOutput, SdkError<ConfigureHealthCheckError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<ConfigureHealthCheckOutput, SdkError<ConfigureHealthCheckError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for ConfigureHealthCheckInputBuilder
impl Clone for ConfigureHealthCheckInputBuilder
source§fn clone(&self) -> ConfigureHealthCheckInputBuilder
fn clone(&self) -> ConfigureHealthCheckInputBuilder
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 ConfigureHealthCheckInputBuilder
impl Default for ConfigureHealthCheckInputBuilder
source§fn default() -> ConfigureHealthCheckInputBuilder
fn default() -> ConfigureHealthCheckInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for ConfigureHealthCheckInputBuilder
impl PartialEq for ConfigureHealthCheckInputBuilder
source§fn eq(&self, other: &ConfigureHealthCheckInputBuilder) -> bool
fn eq(&self, other: &ConfigureHealthCheckInputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ConfigureHealthCheckInputBuilder
Auto Trait Implementations§
impl Freeze for ConfigureHealthCheckInputBuilder
impl RefUnwindSafe for ConfigureHealthCheckInputBuilder
impl Send for ConfigureHealthCheckInputBuilder
impl Sync for ConfigureHealthCheckInputBuilder
impl Unpin for ConfigureHealthCheckInputBuilder
impl UnwindSafe for ConfigureHealthCheckInputBuilder
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>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreCreates a shared type from an unshared type.