pub struct Builder { /* private fields */ }Expand description
A builder for CreateIndexInput.
Implementations§
source§impl Builder
impl Builder
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 views.
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 views.
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.
sourcepub fn build(self) -> Result<CreateIndexInput, BuildError>
pub fn build(self) -> Result<CreateIndexInput, BuildError>
Consumes the builder and constructs a CreateIndexInput.