pub struct Builder { /* private fields */ }
Expand description
A builder for GetAuthorizationTokenOutput
.
Implementations§
source§impl Builder
impl Builder
The returned authentication token.
The returned authentication token.
sourcepub fn expiration(self, input: DateTime) -> Self
pub fn expiration(self, input: DateTime) -> Self
A timestamp that specifies the date and time the authorization token expires.
sourcepub fn set_expiration(self, input: Option<DateTime>) -> Self
pub fn set_expiration(self, input: Option<DateTime>) -> Self
A timestamp that specifies the date and time the authorization token expires.
sourcepub fn build(self) -> GetAuthorizationTokenOutput
pub fn build(self) -> GetAuthorizationTokenOutput
Consumes the builder and constructs a GetAuthorizationTokenOutput
.