#[non_exhaustive]pub struct GetIndexOutputBuilder { /* private fields */ }Expand description
A builder for GetIndexOutput.
Implementations§
source§impl GetIndexOutputBuilder
impl GetIndexOutputBuilder
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 associated with the index.
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 associated with 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 associated with the index.
sourcepub fn set_index_id(self, input: Option<String>) -> Self
pub fn set_index_id(self, input: Option<String>) -> Self
The identifier of the Amazon Q index.
sourcepub fn get_index_id(&self) -> &Option<String>
pub fn get_index_id(&self) -> &Option<String>
The identifier of the Amazon Q index.
sourcepub fn display_name(self, input: impl Into<String>) -> Self
pub fn display_name(self, input: impl Into<String>) -> Self
The name of the Amazon Q index.
sourcepub fn set_display_name(self, input: Option<String>) -> Self
pub fn set_display_name(self, input: Option<String>) -> Self
The name of the Amazon Q index.
sourcepub fn get_display_name(&self) -> &Option<String>
pub fn get_display_name(&self) -> &Option<String>
The name of the Amazon Q index.
sourcepub fn index_arn(self, input: impl Into<String>) -> Self
pub fn index_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the Amazon Q index.
sourcepub fn set_index_arn(self, input: Option<String>) -> Self
pub fn set_index_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the Amazon Q index.
sourcepub fn get_index_arn(&self) -> &Option<String>
pub fn get_index_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the Amazon Q index.
sourcepub fn status(self, input: IndexStatus) -> Self
pub fn status(self, input: IndexStatus) -> Self
The current status of the index. When the value is ACTIVE, the index is ready for use. If the Status field value is FAILED, the ErrorMessage field contains a message that explains why.
sourcepub fn set_status(self, input: Option<IndexStatus>) -> Self
pub fn set_status(self, input: Option<IndexStatus>) -> Self
The current status of the index. When the value is ACTIVE, the index is ready for use. If the Status field value is FAILED, the ErrorMessage field contains a message that explains why.
sourcepub fn get_status(&self) -> &Option<IndexStatus>
pub fn get_status(&self) -> &Option<IndexStatus>
The current status of the index. When the value is ACTIVE, the index is ready for use. If the Status field value is FAILED, the ErrorMessage field contains a message that explains why.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
The description for the Amazon Q index.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
The description for the Amazon Q index.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
The description for the Amazon Q index.
sourcepub fn created_at(self, input: DateTime) -> Self
pub fn created_at(self, input: DateTime) -> Self
The Unix timestamp when the Amazon Q index was created.
sourcepub fn set_created_at(self, input: Option<DateTime>) -> Self
pub fn set_created_at(self, input: Option<DateTime>) -> Self
The Unix timestamp when the Amazon Q index was created.
sourcepub fn get_created_at(&self) -> &Option<DateTime>
pub fn get_created_at(&self) -> &Option<DateTime>
The Unix timestamp when the Amazon Q index was created.
sourcepub fn updated_at(self, input: DateTime) -> Self
pub fn updated_at(self, input: DateTime) -> Self
The Unix timestamp when the Amazon Q index was last updated.
sourcepub fn set_updated_at(self, input: Option<DateTime>) -> Self
pub fn set_updated_at(self, input: Option<DateTime>) -> Self
The Unix timestamp when the Amazon Q index was last updated.
sourcepub fn get_updated_at(&self) -> &Option<DateTime>
pub fn get_updated_at(&self) -> &Option<DateTime>
The Unix timestamp when the Amazon Q index was last updated.
sourcepub fn capacity_configuration(self, input: IndexCapacityConfiguration) -> Self
pub fn capacity_configuration(self, input: IndexCapacityConfiguration) -> Self
The storage capacity units chosen for your Amazon Q index.
sourcepub fn set_capacity_configuration(
self,
input: Option<IndexCapacityConfiguration>
) -> Self
pub fn set_capacity_configuration( self, input: Option<IndexCapacityConfiguration> ) -> Self
The storage capacity units chosen for your Amazon Q index.
sourcepub fn get_capacity_configuration(&self) -> &Option<IndexCapacityConfiguration>
pub fn get_capacity_configuration(&self) -> &Option<IndexCapacityConfiguration>
The storage capacity units chosen for your Amazon Q index.
sourcepub fn document_attribute_configurations(
self,
input: DocumentAttributeConfiguration
) -> Self
pub fn document_attribute_configurations( self, input: DocumentAttributeConfiguration ) -> Self
Appends an item to document_attribute_configurations.
To override the contents of this collection use set_document_attribute_configurations.
Configuration information for document attributes or metadata. Document metadata are fields associated with your documents. For example, the company department name associated with each document. For more information, see Understanding document attributes.
sourcepub fn set_document_attribute_configurations(
self,
input: Option<Vec<DocumentAttributeConfiguration>>
) -> Self
pub fn set_document_attribute_configurations( self, input: Option<Vec<DocumentAttributeConfiguration>> ) -> Self
Configuration information for document attributes or metadata. Document metadata are fields associated with your documents. For example, the company department name associated with each document. For more information, see Understanding document attributes.
sourcepub fn get_document_attribute_configurations(
&self
) -> &Option<Vec<DocumentAttributeConfiguration>>
pub fn get_document_attribute_configurations( &self ) -> &Option<Vec<DocumentAttributeConfiguration>>
Configuration information for document attributes or metadata. Document metadata are fields associated with your documents. For example, the company department name associated with each document. For more information, see Understanding document attributes.
sourcepub fn error(self, input: ErrorDetail) -> Self
pub fn error(self, input: ErrorDetail) -> Self
When the Status field value is FAILED, the ErrorMessage field contains a message that explains why.
sourcepub fn set_error(self, input: Option<ErrorDetail>) -> Self
pub fn set_error(self, input: Option<ErrorDetail>) -> Self
When the Status field value is FAILED, the ErrorMessage field contains a message that explains why.
sourcepub fn get_error(&self) -> &Option<ErrorDetail>
pub fn get_error(&self) -> &Option<ErrorDetail>
When the Status field value is FAILED, the ErrorMessage field contains a message that explains why.
sourcepub fn index_statistics(self, input: IndexStatistics) -> Self
pub fn index_statistics(self, input: IndexStatistics) -> Self
Provides information about the number of documents indexed.
sourcepub fn set_index_statistics(self, input: Option<IndexStatistics>) -> Self
pub fn set_index_statistics(self, input: Option<IndexStatistics>) -> Self
Provides information about the number of documents indexed.
sourcepub fn get_index_statistics(&self) -> &Option<IndexStatistics>
pub fn get_index_statistics(&self) -> &Option<IndexStatistics>
Provides information about the number of documents indexed.
sourcepub fn build(self) -> GetIndexOutput
pub fn build(self) -> GetIndexOutput
Consumes the builder and constructs a GetIndexOutput.
Trait Implementations§
source§impl Clone for GetIndexOutputBuilder
impl Clone for GetIndexOutputBuilder
source§fn clone(&self) -> GetIndexOutputBuilder
fn clone(&self) -> GetIndexOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for GetIndexOutputBuilder
impl Debug for GetIndexOutputBuilder
source§impl Default for GetIndexOutputBuilder
impl Default for GetIndexOutputBuilder
source§fn default() -> GetIndexOutputBuilder
fn default() -> GetIndexOutputBuilder
source§impl PartialEq for GetIndexOutputBuilder
impl PartialEq for GetIndexOutputBuilder
source§fn eq(&self, other: &GetIndexOutputBuilder) -> bool
fn eq(&self, other: &GetIndexOutputBuilder) -> bool
self and other values to be equal, and is used
by ==.