Struct aws_sdk_ec2::model::CustomerGateway
source · #[non_exhaustive]pub struct CustomerGateway { /* private fields */ }
Expand description
Describes a 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() -> Builder
pub fn builder() -> Builder
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
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 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
This method tests for
self
and other
values to be equal, and is used
by ==
.