Struct aws_sdk_ec2::model::vgw_telemetry::Builder
source · [−]pub struct Builder { /* private fields */ }
Expand description
A builder for VgwTelemetry
.
Implementations
sourceimpl Builder
impl Builder
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 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 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 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 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 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 build(self) -> VgwTelemetry
pub fn build(self) -> VgwTelemetry
Consumes the builder and constructs a VgwTelemetry
.
Trait Implementations
impl StructuralPartialEq for Builder
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl Send for Builder
impl Sync for Builder
impl Unpin for Builder
impl UnwindSafe for Builder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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