Struct aws_sdk_iotsecuretunneling::operation::rotate_tunnel_access_token::builders::RotateTunnelAccessTokenInputBuilder
source · #[non_exhaustive]pub struct RotateTunnelAccessTokenInputBuilder { /* private fields */ }
Expand description
A builder for RotateTunnelAccessTokenInput
.
Implementations§
source§impl RotateTunnelAccessTokenInputBuilder
impl RotateTunnelAccessTokenInputBuilder
sourcepub fn tunnel_id(self, input: impl Into<String>) -> Self
pub fn tunnel_id(self, input: impl Into<String>) -> Self
The tunnel for which you want to rotate the access tokens.
This field is required.sourcepub fn set_tunnel_id(self, input: Option<String>) -> Self
pub fn set_tunnel_id(self, input: Option<String>) -> Self
The tunnel for which you want to rotate the access tokens.
sourcepub fn get_tunnel_id(&self) -> &Option<String>
pub fn get_tunnel_id(&self) -> &Option<String>
The tunnel for which you want to rotate the access tokens.
sourcepub fn client_mode(self, input: ClientMode) -> Self
pub fn client_mode(self, input: ClientMode) -> Self
The mode of the client that will use the client token, which can be either the source or destination, or both source and destination.
This field is required.sourcepub fn set_client_mode(self, input: Option<ClientMode>) -> Self
pub fn set_client_mode(self, input: Option<ClientMode>) -> Self
The mode of the client that will use the client token, which can be either the source or destination, or both source and destination.
sourcepub fn get_client_mode(&self) -> &Option<ClientMode>
pub fn get_client_mode(&self) -> &Option<ClientMode>
The mode of the client that will use the client token, which can be either the source or destination, or both source and destination.
sourcepub fn destination_config(self, input: DestinationConfig) -> Self
pub fn destination_config(self, input: DestinationConfig) -> Self
The destination configuration.
sourcepub fn set_destination_config(self, input: Option<DestinationConfig>) -> Self
pub fn set_destination_config(self, input: Option<DestinationConfig>) -> Self
The destination configuration.
sourcepub fn get_destination_config(&self) -> &Option<DestinationConfig>
pub fn get_destination_config(&self) -> &Option<DestinationConfig>
The destination configuration.
sourcepub fn build(self) -> Result<RotateTunnelAccessTokenInput, BuildError>
pub fn build(self) -> Result<RotateTunnelAccessTokenInput, BuildError>
Consumes the builder and constructs a RotateTunnelAccessTokenInput
.
source§impl RotateTunnelAccessTokenInputBuilder
impl RotateTunnelAccessTokenInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<RotateTunnelAccessTokenOutput, SdkError<RotateTunnelAccessTokenError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<RotateTunnelAccessTokenOutput, SdkError<RotateTunnelAccessTokenError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for RotateTunnelAccessTokenInputBuilder
impl Clone for RotateTunnelAccessTokenInputBuilder
source§fn clone(&self) -> RotateTunnelAccessTokenInputBuilder
fn clone(&self) -> RotateTunnelAccessTokenInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for RotateTunnelAccessTokenInputBuilder
impl Default for RotateTunnelAccessTokenInputBuilder
source§fn default() -> RotateTunnelAccessTokenInputBuilder
fn default() -> RotateTunnelAccessTokenInputBuilder
source§impl PartialEq for RotateTunnelAccessTokenInputBuilder
impl PartialEq for RotateTunnelAccessTokenInputBuilder
source§fn eq(&self, other: &RotateTunnelAccessTokenInputBuilder) -> bool
fn eq(&self, other: &RotateTunnelAccessTokenInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for RotateTunnelAccessTokenInputBuilder
Auto Trait Implementations§
impl Freeze for RotateTunnelAccessTokenInputBuilder
impl RefUnwindSafe for RotateTunnelAccessTokenInputBuilder
impl Send for RotateTunnelAccessTokenInputBuilder
impl Sync for RotateTunnelAccessTokenInputBuilder
impl Unpin for RotateTunnelAccessTokenInputBuilder
impl UnwindSafe for RotateTunnelAccessTokenInputBuilder
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