#[non_exhaustive]pub struct CreateInstanceInputBuilder { /* private fields */ }
Expand description
A builder for CreateInstanceInput
.
Implementations§
source§impl CreateInstanceInputBuilder
impl CreateInstanceInputBuilder
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The name of the instance of IAM Identity Center.
sourcepub fn set_name(self, input: Option<String>) -> Self
pub fn set_name(self, input: Option<String>) -> Self
The name of the instance of IAM Identity Center.
sourcepub fn client_token(self, input: impl Into<String>) -> Self
pub fn client_token(self, input: impl Into<String>) -> Self
Specifies a unique, case-sensitive ID that you provide to ensure the idempotency of the request. This lets you safely retry the request without accidentally performing the same operation a second time. Passing the same value to a later call to an operation requires that you also pass the same value for all other parameters. We recommend that you use a UUID type of value.
If you don't provide this value, then Amazon Web Services generates a random one for you.
If you retry the operation with the same ClientToken
, but with different parameters, the retry fails with an IdempotentParameterMismatch
error.
sourcepub fn set_client_token(self, input: Option<String>) -> Self
pub fn set_client_token(self, input: Option<String>) -> Self
Specifies a unique, case-sensitive ID that you provide to ensure the idempotency of the request. This lets you safely retry the request without accidentally performing the same operation a second time. Passing the same value to a later call to an operation requires that you also pass the same value for all other parameters. We recommend that you use a UUID type of value.
If you don't provide this value, then Amazon Web Services generates a random one for you.
If you retry the operation with the same ClientToken
, but with different parameters, the retry fails with an IdempotentParameterMismatch
error.
sourcepub fn get_client_token(&self) -> &Option<String>
pub fn get_client_token(&self) -> &Option<String>
Specifies a unique, case-sensitive ID that you provide to ensure the idempotency of the request. This lets you safely retry the request without accidentally performing the same operation a second time. Passing the same value to a later call to an operation requires that you also pass the same value for all other parameters. We recommend that you use a UUID type of value.
If you don't provide this value, then Amazon Web Services generates a random one for you.
If you retry the operation with the same ClientToken
, but with different parameters, the retry fails with an IdempotentParameterMismatch
error.
Appends an item to tags
.
To override the contents of this collection use set_tags
.
Specifies tags to be attached to the instance of IAM Identity Center.
Specifies tags to be attached to the instance of IAM Identity Center.
Specifies tags to be attached to the instance of IAM Identity Center.
sourcepub fn build(self) -> Result<CreateInstanceInput, BuildError>
pub fn build(self) -> Result<CreateInstanceInput, BuildError>
Consumes the builder and constructs a CreateInstanceInput
.
source§impl CreateInstanceInputBuilder
impl CreateInstanceInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<CreateInstanceOutput, SdkError<CreateInstanceError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<CreateInstanceOutput, SdkError<CreateInstanceError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreateInstanceInputBuilder
impl Clone for CreateInstanceInputBuilder
source§fn clone(&self) -> CreateInstanceInputBuilder
fn clone(&self) -> CreateInstanceInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CreateInstanceInputBuilder
impl Debug for CreateInstanceInputBuilder
source§impl Default for CreateInstanceInputBuilder
impl Default for CreateInstanceInputBuilder
source§fn default() -> CreateInstanceInputBuilder
fn default() -> CreateInstanceInputBuilder
source§impl PartialEq for CreateInstanceInputBuilder
impl PartialEq for CreateInstanceInputBuilder
source§fn eq(&self, other: &CreateInstanceInputBuilder) -> bool
fn eq(&self, other: &CreateInstanceInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CreateInstanceInputBuilder
Auto Trait Implementations§
impl Freeze for CreateInstanceInputBuilder
impl RefUnwindSafe for CreateInstanceInputBuilder
impl Send for CreateInstanceInputBuilder
impl Sync for CreateInstanceInputBuilder
impl Unpin for CreateInstanceInputBuilder
impl UnwindSafe for CreateInstanceInputBuilder
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