Struct aws_sdk_appmesh::model::VirtualNodeSpec
source · #[non_exhaustive]pub struct VirtualNodeSpec { /* private fields */ }
Expand description
An object that represents the specification of a virtual node.
Implementations§
source§impl VirtualNodeSpec
impl VirtualNodeSpec
sourcepub fn service_discovery(&self) -> Option<&ServiceDiscovery>
pub fn service_discovery(&self) -> Option<&ServiceDiscovery>
The service discovery information for the virtual node. If your virtual node does not expect ingress traffic, you can omit this parameter. If you specify a listener
, then you must specify service discovery information.
sourcepub fn listeners(&self) -> Option<&[Listener]>
pub fn listeners(&self) -> Option<&[Listener]>
The listener that the virtual node is expected to receive inbound traffic from. You can specify one listener.
sourcepub fn backends(&self) -> Option<&[Backend]>
pub fn backends(&self) -> Option<&[Backend]>
The backends that the virtual node is expected to send outbound traffic to.
sourcepub fn backend_defaults(&self) -> Option<&BackendDefaults>
pub fn backend_defaults(&self) -> Option<&BackendDefaults>
A reference to an object that represents the defaults for backends.
source§impl VirtualNodeSpec
impl VirtualNodeSpec
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture VirtualNodeSpec
.
Trait Implementations§
source§impl Clone for VirtualNodeSpec
impl Clone for VirtualNodeSpec
source§fn clone(&self) -> VirtualNodeSpec
fn clone(&self) -> VirtualNodeSpec
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for VirtualNodeSpec
impl Debug for VirtualNodeSpec
source§impl PartialEq<VirtualNodeSpec> for VirtualNodeSpec
impl PartialEq<VirtualNodeSpec> for VirtualNodeSpec
source§fn eq(&self, other: &VirtualNodeSpec) -> bool
fn eq(&self, other: &VirtualNodeSpec) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.