#[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
source§fn eq(&self, other: &ServiceChangeBuilder) -> bool
fn eq(&self, other: &ServiceChangeBuilder) -> bool
self and other values to be equal, and is used
by ==.