#[non_exhaustive]pub struct CreateIndexInputBuilder { /* private fields */ }Expand description
A builder for CreateIndexInput.
Implementations§
source§impl CreateIndexInputBuilder
impl CreateIndexInputBuilder
sourcepub fn application_id(self, input: impl Into<String>) -> Self
pub fn application_id(self, input: impl Into<String>) -> Self
The identifier of the Amazon Q application using the index.
This field is required.sourcepub fn set_application_id(self, input: Option<String>) -> Self
pub fn set_application_id(self, input: Option<String>) -> Self
The identifier of the Amazon Q application using the index.
sourcepub fn get_application_id(&self) -> &Option<String>
pub fn get_application_id(&self) -> &Option<String>
The identifier of the Amazon Q application using the index.
sourcepub fn display_name(self, input: impl Into<String>) -> Self
pub fn display_name(self, input: impl Into<String>) -> Self
A name for the Amazon Q index.
This field is required.sourcepub fn set_display_name(self, input: Option<String>) -> Self
pub fn set_display_name(self, input: Option<String>) -> Self
A name for the Amazon Q index.
sourcepub fn get_display_name(&self) -> &Option<String>
pub fn get_display_name(&self) -> &Option<String>
A name for the Amazon Q index.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
A description for the Amazon Q index.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
A description for the Amazon Q index.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
A description for the Amazon Q index.
Appends an item to tags.
To override the contents of this collection use set_tags.
A list of key-value pairs that identify or categorize the index. You can also use tags to help control access to the index. Tag keys and values can consist of Unicode letters, digits, white space, and any of the following symbols: _ . : / = + - @.
A list of key-value pairs that identify or categorize the index. You can also use tags to help control access to the index. Tag keys and values can consist of Unicode letters, digits, white space, and any of the following symbols: _ . : / = + - @.
A list of key-value pairs that identify or categorize the index. You can also use tags to help control access to the index. Tag keys and values can consist of Unicode letters, digits, white space, and any of the following symbols: _ . : / = + - @.
sourcepub fn capacity_configuration(self, input: IndexCapacityConfiguration) -> Self
pub fn capacity_configuration(self, input: IndexCapacityConfiguration) -> Self
The capacity units you want to provision for your index. You can add and remove capacity to fit your usage needs.
sourcepub fn set_capacity_configuration(
self,
input: Option<IndexCapacityConfiguration>
) -> Self
pub fn set_capacity_configuration( self, input: Option<IndexCapacityConfiguration> ) -> Self
The capacity units you want to provision for your index. You can add and remove capacity to fit your usage needs.
sourcepub fn get_capacity_configuration(&self) -> &Option<IndexCapacityConfiguration>
pub fn get_capacity_configuration(&self) -> &Option<IndexCapacityConfiguration>
The capacity units you want to provision for your index. You can add and remove capacity to fit your usage needs.
sourcepub fn client_token(self, input: impl Into<String>) -> Self
pub fn client_token(self, input: impl Into<String>) -> Self
A token that you provide to identify the request to create an index. Multiple calls to the CreateIndex API with the same client token will create only one index.
sourcepub fn set_client_token(self, input: Option<String>) -> Self
pub fn set_client_token(self, input: Option<String>) -> Self
A token that you provide to identify the request to create an index. Multiple calls to the CreateIndex API with the same client token will create only one index.
sourcepub fn get_client_token(&self) -> &Option<String>
pub fn get_client_token(&self) -> &Option<String>
A token that you provide to identify the request to create an index. Multiple calls to the CreateIndex API with the same client token will create only one 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 ==.