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
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
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.
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.
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
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 VgwTelemetry
impl Debug for VgwTelemetry
source§impl PartialEq<VgwTelemetry> for VgwTelemetry
impl PartialEq<VgwTelemetry> for VgwTelemetry
source§fn eq(&self, other: &VgwTelemetry) -> bool
fn eq(&self, other: &VgwTelemetry) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for VgwTelemetry
Auto Trait Implementations§
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
Mutably borrows from an owned value. Read more