Struct aws_sdk_directconnect::types::VirtualGateway
source · #[non_exhaustive]pub struct VirtualGateway {
pub virtual_gateway_id: Option<String>,
pub virtual_gateway_state: Option<String>,
}Expand description
Information about a virtual private gateway for a private virtual interface.
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.virtual_gateway_id: Option<String>The ID of the virtual private gateway.
virtual_gateway_state: Option<String>The state of the virtual private gateway. The following are the possible values:
-
pending: Initial state after creating the virtual private gateway. -
available: Ready for use by a private virtual interface. -
deleting: Initial state after deleting the virtual private gateway. -
deleted: The virtual private gateway is deleted. The private virtual interface is unable to send traffic over this gateway.
Implementations§
source§impl VirtualGateway
impl VirtualGateway
sourcepub fn virtual_gateway_id(&self) -> Option<&str>
pub fn virtual_gateway_id(&self) -> Option<&str>
The ID of the virtual private gateway.
sourcepub fn virtual_gateway_state(&self) -> Option<&str>
pub fn virtual_gateway_state(&self) -> Option<&str>
The state of the virtual private gateway. The following are the possible values:
-
pending: Initial state after creating the virtual private gateway. -
available: Ready for use by a private virtual interface. -
deleting: Initial state after deleting the virtual private gateway. -
deleted: The virtual private gateway is deleted. The private virtual interface is unable to send traffic over this gateway.
source§impl VirtualGateway
impl VirtualGateway
sourcepub fn builder() -> VirtualGatewayBuilder
pub fn builder() -> VirtualGatewayBuilder
Creates a new builder-style object to manufacture VirtualGateway.
Trait Implementations§
source§impl Clone for VirtualGateway
impl Clone for VirtualGateway
source§fn clone(&self) -> VirtualGateway
fn clone(&self) -> VirtualGateway
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for VirtualGateway
impl Debug for VirtualGateway
source§impl PartialEq for VirtualGateway
impl PartialEq for VirtualGateway
source§fn eq(&self, other: &VirtualGateway) -> bool
fn eq(&self, other: &VirtualGateway) -> bool
self and other values to be equal, and is used
by ==.