Struct aws_sdk_sts::output::get_session_token_output::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for GetSessionTokenOutput
.
Implementations§
source§impl Builder
impl Builder
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 build(self) -> GetSessionTokenOutput
pub fn build(self) -> GetSessionTokenOutput
Consumes the builder and constructs a GetSessionTokenOutput
.