Struct aws_sdk_servicediscovery::types::ServiceChange
source · #[non_exhaustive]pub struct ServiceChange {
pub description: Option<String>,
pub dns_config: Option<DnsConfigChange>,
pub health_check_config: Option<HealthCheckConfig>,
}Expand description
A complex type that contains changes to an existing service.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.description: Option<String>A description for the service.
dns_config: Option<DnsConfigChange>Information about the Route 53 DNS records that you want Cloud Map to create when you register an instance.
health_check_config: 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.
Implementations§
source§impl ServiceChange
impl ServiceChange
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
A description for the service.
sourcepub fn dns_config(&self) -> Option<&DnsConfigChange>
pub fn 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) -> Option<&HealthCheckConfig>
pub fn 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.
source§impl ServiceChange
impl ServiceChange
sourcepub fn builder() -> ServiceChangeBuilder
pub fn builder() -> ServiceChangeBuilder
Creates a new builder-style object to manufacture ServiceChange.
Trait Implementations§
source§impl Clone for ServiceChange
impl Clone for ServiceChange
source§fn clone(&self) -> ServiceChange
fn clone(&self) -> ServiceChange
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for ServiceChange
impl Debug for ServiceChange
source§impl PartialEq for ServiceChange
impl PartialEq for ServiceChange
source§fn eq(&self, other: &ServiceChange) -> bool
fn eq(&self, other: &ServiceChange) -> bool
self and other values to be equal, and is used
by ==.