Interface GetIndexResponse.Builder
- All Superinterfaces:
- AwsResponse.Builder,- Buildable,- CopyableBuilder<GetIndexResponse.Builder,,- GetIndexResponse> - QBusinessResponse.Builder,- SdkBuilder<GetIndexResponse.Builder,,- GetIndexResponse> - SdkPojo,- SdkResponse.Builder
- Enclosing class:
- GetIndexResponse
- 
Method SummaryModifier and TypeMethodDescriptionapplicationId(String applicationId) The identifier of the Amazon Q Business application associated with the index.default GetIndexResponse.BuildercapacityConfiguration(Consumer<IndexCapacityConfiguration.Builder> capacityConfiguration) The storage capacity units chosen for your Amazon Q Business index.capacityConfiguration(IndexCapacityConfiguration capacityConfiguration) The storage capacity units chosen for your Amazon Q Business index.The Unix timestamp when the Amazon Q Business index was created.description(String description) The description for the Amazon Q Business index.displayName(String displayName) The name of the Amazon Q Business index.documentAttributeConfigurations(Collection<DocumentAttributeConfiguration> documentAttributeConfigurations) Configuration information for document attributes or metadata.documentAttributeConfigurations(Consumer<DocumentAttributeConfiguration.Builder>... documentAttributeConfigurations) Configuration information for document attributes or metadata.documentAttributeConfigurations(DocumentAttributeConfiguration... documentAttributeConfigurations) Configuration information for document attributes or metadata.default GetIndexResponse.Buildererror(Consumer<ErrorDetail.Builder> error) When theStatusfield value isFAILED, theErrorMessagefield contains a message that explains why.error(ErrorDetail error) When theStatusfield value isFAILED, theErrorMessagefield contains a message that explains why.The Amazon Resource Name (ARN) of the Amazon Q Business index.The identifier of the Amazon Q Business index.default GetIndexResponse.BuilderindexStatistics(Consumer<IndexStatistics.Builder> indexStatistics) Provides information about the number of documents indexed.indexStatistics(IndexStatistics indexStatistics) Provides information about the number of documents indexed.The current status of the index.status(IndexStatus status) The current status of the index.The type of index attached to your Amazon Q Business application.The type of index attached to your Amazon Q Business application.The Unix timestamp when the Amazon Q Business index was last updated.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.services.qbusiness.model.QBusinessResponse.Builderbuild, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.BuildersdkHttpResponse, sdkHttpResponse
- 
Method Details- 
applicationIdThe identifier of the Amazon Q Business application associated with the index. - Parameters:
- applicationId- The identifier of the Amazon Q Business application associated with the index.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
indexIdThe identifier of the Amazon Q Business index. - Parameters:
- indexId- The identifier of the Amazon Q Business index.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
displayNameThe name of the Amazon Q Business index. - Parameters:
- displayName- The name of the Amazon Q Business index.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
indexArnThe Amazon Resource Name (ARN) of the Amazon Q Business index. - Parameters:
- indexArn- The Amazon Resource Name (ARN) of the Amazon Q Business index.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
statusThe current status of the index. When the value is ACTIVE, the index is ready for use. If theStatusfield value isFAILED, theErrorMessagefield contains a message that explains why.- Parameters:
- status- The current status of the index. When the value is- ACTIVE, the index is ready for use. If the- Statusfield value is- FAILED, the- ErrorMessagefield contains a message that explains why.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
statusThe current status of the index. When the value is ACTIVE, the index is ready for use. If theStatusfield value isFAILED, theErrorMessagefield contains a message that explains why.- Parameters:
- status- The current status of the index. When the value is- ACTIVE, the index is ready for use. If the- Statusfield value is- FAILED, the- ErrorMessagefield contains a message that explains why.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
typeThe type of index attached to your Amazon Q Business application. - Parameters:
- type- The type of index attached to your Amazon Q Business application.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
typeThe type of index attached to your Amazon Q Business application. - Parameters:
- type- The type of index attached to your Amazon Q Business application.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
descriptionThe description for the Amazon Q Business index. - Parameters:
- description- The description for the Amazon Q Business index.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
createdAtThe Unix timestamp when the Amazon Q Business index was created. - Parameters:
- createdAt- The Unix timestamp when the Amazon Q Business index was created.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
updatedAtThe Unix timestamp when the Amazon Q Business index was last updated. - Parameters:
- updatedAt- The Unix timestamp when the Amazon Q Business index was last updated.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
capacityConfigurationThe storage capacity units chosen for your Amazon Q Business index. - Parameters:
- capacityConfiguration- The storage capacity units chosen for your Amazon Q Business index.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
capacityConfigurationdefault GetIndexResponse.Builder capacityConfiguration(Consumer<IndexCapacityConfiguration.Builder> capacityConfiguration) The storage capacity units chosen for your Amazon Q Business index. This is a convenience method that creates an instance of theIndexCapacityConfiguration.Builderavoiding the need to create one manually viaIndexCapacityConfiguration.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocapacityConfiguration(IndexCapacityConfiguration).- Parameters:
- capacityConfiguration- a consumer that will call methods on- IndexCapacityConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
documentAttributeConfigurationsGetIndexResponse.Builder documentAttributeConfigurations(Collection<DocumentAttributeConfiguration> documentAttributeConfigurations) 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. - Parameters:
- documentAttributeConfigurations- 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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
documentAttributeConfigurationsGetIndexResponse.Builder documentAttributeConfigurations(DocumentAttributeConfiguration... documentAttributeConfigurations) 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. - Parameters:
- documentAttributeConfigurations- 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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
documentAttributeConfigurationsGetIndexResponse.Builder documentAttributeConfigurations(Consumer<DocumentAttributeConfiguration.Builder>... documentAttributeConfigurations) 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. This is a convenience method that creates an instance of theDocumentAttributeConfiguration.Builderavoiding the need to create one manually viaDocumentAttributeConfiguration.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todocumentAttributeConfigurations(List<DocumentAttributeConfiguration>).- Parameters:
- documentAttributeConfigurations- a consumer that will call methods on- DocumentAttributeConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
errorWhen the Statusfield value isFAILED, theErrorMessagefield contains a message that explains why.- Parameters:
- error- When the- Statusfield value is- FAILED, the- ErrorMessagefield contains a message that explains why.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
errorWhen the This is a convenience method that creates an instance of theStatusfield value isFAILED, theErrorMessagefield contains a message that explains why.ErrorDetail.Builderavoiding the need to create one manually viaErrorDetail.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toerror(ErrorDetail).- Parameters:
- error- a consumer that will call methods on- ErrorDetail.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
indexStatisticsProvides information about the number of documents indexed. - Parameters:
- indexStatistics- Provides information about the number of documents indexed.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
indexStatisticsProvides information about the number of documents indexed. This is a convenience method that creates an instance of theIndexStatistics.Builderavoiding the need to create one manually viaIndexStatistics.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toindexStatistics(IndexStatistics).- Parameters:
- indexStatistics- a consumer that will call methods on- IndexStatistics.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
 
-