Struct aws_sdk_ec2::types::CustomerGateway
source · #[non_exhaustive]pub struct CustomerGateway {
pub bgp_asn: Option<String>,
pub customer_gateway_id: Option<String>,
pub ip_address: Option<String>,
pub certificate_arn: Option<String>,
pub state: Option<String>,
pub type: Option<String>,
pub device_name: Option<String>,
pub tags: Option<Vec<Tag>>,
}
Expand description
Describes a customer gateway.
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.bgp_asn: Option<String>
The customer gateway's Border Gateway Protocol (BGP) Autonomous System Number (ASN).
customer_gateway_id: Option<String>
The ID of the customer gateway.
ip_address: Option<String>
The IP address of the customer gateway device's outside interface.
certificate_arn: Option<String>
The Amazon Resource Name (ARN) for the customer gateway certificate.
state: Option<String>
The current state of the customer gateway (pending | available | deleting | deleted
).
type: Option<String>
The type of VPN connection the customer gateway supports (ipsec.1
).
device_name: Option<String>
The name of customer gateway device.
Any tags assigned to the customer gateway.
Implementations§
source§impl CustomerGateway
impl CustomerGateway
sourcepub fn bgp_asn(&self) -> Option<&str>
pub fn bgp_asn(&self) -> Option<&str>
The customer gateway's Border Gateway Protocol (BGP) Autonomous System Number (ASN).
sourcepub fn customer_gateway_id(&self) -> Option<&str>
pub fn customer_gateway_id(&self) -> Option<&str>
The ID of the customer gateway.
sourcepub fn ip_address(&self) -> Option<&str>
pub fn ip_address(&self) -> Option<&str>
The IP address of the customer gateway device's outside interface.
sourcepub fn certificate_arn(&self) -> Option<&str>
pub fn certificate_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) for the customer gateway certificate.
sourcepub fn state(&self) -> Option<&str>
pub fn state(&self) -> Option<&str>
The current state of the customer gateway (pending | available | deleting | deleted
).
sourcepub fn type(&self) -> Option<&str>
pub fn type(&self) -> Option<&str>
The type of VPN connection the customer gateway supports (ipsec.1
).
sourcepub fn device_name(&self) -> Option<&str>
pub fn device_name(&self) -> Option<&str>
The name of customer gateway device.
Any tags assigned to the customer gateway.
source§impl CustomerGateway
impl CustomerGateway
sourcepub fn builder() -> CustomerGatewayBuilder
pub fn builder() -> CustomerGatewayBuilder
Creates a new builder-style object to manufacture CustomerGateway
.
Trait Implementations§
source§impl Clone for CustomerGateway
impl Clone for CustomerGateway
source§fn clone(&self) -> CustomerGateway
fn clone(&self) -> CustomerGateway
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CustomerGateway
impl Debug for CustomerGateway
source§impl PartialEq<CustomerGateway> for CustomerGateway
impl PartialEq<CustomerGateway> for CustomerGateway
source§fn eq(&self, other: &CustomerGateway) -> bool
fn eq(&self, other: &CustomerGateway) -> bool
self
and other
values to be equal, and is used
by ==
.