Struct aws_sdk_appmesh::model::AwsCloudMapServiceDiscovery
source · [−]#[non_exhaustive]pub struct AwsCloudMapServiceDiscovery {
pub namespace_name: Option<String>,
pub service_name: Option<String>,
pub attributes: Option<Vec<AwsCloudMapInstanceAttribute>>,
pub ip_preference: Option<IpPreference>,
}
Expand description
An object that represents the Cloud Map service discovery information for your virtual node.
Cloud Map is not available in the eu-south-1 Region.
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.namespace_name: Option<String>
The name of the Cloud Map namespace to use.
service_name: Option<String>
The name of the Cloud Map service to use.
attributes: Option<Vec<AwsCloudMapInstanceAttribute>>
A string map that contains attributes with values that you can use to filter instances by any custom attribute that you specified when you registered the instance. Only instances that match all of the specified key/value pairs will be returned.
ip_preference: Option<IpPreference>
The IP version to use to control traffic within the mesh.
Implementations
sourceimpl AwsCloudMapServiceDiscovery
impl AwsCloudMapServiceDiscovery
sourcepub fn namespace_name(&self) -> Option<&str>
pub fn namespace_name(&self) -> Option<&str>
The name of the Cloud Map namespace to use.
sourcepub fn service_name(&self) -> Option<&str>
pub fn service_name(&self) -> Option<&str>
The name of the Cloud Map service to use.
sourcepub fn attributes(&self) -> Option<&[AwsCloudMapInstanceAttribute]>
pub fn attributes(&self) -> Option<&[AwsCloudMapInstanceAttribute]>
A string map that contains attributes with values that you can use to filter instances by any custom attribute that you specified when you registered the instance. Only instances that match all of the specified key/value pairs will be returned.
sourcepub fn ip_preference(&self) -> Option<&IpPreference>
pub fn ip_preference(&self) -> Option<&IpPreference>
The IP version to use to control traffic within the mesh.
sourceimpl AwsCloudMapServiceDiscovery
impl AwsCloudMapServiceDiscovery
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture AwsCloudMapServiceDiscovery
.
Trait Implementations
sourceimpl Clone for AwsCloudMapServiceDiscovery
impl Clone for AwsCloudMapServiceDiscovery
sourcefn clone(&self) -> AwsCloudMapServiceDiscovery
fn clone(&self) -> AwsCloudMapServiceDiscovery
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for AwsCloudMapServiceDiscovery
impl Debug for AwsCloudMapServiceDiscovery
sourceimpl PartialEq<AwsCloudMapServiceDiscovery> for AwsCloudMapServiceDiscovery
impl PartialEq<AwsCloudMapServiceDiscovery> for AwsCloudMapServiceDiscovery
sourcefn eq(&self, other: &AwsCloudMapServiceDiscovery) -> bool
fn eq(&self, other: &AwsCloudMapServiceDiscovery) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &AwsCloudMapServiceDiscovery) -> bool
fn ne(&self, other: &AwsCloudMapServiceDiscovery) -> bool
This method tests for !=
.
impl StructuralPartialEq for AwsCloudMapServiceDiscovery
Auto Trait Implementations
impl RefUnwindSafe for AwsCloudMapServiceDiscovery
impl Send for AwsCloudMapServiceDiscovery
impl Sync for AwsCloudMapServiceDiscovery
impl Unpin for AwsCloudMapServiceDiscovery
impl UnwindSafe for AwsCloudMapServiceDiscovery
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more