#[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 ==
.