#[non_exhaustive]pub struct TerminateConnectionStatusBuilder { /* private fields */ }
Expand description
A builder for TerminateConnectionStatus
.
Implementations§
source§impl TerminateConnectionStatusBuilder
impl TerminateConnectionStatusBuilder
sourcepub fn connection_id(self, input: impl Into<String>) -> Self
pub fn connection_id(self, input: impl Into<String>) -> Self
The ID of the client connection.
sourcepub fn set_connection_id(self, input: Option<String>) -> Self
pub fn set_connection_id(self, input: Option<String>) -> Self
The ID of the client connection.
sourcepub fn get_connection_id(&self) -> &Option<String>
pub fn get_connection_id(&self) -> &Option<String>
The ID of the client connection.
sourcepub fn previous_status(self, input: ClientVpnConnectionStatus) -> Self
pub fn previous_status(self, input: ClientVpnConnectionStatus) -> Self
The state of the client connection.
sourcepub fn set_previous_status(
self,
input: Option<ClientVpnConnectionStatus>
) -> Self
pub fn set_previous_status( self, input: Option<ClientVpnConnectionStatus> ) -> Self
The state of the client connection.
sourcepub fn get_previous_status(&self) -> &Option<ClientVpnConnectionStatus>
pub fn get_previous_status(&self) -> &Option<ClientVpnConnectionStatus>
The state of the client connection.
sourcepub fn current_status(self, input: ClientVpnConnectionStatus) -> Self
pub fn current_status(self, input: ClientVpnConnectionStatus) -> Self
A message about the status of the client connection, if applicable.
sourcepub fn set_current_status(
self,
input: Option<ClientVpnConnectionStatus>
) -> Self
pub fn set_current_status( self, input: Option<ClientVpnConnectionStatus> ) -> Self
A message about the status of the client connection, if applicable.
sourcepub fn get_current_status(&self) -> &Option<ClientVpnConnectionStatus>
pub fn get_current_status(&self) -> &Option<ClientVpnConnectionStatus>
A message about the status of the client connection, if applicable.
sourcepub fn build(self) -> TerminateConnectionStatus
pub fn build(self) -> TerminateConnectionStatus
Consumes the builder and constructs a TerminateConnectionStatus
.
Trait Implementations§
source§impl Clone for TerminateConnectionStatusBuilder
impl Clone for TerminateConnectionStatusBuilder
source§fn clone(&self) -> TerminateConnectionStatusBuilder
fn clone(&self) -> TerminateConnectionStatusBuilder
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 TerminateConnectionStatusBuilder
impl Default for TerminateConnectionStatusBuilder
source§fn default() -> TerminateConnectionStatusBuilder
fn default() -> TerminateConnectionStatusBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<TerminateConnectionStatusBuilder> for TerminateConnectionStatusBuilder
impl PartialEq<TerminateConnectionStatusBuilder> for TerminateConnectionStatusBuilder
source§fn eq(&self, other: &TerminateConnectionStatusBuilder) -> bool
fn eq(&self, other: &TerminateConnectionStatusBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for TerminateConnectionStatusBuilder
Auto Trait Implementations§
impl RefUnwindSafe for TerminateConnectionStatusBuilder
impl Send for TerminateConnectionStatusBuilder
impl Sync for TerminateConnectionStatusBuilder
impl Unpin for TerminateConnectionStatusBuilder
impl UnwindSafe for TerminateConnectionStatusBuilder
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