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.
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.
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.
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<VgwTelemetryBuilder> for VgwTelemetryBuilder
impl PartialEq<VgwTelemetryBuilder> 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 ==
.