Struct aws_sdk_account::operation::get_contact_information::builders::GetContactInformationInputBuilder
source · #[non_exhaustive]pub struct GetContactInformationInputBuilder { /* private fields */ }
Expand description
A builder for GetContactInformationInput
.
Implementations§
source§impl GetContactInformationInputBuilder
impl GetContactInformationInputBuilder
sourcepub fn account_id(self, input: impl Into<String>) -> Self
pub fn account_id(self, input: impl Into<String>) -> Self
Specifies the 12-digit account ID number of the Amazon Web Services account that you want to access or modify with this operation. If you don't specify this parameter, it defaults to the Amazon Web Services account of the identity used to call the operation. To use this parameter, the caller must be an identity in the organization's management account or a delegated administrator account. The specified account ID must be a member account in the same organization. The organization must have all features enabled, and the organization must have trusted access enabled for the Account Management service, and optionally a delegated admin account assigned.
The management account can't specify its own AccountId
. It must call the operation in standalone context by not including the AccountId
parameter.
To call this operation on an account that is not a member of an organization, don't specify this parameter. Instead, call the operation using an identity belonging to the account whose contacts you wish to retrieve or modify.
sourcepub fn set_account_id(self, input: Option<String>) -> Self
pub fn set_account_id(self, input: Option<String>) -> Self
Specifies the 12-digit account ID number of the Amazon Web Services account that you want to access or modify with this operation. If you don't specify this parameter, it defaults to the Amazon Web Services account of the identity used to call the operation. To use this parameter, the caller must be an identity in the organization's management account or a delegated administrator account. The specified account ID must be a member account in the same organization. The organization must have all features enabled, and the organization must have trusted access enabled for the Account Management service, and optionally a delegated admin account assigned.
The management account can't specify its own AccountId
. It must call the operation in standalone context by not including the AccountId
parameter.
To call this operation on an account that is not a member of an organization, don't specify this parameter. Instead, call the operation using an identity belonging to the account whose contacts you wish to retrieve or modify.
sourcepub fn get_account_id(&self) -> &Option<String>
pub fn get_account_id(&self) -> &Option<String>
Specifies the 12-digit account ID number of the Amazon Web Services account that you want to access or modify with this operation. If you don't specify this parameter, it defaults to the Amazon Web Services account of the identity used to call the operation. To use this parameter, the caller must be an identity in the organization's management account or a delegated administrator account. The specified account ID must be a member account in the same organization. The organization must have all features enabled, and the organization must have trusted access enabled for the Account Management service, and optionally a delegated admin account assigned.
The management account can't specify its own AccountId
. It must call the operation in standalone context by not including the AccountId
parameter.
To call this operation on an account that is not a member of an organization, don't specify this parameter. Instead, call the operation using an identity belonging to the account whose contacts you wish to retrieve or modify.
sourcepub fn build(self) -> Result<GetContactInformationInput, BuildError>
pub fn build(self) -> Result<GetContactInformationInput, BuildError>
Consumes the builder and constructs a GetContactInformationInput
.
source§impl GetContactInformationInputBuilder
impl GetContactInformationInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<GetContactInformationOutput, SdkError<GetContactInformationError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<GetContactInformationOutput, SdkError<GetContactInformationError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for GetContactInformationInputBuilder
impl Clone for GetContactInformationInputBuilder
source§fn clone(&self) -> GetContactInformationInputBuilder
fn clone(&self) -> GetContactInformationInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for GetContactInformationInputBuilder
impl Default for GetContactInformationInputBuilder
source§fn default() -> GetContactInformationInputBuilder
fn default() -> GetContactInformationInputBuilder
source§impl PartialEq for GetContactInformationInputBuilder
impl PartialEq for GetContactInformationInputBuilder
source§fn eq(&self, other: &GetContactInformationInputBuilder) -> bool
fn eq(&self, other: &GetContactInformationInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for GetContactInformationInputBuilder
Auto Trait Implementations§
impl Freeze for GetContactInformationInputBuilder
impl RefUnwindSafe for GetContactInformationInputBuilder
impl Send for GetContactInformationInputBuilder
impl Sync for GetContactInformationInputBuilder
impl Unpin for GetContactInformationInputBuilder
impl UnwindSafe for GetContactInformationInputBuilder
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> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more