Struct aws_sdk_qbusiness::operation::create_index::CreateIndexInput
source · #[non_exhaustive]pub struct CreateIndexInput {
pub application_id: Option<String>,
pub display_name: Option<String>,
pub description: Option<String>,
pub tags: Option<Vec<Tag>>,
pub capacity_configuration: Option<IndexCapacityConfiguration>,
pub client_token: Option<String>,
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.application_id: Option<String>The identifier of the Amazon Q application using the index.
display_name: Option<String>A name for the Amazon Q index.
description: Option<String>A description for the Amazon Q index.
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: _ . : / = + - @.
capacity_configuration: Option<IndexCapacityConfiguration>The capacity units you want to provision for your index. You can add and remove capacity to fit your usage needs.
client_token: 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.
Implementations§
source§impl CreateIndexInput
impl CreateIndexInput
sourcepub fn application_id(&self) -> Option<&str>
pub fn application_id(&self) -> Option<&str>
The identifier of the Amazon Q application using the index.
sourcepub fn display_name(&self) -> Option<&str>
pub fn display_name(&self) -> Option<&str>
A name for the Amazon Q index.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
A description for the Amazon Q index.
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: _ . : / = + - @.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .tags.is_none().
sourcepub fn capacity_configuration(&self) -> Option<&IndexCapacityConfiguration>
pub fn 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) -> Option<&str>
pub fn client_token(&self) -> Option<&str>
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.
source§impl CreateIndexInput
impl CreateIndexInput
sourcepub fn builder() -> CreateIndexInputBuilder
pub fn builder() -> CreateIndexInputBuilder
Creates a new builder-style object to manufacture CreateIndexInput.
Trait Implementations§
source§impl Clone for CreateIndexInput
impl Clone for CreateIndexInput
source§fn clone(&self) -> CreateIndexInput
fn clone(&self) -> CreateIndexInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for CreateIndexInput
impl Debug for CreateIndexInput
source§impl PartialEq for CreateIndexInput
impl PartialEq for CreateIndexInput
source§fn eq(&self, other: &CreateIndexInput) -> bool
fn eq(&self, other: &CreateIndexInput) -> bool
self and other values to be equal, and is used
by ==.