#[non_exhaustive]pub struct GetSessionEndpointOutputBuilder { /* private fields */ }Expand description
A builder for GetSessionEndpointOutput.
Implementations§
Source§impl GetSessionEndpointOutputBuilder
impl GetSessionEndpointOutputBuilder
Sourcepub fn endpoint_url(self, input: impl Into<String>) -> Self
pub fn endpoint_url(self, input: impl Into<String>) -> Self
The endpoint for connecting to the session.
This field is required.Sourcepub fn set_endpoint_url(self, input: Option<String>) -> Self
pub fn set_endpoint_url(self, input: Option<String>) -> Self
The endpoint for connecting to the session.
Sourcepub fn get_endpoint_url(&self) -> &Option<String>
pub fn get_endpoint_url(&self) -> &Option<String>
The endpoint for connecting to the session.
Sourcepub fn auth_token(self, input: impl Into<String>) -> Self
pub fn auth_token(self, input: impl Into<String>) -> Self
Authentication token for the connection
This field is required.Sourcepub fn set_auth_token(self, input: Option<String>) -> Self
pub fn set_auth_token(self, input: Option<String>) -> Self
Authentication token for the connection
Sourcepub fn get_auth_token(&self) -> &Option<String>
pub fn get_auth_token(&self) -> &Option<String>
Authentication token for the connection
Sourcepub fn auth_token_expiration_time(self, input: DateTime) -> Self
pub fn auth_token_expiration_time(self, input: DateTime) -> Self
Expiration time of the auth token.
This field is required.Sourcepub fn set_auth_token_expiration_time(self, input: Option<DateTime>) -> Self
pub fn set_auth_token_expiration_time(self, input: Option<DateTime>) -> Self
Expiration time of the auth token.
Sourcepub fn get_auth_token_expiration_time(&self) -> &Option<DateTime>
pub fn get_auth_token_expiration_time(&self) -> &Option<DateTime>
Expiration time of the auth token.
Sourcepub fn build(self) -> Result<GetSessionEndpointOutput, BuildError>
pub fn build(self) -> Result<GetSessionEndpointOutput, BuildError>
Consumes the builder and constructs a GetSessionEndpointOutput.
This method will fail if any of the following fields are not set:
Trait Implementations§
Source§impl Clone for GetSessionEndpointOutputBuilder
impl Clone for GetSessionEndpointOutputBuilder
Source§fn clone(&self) -> GetSessionEndpointOutputBuilder
fn clone(&self) -> GetSessionEndpointOutputBuilder
Returns a duplicate 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 GetSessionEndpointOutputBuilder
impl Default for GetSessionEndpointOutputBuilder
Source§fn default() -> GetSessionEndpointOutputBuilder
fn default() -> GetSessionEndpointOutputBuilder
Returns the “default value” for a type. Read more
Source§impl PartialEq for GetSessionEndpointOutputBuilder
impl PartialEq for GetSessionEndpointOutputBuilder
Source§fn eq(&self, other: &GetSessionEndpointOutputBuilder) -> bool
fn eq(&self, other: &GetSessionEndpointOutputBuilder) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for GetSessionEndpointOutputBuilder
Auto Trait Implementations§
impl Freeze for GetSessionEndpointOutputBuilder
impl RefUnwindSafe for GetSessionEndpointOutputBuilder
impl Send for GetSessionEndpointOutputBuilder
impl Sync for GetSessionEndpointOutputBuilder
impl Unpin for GetSessionEndpointOutputBuilder
impl UnsafeUnpin for GetSessionEndpointOutputBuilder
impl UnwindSafe for GetSessionEndpointOutputBuilder
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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.