Struct aws_sdk_sts::operation::get_caller_identity::builders::GetCallerIdentityOutputBuilder
source · #[non_exhaustive]pub struct GetCallerIdentityOutputBuilder { /* private fields */ }
Expand description
A builder for GetCallerIdentityOutput
.
Implementations§
source§impl GetCallerIdentityOutputBuilder
impl GetCallerIdentityOutputBuilder
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 get_user_id(&self) -> &Option<String>
pub fn get_user_id(&self) -> &Option<String>
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 get_account(&self) -> &Option<String>
pub fn get_account(&self) -> &Option<String>
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 get_arn(&self) -> &Option<String>
pub fn get_arn(&self) -> &Option<String>
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
.
Trait Implementations§
source§impl Clone for GetCallerIdentityOutputBuilder
impl Clone for GetCallerIdentityOutputBuilder
source§fn clone(&self) -> GetCallerIdentityOutputBuilder
fn clone(&self) -> GetCallerIdentityOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for GetCallerIdentityOutputBuilder
impl Default for GetCallerIdentityOutputBuilder
source§fn default() -> GetCallerIdentityOutputBuilder
fn default() -> GetCallerIdentityOutputBuilder
source§impl PartialEq for GetCallerIdentityOutputBuilder
impl PartialEq for GetCallerIdentityOutputBuilder
source§fn eq(&self, other: &GetCallerIdentityOutputBuilder) -> bool
fn eq(&self, other: &GetCallerIdentityOutputBuilder) -> bool
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for GetCallerIdentityOutputBuilder
Auto Trait Implementations§
impl Freeze for GetCallerIdentityOutputBuilder
impl RefUnwindSafe for GetCallerIdentityOutputBuilder
impl Send for GetCallerIdentityOutputBuilder
impl Sync for GetCallerIdentityOutputBuilder
impl Unpin for GetCallerIdentityOutputBuilder
impl UnwindSafe for GetCallerIdentityOutputBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)