#[non_exhaustive]pub struct GetSessionTokenOutputBuilder { /* private fields */ }
Expand description
A builder for GetSessionTokenOutput
.
Implementations§
Source§impl GetSessionTokenOutputBuilder
impl GetSessionTokenOutputBuilder
Sourcepub fn credentials(self, input: Credentials) -> Self
pub fn credentials(self, input: Credentials) -> Self
The temporary security credentials, which include an access key ID, a secret access key, and a security (or session) token.
The size of the security token that STS API operations return is not fixed. We strongly recommend that you make no assumptions about the maximum size.
Sourcepub fn set_credentials(self, input: Option<Credentials>) -> Self
pub fn set_credentials(self, input: Option<Credentials>) -> Self
The temporary security credentials, which include an access key ID, a secret access key, and a security (or session) token.
The size of the security token that STS API operations return is not fixed. We strongly recommend that you make no assumptions about the maximum size.
Sourcepub fn get_credentials(&self) -> &Option<Credentials>
pub fn get_credentials(&self) -> &Option<Credentials>
The temporary security credentials, which include an access key ID, a secret access key, and a security (or session) token.
The size of the security token that STS API operations return is not fixed. We strongly recommend that you make no assumptions about the maximum size.
Sourcepub fn build(self) -> GetSessionTokenOutput
pub fn build(self) -> GetSessionTokenOutput
Consumes the builder and constructs a GetSessionTokenOutput
.
Trait Implementations§
Source§impl Clone for GetSessionTokenOutputBuilder
impl Clone for GetSessionTokenOutputBuilder
Source§fn clone(&self) -> GetSessionTokenOutputBuilder
fn clone(&self) -> GetSessionTokenOutputBuilder
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for GetSessionTokenOutputBuilder
impl Debug for GetSessionTokenOutputBuilder
Source§impl Default for GetSessionTokenOutputBuilder
impl Default for GetSessionTokenOutputBuilder
Source§fn default() -> GetSessionTokenOutputBuilder
fn default() -> GetSessionTokenOutputBuilder
Source§impl PartialEq for GetSessionTokenOutputBuilder
impl PartialEq for GetSessionTokenOutputBuilder
Source§fn eq(&self, other: &GetSessionTokenOutputBuilder) -> bool
fn eq(&self, other: &GetSessionTokenOutputBuilder) -> bool
self
and other
values to be equal, and is used by ==
.