#[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 moresourceimpl PartialEq<CustomRoutingDestinationConfiguration> for CustomRoutingDestinationConfiguration
impl PartialEq<CustomRoutingDestinationConfiguration> for CustomRoutingDestinationConfiguration
sourcefn eq(&self, other: &CustomRoutingDestinationConfiguration) -> bool
fn eq(&self, other: &CustomRoutingDestinationConfiguration) -> bool
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 Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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