#[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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)