Struct aws_sdk_ec2::model::CustomerGateway
source · [−]#[non_exhaustive]pub struct CustomerGateway { /* private fields */ }
Expand description
Describes a customer gateway.
Implementations
sourceimpl 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.
sourceimpl CustomerGateway
impl CustomerGateway
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture CustomerGateway
.
Trait Implementations
sourceimpl Clone for CustomerGateway
impl Clone for CustomerGateway
sourcefn clone(&self) -> CustomerGateway
fn clone(&self) -> CustomerGateway
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 Debug for CustomerGateway
impl Debug for CustomerGateway
sourceimpl PartialEq<CustomerGateway> for CustomerGateway
impl PartialEq<CustomerGateway> for CustomerGateway
sourcefn eq(&self, other: &CustomerGateway) -> bool
fn eq(&self, other: &CustomerGateway) -> bool
impl StructuralPartialEq for CustomerGateway
Auto Trait Implementations
impl RefUnwindSafe for CustomerGateway
impl Send for CustomerGateway
impl Sync for CustomerGateway
impl Unpin for CustomerGateway
impl UnwindSafe for CustomerGateway
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