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
impl StructuralPartialEq for ServiceChange
Auto Trait Implementations§
impl Freeze for ServiceChange
impl RefUnwindSafe for ServiceChange
impl Send for ServiceChange
impl Sync for ServiceChange
impl Unpin for ServiceChange
impl UnwindSafe for ServiceChange
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