Struct aws_sdk_ec2::operation::terminate_client_vpn_connections::builders::TerminateClientVpnConnectionsOutputBuilder
source · #[non_exhaustive]pub struct TerminateClientVpnConnectionsOutputBuilder { /* private fields */ }
Expand description
A builder for TerminateClientVpnConnectionsOutput
.
Implementations§
source§impl TerminateClientVpnConnectionsOutputBuilder
impl TerminateClientVpnConnectionsOutputBuilder
sourcepub fn client_vpn_endpoint_id(self, input: impl Into<String>) -> Self
pub fn client_vpn_endpoint_id(self, input: impl Into<String>) -> Self
The ID of the Client VPN endpoint.
sourcepub fn set_client_vpn_endpoint_id(self, input: Option<String>) -> Self
pub fn set_client_vpn_endpoint_id(self, input: Option<String>) -> Self
The ID of the Client VPN endpoint.
sourcepub fn get_client_vpn_endpoint_id(&self) -> &Option<String>
pub fn get_client_vpn_endpoint_id(&self) -> &Option<String>
The ID of the Client VPN endpoint.
sourcepub fn username(self, input: impl Into<String>) -> Self
pub fn username(self, input: impl Into<String>) -> Self
The user who established the terminated client connections.
sourcepub fn set_username(self, input: Option<String>) -> Self
pub fn set_username(self, input: Option<String>) -> Self
The user who established the terminated client connections.
sourcepub fn get_username(&self) -> &Option<String>
pub fn get_username(&self) -> &Option<String>
The user who established the terminated client connections.
sourcepub fn connection_statuses(self, input: TerminateConnectionStatus) -> Self
pub fn connection_statuses(self, input: TerminateConnectionStatus) -> Self
Appends an item to connection_statuses
.
To override the contents of this collection use set_connection_statuses
.
The current state of the client connections.
sourcepub fn set_connection_statuses(
self,
input: Option<Vec<TerminateConnectionStatus>>,
) -> Self
pub fn set_connection_statuses( self, input: Option<Vec<TerminateConnectionStatus>>, ) -> Self
The current state of the client connections.
sourcepub fn get_connection_statuses(&self) -> &Option<Vec<TerminateConnectionStatus>>
pub fn get_connection_statuses(&self) -> &Option<Vec<TerminateConnectionStatus>>
The current state of the client connections.
sourcepub fn build(self) -> TerminateClientVpnConnectionsOutput
pub fn build(self) -> TerminateClientVpnConnectionsOutput
Consumes the builder and constructs a TerminateClientVpnConnectionsOutput
.
Trait Implementations§
source§impl Clone for TerminateClientVpnConnectionsOutputBuilder
impl Clone for TerminateClientVpnConnectionsOutputBuilder
source§fn clone(&self) -> TerminateClientVpnConnectionsOutputBuilder
fn clone(&self) -> TerminateClientVpnConnectionsOutputBuilder
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 Default for TerminateClientVpnConnectionsOutputBuilder
impl Default for TerminateClientVpnConnectionsOutputBuilder
source§fn default() -> TerminateClientVpnConnectionsOutputBuilder
fn default() -> TerminateClientVpnConnectionsOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for TerminateClientVpnConnectionsOutputBuilder
impl PartialEq for TerminateClientVpnConnectionsOutputBuilder
source§fn eq(&self, other: &TerminateClientVpnConnectionsOutputBuilder) -> bool
fn eq(&self, other: &TerminateClientVpnConnectionsOutputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for TerminateClientVpnConnectionsOutputBuilder
Auto Trait Implementations§
impl Freeze for TerminateClientVpnConnectionsOutputBuilder
impl RefUnwindSafe for TerminateClientVpnConnectionsOutputBuilder
impl Send for TerminateClientVpnConnectionsOutputBuilder
impl Sync for TerminateClientVpnConnectionsOutputBuilder
impl Unpin for TerminateClientVpnConnectionsOutputBuilder
impl UnwindSafe for TerminateClientVpnConnectionsOutputBuilder
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
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.