Struct aws_sdk_ec2::model::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
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 more
sourceimpl 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
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &CustomerGateway) -> bool
fn ne(&self, other: &CustomerGateway) -> bool
This method tests for !=
.
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 T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more