Struct aws_sdk_ivschat::operation::create_chat_token::builders::CreateChatTokenOutputBuilder
source · #[non_exhaustive]pub struct CreateChatTokenOutputBuilder { /* private fields */ }Expand description
A builder for CreateChatTokenOutput.
Implementations§
source§impl CreateChatTokenOutputBuilder
impl CreateChatTokenOutputBuilder
sourcepub fn token_expiration_time(self, input: DateTime) -> Self
pub fn token_expiration_time(self, input: DateTime) -> Self
Time after which the token is no longer valid and cannot be used to connect to a room. This is an ISO 8601 timestamp; note that this is returned as a string.
sourcepub fn set_token_expiration_time(self, input: Option<DateTime>) -> Self
pub fn set_token_expiration_time(self, input: Option<DateTime>) -> Self
Time after which the token is no longer valid and cannot be used to connect to a room. This is an ISO 8601 timestamp; note that this is returned as a string.
sourcepub fn get_token_expiration_time(&self) -> &Option<DateTime>
pub fn get_token_expiration_time(&self) -> &Option<DateTime>
Time after which the token is no longer valid and cannot be used to connect to a room. This is an ISO 8601 timestamp; note that this is returned as a string.
sourcepub fn session_expiration_time(self, input: DateTime) -> Self
pub fn session_expiration_time(self, input: DateTime) -> Self
Time after which an end user's session is no longer valid. This is an ISO 8601 timestamp; note that this is returned as a string.
sourcepub fn set_session_expiration_time(self, input: Option<DateTime>) -> Self
pub fn set_session_expiration_time(self, input: Option<DateTime>) -> Self
Time after which an end user's session is no longer valid. This is an ISO 8601 timestamp; note that this is returned as a string.
sourcepub fn get_session_expiration_time(&self) -> &Option<DateTime>
pub fn get_session_expiration_time(&self) -> &Option<DateTime>
Time after which an end user's session is no longer valid. This is an ISO 8601 timestamp; note that this is returned as a string.
sourcepub fn build(self) -> CreateChatTokenOutput
pub fn build(self) -> CreateChatTokenOutput
Consumes the builder and constructs a CreateChatTokenOutput.
Trait Implementations§
source§impl Clone for CreateChatTokenOutputBuilder
impl Clone for CreateChatTokenOutputBuilder
source§fn clone(&self) -> CreateChatTokenOutputBuilder
fn clone(&self) -> CreateChatTokenOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for CreateChatTokenOutputBuilder
impl Debug for CreateChatTokenOutputBuilder
source§impl Default for CreateChatTokenOutputBuilder
impl Default for CreateChatTokenOutputBuilder
source§fn default() -> CreateChatTokenOutputBuilder
fn default() -> CreateChatTokenOutputBuilder
source§impl PartialEq for CreateChatTokenOutputBuilder
impl PartialEq for CreateChatTokenOutputBuilder
source§fn eq(&self, other: &CreateChatTokenOutputBuilder) -> bool
fn eq(&self, other: &CreateChatTokenOutputBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for CreateChatTokenOutputBuilder
Auto Trait Implementations§
impl Freeze for CreateChatTokenOutputBuilder
impl RefUnwindSafe for CreateChatTokenOutputBuilder
impl Send for CreateChatTokenOutputBuilder
impl Sync for CreateChatTokenOutputBuilder
impl Unpin for CreateChatTokenOutputBuilder
impl UnwindSafe for CreateChatTokenOutputBuilder
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