Struct aws_sdk_ec2::types::builders::VgwTelemetryBuilder
source · #[non_exhaustive]pub struct VgwTelemetryBuilder { /* private fields */ }
Expand description
A builder for VgwTelemetry
.
Implementations§
source§impl VgwTelemetryBuilder
impl VgwTelemetryBuilder
sourcepub fn accepted_route_count(self, input: i32) -> Self
pub fn accepted_route_count(self, input: i32) -> Self
The number of accepted routes.
sourcepub fn set_accepted_route_count(self, input: Option<i32>) -> Self
pub fn set_accepted_route_count(self, input: Option<i32>) -> Self
The number of accepted routes.
sourcepub fn get_accepted_route_count(&self) -> &Option<i32>
pub fn get_accepted_route_count(&self) -> &Option<i32>
The number of accepted routes.
sourcepub fn last_status_change(self, input: DateTime) -> Self
pub fn last_status_change(self, input: DateTime) -> Self
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 set_last_status_change(self, input: Option<DateTime>) -> Self
pub fn set_last_status_change(self, input: Option<DateTime>) -> Self
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 get_last_status_change(&self) -> &Option<DateTime>
pub fn get_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, input: impl Into<String>) -> Self
pub fn outside_ip_address(self, input: impl Into<String>) -> Self
The Internet-routable IP address of the virtual private gateway's outside interface.
sourcepub fn set_outside_ip_address(self, input: Option<String>) -> Self
pub fn set_outside_ip_address(self, input: Option<String>) -> Self
The Internet-routable IP address of the virtual private gateway's outside interface.
sourcepub fn get_outside_ip_address(&self) -> &Option<String>
pub fn get_outside_ip_address(&self) -> &Option<String>
The Internet-routable IP address of the virtual private gateway's outside interface.
sourcepub fn status(self, input: TelemetryStatus) -> Self
pub fn status(self, input: TelemetryStatus) -> Self
The status of the VPN tunnel.
sourcepub fn set_status(self, input: Option<TelemetryStatus>) -> Self
pub fn set_status(self, input: Option<TelemetryStatus>) -> Self
The status of the VPN tunnel.
sourcepub fn get_status(&self) -> &Option<TelemetryStatus>
pub fn get_status(&self) -> &Option<TelemetryStatus>
The status of the VPN tunnel.
sourcepub fn status_message(self, input: impl Into<String>) -> Self
pub fn status_message(self, input: impl Into<String>) -> Self
If an error occurs, a description of the error.
sourcepub fn set_status_message(self, input: Option<String>) -> Self
pub fn set_status_message(self, input: Option<String>) -> Self
If an error occurs, a description of the error.
sourcepub fn get_status_message(&self) -> &Option<String>
pub fn get_status_message(&self) -> &Option<String>
If an error occurs, a description of the error.
sourcepub fn certificate_arn(self, input: impl Into<String>) -> Self
pub fn certificate_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the VPN tunnel endpoint certificate.
sourcepub fn set_certificate_arn(self, input: Option<String>) -> Self
pub fn set_certificate_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the VPN tunnel endpoint certificate.
sourcepub fn get_certificate_arn(&self) -> &Option<String>
pub fn get_certificate_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the VPN tunnel endpoint certificate.
sourcepub fn build(self) -> VgwTelemetry
pub fn build(self) -> VgwTelemetry
Consumes the builder and constructs a VgwTelemetry
.
Trait Implementations§
source§impl Clone for VgwTelemetryBuilder
impl Clone for VgwTelemetryBuilder
source§fn clone(&self) -> VgwTelemetryBuilder
fn clone(&self) -> VgwTelemetryBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for VgwTelemetryBuilder
impl Debug for VgwTelemetryBuilder
source§impl Default for VgwTelemetryBuilder
impl Default for VgwTelemetryBuilder
source§fn default() -> VgwTelemetryBuilder
fn default() -> VgwTelemetryBuilder
source§impl PartialEq for VgwTelemetryBuilder
impl PartialEq for VgwTelemetryBuilder
source§fn eq(&self, other: &VgwTelemetryBuilder) -> bool
fn eq(&self, other: &VgwTelemetryBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for VgwTelemetryBuilder
Auto Trait Implementations§
impl Freeze for VgwTelemetryBuilder
impl RefUnwindSafe for VgwTelemetryBuilder
impl Send for VgwTelemetryBuilder
impl Sync for VgwTelemetryBuilder
impl Unpin for VgwTelemetryBuilder
impl UnwindSafe for VgwTelemetryBuilder
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