Struct aws_sdk_resourceexplorer2::operation::create_index::builders::CreateIndexInputBuilder
source · #[non_exhaustive]pub struct CreateIndexInputBuilder { /* private fields */ }Expand description
A builder for CreateIndexInput.
Implementations§
source§impl CreateIndexInputBuilder
impl CreateIndexInputBuilder
sourcepub fn client_token(self, input: impl Into<String>) -> Self
pub fn client_token(self, input: impl Into<String>) -> Self
This value helps ensure idempotency. Resource Explorer uses this value to prevent the accidental creation of duplicate versions. We recommend that you generate a UUID-type value to ensure the uniqueness of your index.
sourcepub fn set_client_token(self, input: Option<String>) -> Self
pub fn set_client_token(self, input: Option<String>) -> Self
This value helps ensure idempotency. Resource Explorer uses this value to prevent the accidental creation of duplicate versions. We recommend that you generate a UUID-type value to ensure the uniqueness of your index.
sourcepub fn get_client_token(&self) -> &Option<String>
pub fn get_client_token(&self) -> &Option<String>
This value helps ensure idempotency. Resource Explorer uses this value to prevent the accidental creation of duplicate versions. We recommend that you generate a UUID-type value to ensure the uniqueness of your index.
Adds a key-value pair to tags.
To override the contents of this collection use set_tags.
The specified tags are attached only to the index created in this Amazon Web Services Region. The tags aren't attached to any of the resources listed in the index.
The specified tags are attached only to the index created in this Amazon Web Services Region. The tags aren't attached to any of the resources listed in the index.
The specified tags are attached only to the index created in this Amazon Web Services Region. The tags aren't attached to any of the resources listed in the index.
sourcepub fn build(self) -> Result<CreateIndexInput, BuildError>
pub fn build(self) -> Result<CreateIndexInput, BuildError>
Consumes the builder and constructs a CreateIndexInput.
source§impl CreateIndexInputBuilder
impl CreateIndexInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<CreateIndexOutput, SdkError<CreateIndexError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<CreateIndexOutput, SdkError<CreateIndexError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreateIndexInputBuilder
impl Clone for CreateIndexInputBuilder
source§fn clone(&self) -> CreateIndexInputBuilder
fn clone(&self) -> CreateIndexInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for CreateIndexInputBuilder
impl Debug for CreateIndexInputBuilder
source§impl Default for CreateIndexInputBuilder
impl Default for CreateIndexInputBuilder
source§fn default() -> CreateIndexInputBuilder
fn default() -> CreateIndexInputBuilder
source§impl PartialEq for CreateIndexInputBuilder
impl PartialEq for CreateIndexInputBuilder
source§fn eq(&self, other: &CreateIndexInputBuilder) -> bool
fn eq(&self, other: &CreateIndexInputBuilder) -> bool
self and other values to be equal, and is used
by ==.