#[non_exhaustive]pub struct HttpInstanceSummaryBuilder { /* private fields */ }Expand description
A builder for HttpInstanceSummary.
Implementations§
source§impl HttpInstanceSummaryBuilder
impl HttpInstanceSummaryBuilder
sourcepub fn instance_id(self, input: impl Into<String>) -> Self
pub fn instance_id(self, input: impl Into<String>) -> Self
The ID of an instance that matches the values that you specified in the request.
sourcepub fn set_instance_id(self, input: Option<String>) -> Self
pub fn set_instance_id(self, input: Option<String>) -> Self
The ID of an instance that matches the values that you specified in the request.
sourcepub fn get_instance_id(&self) -> &Option<String>
pub fn get_instance_id(&self) -> &Option<String>
The ID of an instance that matches the values that you specified in the request.
sourcepub fn namespace_name(self, input: impl Into<String>) -> Self
pub fn namespace_name(self, input: impl Into<String>) -> Self
The HttpName name of the namespace. It's found in the HttpProperties member of the Properties member of the namespace.
sourcepub fn set_namespace_name(self, input: Option<String>) -> Self
pub fn set_namespace_name(self, input: Option<String>) -> Self
The HttpName name of the namespace. It's found in the HttpProperties member of the Properties member of the namespace.
sourcepub fn get_namespace_name(&self) -> &Option<String>
pub fn get_namespace_name(&self) -> &Option<String>
The HttpName name of the namespace. It's found in the HttpProperties member of the Properties member of the namespace.
sourcepub fn service_name(self, input: impl Into<String>) -> Self
pub fn service_name(self, input: impl Into<String>) -> Self
The name of the service that you specified when you registered the instance.
sourcepub fn set_service_name(self, input: Option<String>) -> Self
pub fn set_service_name(self, input: Option<String>) -> Self
The name of the service that you specified when you registered the instance.
sourcepub fn get_service_name(&self) -> &Option<String>
pub fn get_service_name(&self) -> &Option<String>
The name of the service that you specified when you registered the instance.
sourcepub fn health_status(self, input: HealthStatus) -> Self
pub fn health_status(self, input: HealthStatus) -> Self
If you configured health checking in the service, the current health status of the service instance.
sourcepub fn set_health_status(self, input: Option<HealthStatus>) -> Self
pub fn set_health_status(self, input: Option<HealthStatus>) -> Self
If you configured health checking in the service, the current health status of the service instance.
sourcepub fn get_health_status(&self) -> &Option<HealthStatus>
pub fn get_health_status(&self) -> &Option<HealthStatus>
If you configured health checking in the service, the current health status of the service instance.
sourcepub fn attributes(self, k: impl Into<String>, v: impl Into<String>) -> Self
pub fn attributes(self, k: impl Into<String>, v: impl Into<String>) -> Self
Adds a key-value pair to attributes.
To override the contents of this collection use set_attributes.
If you included any attributes when you registered the instance, the values of those attributes.
sourcepub fn set_attributes(self, input: Option<HashMap<String, String>>) -> Self
pub fn set_attributes(self, input: Option<HashMap<String, String>>) -> Self
If you included any attributes when you registered the instance, the values of those attributes.
sourcepub fn get_attributes(&self) -> &Option<HashMap<String, String>>
pub fn get_attributes(&self) -> &Option<HashMap<String, String>>
If you included any attributes when you registered the instance, the values of those attributes.
sourcepub fn build(self) -> HttpInstanceSummary
pub fn build(self) -> HttpInstanceSummary
Consumes the builder and constructs a HttpInstanceSummary.
Trait Implementations§
source§impl Clone for HttpInstanceSummaryBuilder
impl Clone for HttpInstanceSummaryBuilder
source§fn clone(&self) -> HttpInstanceSummaryBuilder
fn clone(&self) -> HttpInstanceSummaryBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for HttpInstanceSummaryBuilder
impl Debug for HttpInstanceSummaryBuilder
source§impl Default for HttpInstanceSummaryBuilder
impl Default for HttpInstanceSummaryBuilder
source§fn default() -> HttpInstanceSummaryBuilder
fn default() -> HttpInstanceSummaryBuilder
impl StructuralPartialEq for HttpInstanceSummaryBuilder
Auto Trait Implementations§
impl Freeze for HttpInstanceSummaryBuilder
impl RefUnwindSafe for HttpInstanceSummaryBuilder
impl Send for HttpInstanceSummaryBuilder
impl Sync for HttpInstanceSummaryBuilder
impl Unpin for HttpInstanceSummaryBuilder
impl UnwindSafe for HttpInstanceSummaryBuilder
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)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>
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>
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 more