Struct aws_sdk_sts::output::get_caller_identity_output::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for GetCallerIdentityOutput
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn user_id(self, input: impl Into<String>) -> Self
pub fn user_id(self, input: impl Into<String>) -> Self
The unique identifier of the calling entity. The exact value depends on the type of entity that is making the call. The values returned are those listed in the aws:userid column in the Principal table found on the Policy Variables reference page in the IAM User Guide.
sourcepub fn set_user_id(self, input: Option<String>) -> Self
pub fn set_user_id(self, input: Option<String>) -> Self
The unique identifier of the calling entity. The exact value depends on the type of entity that is making the call. The values returned are those listed in the aws:userid column in the Principal table found on the Policy Variables reference page in the IAM User Guide.
sourcepub fn account(self, input: impl Into<String>) -> Self
pub fn account(self, input: impl Into<String>) -> Self
The Amazon Web Services account ID number of the account that owns or contains the calling entity.
sourcepub fn set_account(self, input: Option<String>) -> Self
pub fn set_account(self, input: Option<String>) -> Self
The Amazon Web Services account ID number of the account that owns or contains the calling entity.
sourcepub fn arn(self, input: impl Into<String>) -> Self
pub fn arn(self, input: impl Into<String>) -> Self
The Amazon Web Services ARN associated with the calling entity.
sourcepub fn set_arn(self, input: Option<String>) -> Self
pub fn set_arn(self, input: Option<String>) -> Self
The Amazon Web Services ARN associated with the calling entity.
sourcepub fn build(self) -> GetCallerIdentityOutput
pub fn build(self) -> GetCallerIdentityOutput
Consumes the builder and constructs a GetCallerIdentityOutput
.