#[non_exhaustive]pub struct CustomRoutingDestinationConfiguration { /* private fields */ }Expand description
For a custom routing accelerator, sets the port range and protocol for all endpoints (virtual private cloud subnets) in an endpoint group to accept client traffic on.
Implementations
sourceimpl CustomRoutingDestinationConfiguration
impl CustomRoutingDestinationConfiguration
sourcepub fn from_port(&self) -> Option<i32>
pub fn from_port(&self) -> Option<i32>
The first port, inclusive, in the range of ports for the endpoint group that is associated with a custom routing accelerator.
sourcepub fn to_port(&self) -> Option<i32>
pub fn to_port(&self) -> Option<i32>
The last port, inclusive, in the range of ports for the endpoint group that is associated with a custom routing accelerator.
sourcepub fn protocols(&self) -> Option<&[CustomRoutingProtocol]>
pub fn protocols(&self) -> Option<&[CustomRoutingProtocol]>
The protocol for the endpoint group that is associated with a custom routing accelerator. The protocol can be either TCP or UDP.
sourceimpl CustomRoutingDestinationConfiguration
impl CustomRoutingDestinationConfiguration
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture CustomRoutingDestinationConfiguration.
Trait Implementations
sourceimpl Clone for CustomRoutingDestinationConfiguration
impl Clone for CustomRoutingDestinationConfiguration
sourcefn clone(&self) -> CustomRoutingDestinationConfiguration
fn clone(&self) -> CustomRoutingDestinationConfiguration
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 PartialEq<CustomRoutingDestinationConfiguration> for CustomRoutingDestinationConfiguration
impl PartialEq<CustomRoutingDestinationConfiguration> for CustomRoutingDestinationConfiguration
sourcefn eq(&self, other: &CustomRoutingDestinationConfiguration) -> bool
fn eq(&self, other: &CustomRoutingDestinationConfiguration) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &CustomRoutingDestinationConfiguration) -> bool
fn ne(&self, other: &CustomRoutingDestinationConfiguration) -> bool
This method tests for !=.
impl StructuralPartialEq for CustomRoutingDestinationConfiguration
Auto Trait Implementations
impl RefUnwindSafe for CustomRoutingDestinationConfiguration
impl Send for CustomRoutingDestinationConfiguration
impl Sync for CustomRoutingDestinationConfiguration
impl Unpin for CustomRoutingDestinationConfiguration
impl UnwindSafe for CustomRoutingDestinationConfiguration
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