Struct aws_sdk_sts::model::assumed_role_user::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for AssumedRoleUser
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn assumed_role_id(self, input: impl Into<String>) -> Self
pub fn assumed_role_id(self, input: impl Into<String>) -> Self
A unique identifier that contains the role ID and the role session name of the role that is being assumed. The role ID is generated by Amazon Web Services when the role is created.
sourcepub fn set_assumed_role_id(self, input: Option<String>) -> Self
pub fn set_assumed_role_id(self, input: Option<String>) -> Self
A unique identifier that contains the role ID and the role session name of the role that is being assumed. The role ID is generated by Amazon Web Services when the role is created.
sourcepub fn arn(self, input: impl Into<String>) -> Self
pub fn arn(self, input: impl Into<String>) -> Self
The ARN of the temporary security credentials that are returned from the AssumeRole
action. For more information about ARNs and how to use them in policies, see IAM Identifiers in the IAM User Guide.
sourcepub fn set_arn(self, input: Option<String>) -> Self
pub fn set_arn(self, input: Option<String>) -> Self
The ARN of the temporary security credentials that are returned from the AssumeRole
action. For more information about ARNs and how to use them in policies, see IAM Identifiers in the IAM User Guide.
sourcepub fn build(self) -> AssumedRoleUser
pub fn build(self) -> AssumedRoleUser
Consumes the builder and constructs a AssumedRoleUser
.