#[non_exhaustive]pub struct TokenValidityUnitsTypeBuilder { /* private fields */ }Expand description
A builder for TokenValidityUnitsType.
Implementations§
source§impl TokenValidityUnitsTypeBuilder
impl TokenValidityUnitsTypeBuilder
sourcepub fn access_token(self, input: TimeUnitsType) -> Self
pub fn access_token(self, input: TimeUnitsType) -> Self
A time unit of seconds, minutes, hours, or days for the value that you set in the AccessTokenValidity parameter. The default AccessTokenValidity time unit is hours. AccessTokenValidity duration can range from five minutes to one day.
sourcepub fn set_access_token(self, input: Option<TimeUnitsType>) -> Self
pub fn set_access_token(self, input: Option<TimeUnitsType>) -> Self
A time unit of seconds, minutes, hours, or days for the value that you set in the AccessTokenValidity parameter. The default AccessTokenValidity time unit is hours. AccessTokenValidity duration can range from five minutes to one day.
sourcepub fn get_access_token(&self) -> &Option<TimeUnitsType>
pub fn get_access_token(&self) -> &Option<TimeUnitsType>
A time unit of seconds, minutes, hours, or days for the value that you set in the AccessTokenValidity parameter. The default AccessTokenValidity time unit is hours. AccessTokenValidity duration can range from five minutes to one day.
sourcepub fn id_token(self, input: TimeUnitsType) -> Self
pub fn id_token(self, input: TimeUnitsType) -> Self
A time unit of seconds, minutes, hours, or days for the value that you set in the IdTokenValidity parameter. The default IdTokenValidity time unit is hours. IdTokenValidity duration can range from five minutes to one day.
sourcepub fn set_id_token(self, input: Option<TimeUnitsType>) -> Self
pub fn set_id_token(self, input: Option<TimeUnitsType>) -> Self
A time unit of seconds, minutes, hours, or days for the value that you set in the IdTokenValidity parameter. The default IdTokenValidity time unit is hours. IdTokenValidity duration can range from five minutes to one day.
sourcepub fn get_id_token(&self) -> &Option<TimeUnitsType>
pub fn get_id_token(&self) -> &Option<TimeUnitsType>
A time unit of seconds, minutes, hours, or days for the value that you set in the IdTokenValidity parameter. The default IdTokenValidity time unit is hours. IdTokenValidity duration can range from five minutes to one day.
sourcepub fn refresh_token(self, input: TimeUnitsType) -> Self
pub fn refresh_token(self, input: TimeUnitsType) -> Self
A time unit of seconds, minutes, hours, or days for the value that you set in the RefreshTokenValidity parameter. The default RefreshTokenValidity time unit is days. RefreshTokenValidity duration can range from 60 minutes to 10 years.
sourcepub fn set_refresh_token(self, input: Option<TimeUnitsType>) -> Self
pub fn set_refresh_token(self, input: Option<TimeUnitsType>) -> Self
A time unit of seconds, minutes, hours, or days for the value that you set in the RefreshTokenValidity parameter. The default RefreshTokenValidity time unit is days. RefreshTokenValidity duration can range from 60 minutes to 10 years.
sourcepub fn get_refresh_token(&self) -> &Option<TimeUnitsType>
pub fn get_refresh_token(&self) -> &Option<TimeUnitsType>
A time unit of seconds, minutes, hours, or days for the value that you set in the RefreshTokenValidity parameter. The default RefreshTokenValidity time unit is days. RefreshTokenValidity duration can range from 60 minutes to 10 years.
sourcepub fn build(self) -> TokenValidityUnitsType
pub fn build(self) -> TokenValidityUnitsType
Consumes the builder and constructs a TokenValidityUnitsType.
Trait Implementations§
source§impl Clone for TokenValidityUnitsTypeBuilder
impl Clone for TokenValidityUnitsTypeBuilder
source§fn clone(&self) -> TokenValidityUnitsTypeBuilder
fn clone(&self) -> TokenValidityUnitsTypeBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for TokenValidityUnitsTypeBuilder
impl Default for TokenValidityUnitsTypeBuilder
source§fn default() -> TokenValidityUnitsTypeBuilder
fn default() -> TokenValidityUnitsTypeBuilder
source§impl PartialEq for TokenValidityUnitsTypeBuilder
impl PartialEq for TokenValidityUnitsTypeBuilder
source§fn eq(&self, other: &TokenValidityUnitsTypeBuilder) -> bool
fn eq(&self, other: &TokenValidityUnitsTypeBuilder) -> bool
self and other values to be equal, and is used
by ==.