Struct aws_sdk_ec2::types::VgwTelemetry
source · #[non_exhaustive]pub struct VgwTelemetry {
pub accepted_route_count: Option<i32>,
pub last_status_change: Option<DateTime>,
pub outside_ip_address: Option<String>,
pub status: Option<TelemetryStatus>,
pub status_message: Option<String>,
pub certificate_arn: Option<String>,
}
Expand description
Describes telemetry for a VPN tunnel.
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.accepted_route_count: Option<i32>
The number of accepted routes.
last_status_change: Option<DateTime>
The date and time of the last change in status. This field is updated when changes in IKE (Phase 1), IPSec (Phase 2), or BGP status are detected.
outside_ip_address: Option<String>
The Internet-routable IP address of the virtual private gateway's outside interface.
status: Option<TelemetryStatus>
The status of the VPN tunnel.
status_message: Option<String>
If an error occurs, a description of the error.
certificate_arn: Option<String>
The Amazon Resource Name (ARN) of the VPN tunnel endpoint certificate.
Implementations§
source§impl VgwTelemetry
impl VgwTelemetry
sourcepub fn accepted_route_count(&self) -> Option<i32>
pub fn accepted_route_count(&self) -> Option<i32>
The number of accepted routes.
sourcepub fn last_status_change(&self) -> Option<&DateTime>
pub fn last_status_change(&self) -> Option<&DateTime>
The date and time of the last change in status. This field is updated when changes in IKE (Phase 1), IPSec (Phase 2), or BGP status are detected.
sourcepub fn outside_ip_address(&self) -> Option<&str>
pub fn outside_ip_address(&self) -> Option<&str>
The Internet-routable IP address of the virtual private gateway's outside interface.
sourcepub fn status(&self) -> Option<&TelemetryStatus>
pub fn status(&self) -> Option<&TelemetryStatus>
The status of the VPN tunnel.
sourcepub fn status_message(&self) -> Option<&str>
pub fn status_message(&self) -> Option<&str>
If an error occurs, a description of the error.
sourcepub fn certificate_arn(&self) -> Option<&str>
pub fn certificate_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the VPN tunnel endpoint certificate.
source§impl VgwTelemetry
impl VgwTelemetry
sourcepub fn builder() -> VgwTelemetryBuilder
pub fn builder() -> VgwTelemetryBuilder
Creates a new builder-style object to manufacture VgwTelemetry
.
Trait Implementations§
source§impl Clone for VgwTelemetry
impl Clone for VgwTelemetry
source§fn clone(&self) -> VgwTelemetry
fn clone(&self) -> VgwTelemetry
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for VgwTelemetry
impl Debug for VgwTelemetry
source§impl PartialEq for VgwTelemetry
impl PartialEq for VgwTelemetry
source§fn eq(&self, other: &VgwTelemetry) -> bool
fn eq(&self, other: &VgwTelemetry) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for VgwTelemetry
Auto Trait Implementations§
impl Freeze for VgwTelemetry
impl RefUnwindSafe for VgwTelemetry
impl Send for VgwTelemetry
impl Sync for VgwTelemetry
impl Unpin for VgwTelemetry
impl UnwindSafe for VgwTelemetry
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more