#[non_exhaustive]pub struct GetRoleCredentialsInputBuilder { /* private fields */ }
Expand description
A builder for GetRoleCredentialsInput
.
Implementations§
Source§impl GetRoleCredentialsInputBuilder
impl GetRoleCredentialsInputBuilder
Sourcepub fn role_name(self, input: impl Into<String>) -> Self
pub fn role_name(self, input: impl Into<String>) -> Self
The friendly name of the role that is assigned to the user.
This field is required.Sourcepub fn set_role_name(self, input: Option<String>) -> Self
pub fn set_role_name(self, input: Option<String>) -> Self
The friendly name of the role that is assigned to the user.
Sourcepub fn get_role_name(&self) -> &Option<String>
pub fn get_role_name(&self) -> &Option<String>
The friendly name of the role that is assigned to the user.
Sourcepub fn account_id(self, input: impl Into<String>) -> Self
pub fn account_id(self, input: impl Into<String>) -> Self
The identifier for the AWS account that is assigned to the user.
This field is required.Sourcepub fn set_account_id(self, input: Option<String>) -> Self
pub fn set_account_id(self, input: Option<String>) -> Self
The identifier for the AWS account that is assigned to the user.
Sourcepub fn get_account_id(&self) -> &Option<String>
pub fn get_account_id(&self) -> &Option<String>
The identifier for the AWS account that is assigned to the user.
Sourcepub fn access_token(self, input: impl Into<String>) -> Self
pub fn access_token(self, input: impl Into<String>) -> Self
The token issued by the CreateToken
API call. For more information, see CreateToken in the IAM Identity Center OIDC API Reference Guide.
Sourcepub fn set_access_token(self, input: Option<String>) -> Self
pub fn set_access_token(self, input: Option<String>) -> Self
The token issued by the CreateToken
API call. For more information, see CreateToken in the IAM Identity Center OIDC API Reference Guide.
Sourcepub fn get_access_token(&self) -> &Option<String>
pub fn get_access_token(&self) -> &Option<String>
The token issued by the CreateToken
API call. For more information, see CreateToken in the IAM Identity Center OIDC API Reference Guide.
Sourcepub fn build(self) -> Result<GetRoleCredentialsInput, BuildError>
pub fn build(self) -> Result<GetRoleCredentialsInput, BuildError>
Consumes the builder and constructs a GetRoleCredentialsInput
.
Source§impl GetRoleCredentialsInputBuilder
impl GetRoleCredentialsInputBuilder
Sourcepub async fn send_with(
self,
client: &Client,
) -> Result<GetRoleCredentialsOutput, SdkError<GetRoleCredentialsError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<GetRoleCredentialsOutput, SdkError<GetRoleCredentialsError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
Source§impl Clone for GetRoleCredentialsInputBuilder
impl Clone for GetRoleCredentialsInputBuilder
Source§fn clone(&self) -> GetRoleCredentialsInputBuilder
fn clone(&self) -> GetRoleCredentialsInputBuilder
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Default for GetRoleCredentialsInputBuilder
impl Default for GetRoleCredentialsInputBuilder
Source§fn default() -> GetRoleCredentialsInputBuilder
fn default() -> GetRoleCredentialsInputBuilder
Source§impl PartialEq for GetRoleCredentialsInputBuilder
impl PartialEq for GetRoleCredentialsInputBuilder
Source§fn eq(&self, other: &GetRoleCredentialsInputBuilder) -> bool
fn eq(&self, other: &GetRoleCredentialsInputBuilder) -> bool
self
and other
values to be equal, and is used by ==
.