#[non_exhaustive]pub struct ServiceChangeBuilder { /* private fields */ }Expand description
A builder for ServiceChange.
Implementations§
source§impl ServiceChangeBuilder
impl ServiceChangeBuilder
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
A description for the service.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
A description for the service.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
A description for the service.
sourcepub fn dns_config(self, input: DnsConfigChange) -> Self
pub fn dns_config(self, input: DnsConfigChange) -> Self
Information about the Route 53 DNS records that you want Cloud Map to create when you register an instance.
sourcepub fn set_dns_config(self, input: Option<DnsConfigChange>) -> Self
pub fn set_dns_config(self, input: Option<DnsConfigChange>) -> Self
Information about the Route 53 DNS records that you want Cloud Map to create when you register an instance.
sourcepub fn get_dns_config(&self) -> &Option<DnsConfigChange>
pub fn get_dns_config(&self) -> &Option<DnsConfigChange>
Information about the Route 53 DNS records that you want Cloud Map to create when you register an instance.
sourcepub fn health_check_config(self, input: HealthCheckConfig) -> Self
pub fn health_check_config(self, input: HealthCheckConfig) -> Self
Public DNS and HTTP namespaces only. Settings for an optional health check. If you specify settings for a health check, Cloud Map associates the health check with the records that you specify in DnsConfig.
sourcepub fn set_health_check_config(self, input: Option<HealthCheckConfig>) -> Self
pub fn set_health_check_config(self, input: Option<HealthCheckConfig>) -> Self
Public DNS and HTTP namespaces only. Settings for an optional health check. If you specify settings for a health check, Cloud Map associates the health check with the records that you specify in DnsConfig.
sourcepub fn get_health_check_config(&self) -> &Option<HealthCheckConfig>
pub fn get_health_check_config(&self) -> &Option<HealthCheckConfig>
Public DNS and HTTP namespaces only. Settings for an optional health check. If you specify settings for a health check, Cloud Map associates the health check with the records that you specify in DnsConfig.
sourcepub fn build(self) -> ServiceChange
pub fn build(self) -> ServiceChange
Consumes the builder and constructs a ServiceChange.
Trait Implementations§
source§impl Clone for ServiceChangeBuilder
impl Clone for ServiceChangeBuilder
source§fn clone(&self) -> ServiceChangeBuilder
fn clone(&self) -> ServiceChangeBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for ServiceChangeBuilder
impl Debug for ServiceChangeBuilder
source§impl Default for ServiceChangeBuilder
impl Default for ServiceChangeBuilder
source§fn default() -> ServiceChangeBuilder
fn default() -> ServiceChangeBuilder
source§impl PartialEq for ServiceChangeBuilder
impl PartialEq for ServiceChangeBuilder
impl StructuralPartialEq for ServiceChangeBuilder
Auto Trait Implementations§
impl Freeze for ServiceChangeBuilder
impl RefUnwindSafe for ServiceChangeBuilder
impl Send for ServiceChangeBuilder
impl Sync for ServiceChangeBuilder
impl Unpin for ServiceChangeBuilder
impl UnwindSafe for ServiceChangeBuilder
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