Interface DescribeIndexResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeIndexResponse.Builder,
,DescribeIndexResponse> KendraResponse.Builder
,SdkBuilder<DescribeIndexResponse.Builder,
,DescribeIndexResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DescribeIndexResponse
-
Method Summary
Modifier and TypeMethodDescriptiondefault DescribeIndexResponse.Builder
capacityUnits
(Consumer<CapacityUnitsConfiguration.Builder> capacityUnits) For Enterprise Edition indexes, you can choose to use additional capacity to meet the needs of your application.capacityUnits
(CapacityUnitsConfiguration capacityUnits) For Enterprise Edition indexes, you can choose to use additional capacity to meet the needs of your application.The Unix timestamp when the index was created.description
(String description) The description for the index.documentMetadataConfigurations
(Collection<DocumentMetadataConfiguration> documentMetadataConfigurations) Configuration information for document metadata or fields.documentMetadataConfigurations
(Consumer<DocumentMetadataConfiguration.Builder>... documentMetadataConfigurations) Configuration information for document metadata or fields.documentMetadataConfigurations
(DocumentMetadataConfiguration... documentMetadataConfigurations) Configuration information for document metadata or fields.The Amazon Kendra edition used for the index.edition
(IndexEdition edition) The Amazon Kendra edition used for the index.errorMessage
(String errorMessage) When theStatus
field value isFAILED
, theErrorMessage
field contains a message that explains why.The identifier of the index.default DescribeIndexResponse.Builder
indexStatistics
(Consumer<IndexStatistics.Builder> indexStatistics) Provides information about the number of FAQ questions and answers and the number of text documents indexed.indexStatistics
(IndexStatistics indexStatistics) Provides information about the number of FAQ questions and answers and the number of text documents indexed.The name of the index.The Amazon Resource Name (ARN) of the IAM role that gives Amazon Kendra permission to write to your Amazon CloudWatch logs.default DescribeIndexResponse.Builder
serverSideEncryptionConfiguration
(Consumer<ServerSideEncryptionConfiguration.Builder> serverSideEncryptionConfiguration) The identifier of the KMS customer master key (CMK) that is used to encrypt your data.serverSideEncryptionConfiguration
(ServerSideEncryptionConfiguration serverSideEncryptionConfiguration) The identifier of the KMS customer master key (CMK) that is used to encrypt your data.The current status of the index.status
(IndexStatus status) The current status of the index.The Unix timestamp when the index was last updated.userContextPolicy
(String userContextPolicy) The user context policy for the Amazon Kendra index.userContextPolicy
(UserContextPolicy userContextPolicy) The user context policy for the Amazon Kendra index.default DescribeIndexResponse.Builder
userGroupResolutionConfiguration
(Consumer<UserGroupResolutionConfiguration.Builder> userGroupResolutionConfiguration) Whether you have enabled IAM Identity Center identity source for your users and groups.userGroupResolutionConfiguration
(UserGroupResolutionConfiguration userGroupResolutionConfiguration) Whether you have enabled IAM Identity Center identity source for your users and groups.userTokenConfigurations
(Collection<UserTokenConfiguration> userTokenConfigurations) The user token configuration for the Amazon Kendra index.userTokenConfigurations
(Consumer<UserTokenConfiguration.Builder>... userTokenConfigurations) The user token configuration for the Amazon Kendra index.userTokenConfigurations
(UserTokenConfiguration... userTokenConfigurations) The user token configuration for the Amazon Kendra index.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.kendra.model.KendraResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
name
The name of the index.
- Parameters:
name
- The name of the index.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
id
The identifier of the index.
- Parameters:
id
- The identifier of the index.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
edition
The Amazon Kendra edition used for the index. You decide the edition when you create the index.
- Parameters:
edition
- The Amazon Kendra edition used for the index. You decide the edition when you create the index.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
edition
The Amazon Kendra edition used for the index. You decide the edition when you create the index.
- Parameters:
edition
- The Amazon Kendra edition used for the index. You decide the edition when you create the index.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
roleArn
The Amazon Resource Name (ARN) of the IAM role that gives Amazon Kendra permission to write to your Amazon CloudWatch logs.
- Parameters:
roleArn
- The Amazon Resource Name (ARN) of the IAM role that gives Amazon Kendra permission to write to your Amazon CloudWatch logs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
serverSideEncryptionConfiguration
DescribeIndexResponse.Builder serverSideEncryptionConfiguration(ServerSideEncryptionConfiguration serverSideEncryptionConfiguration) The identifier of the KMS customer master key (CMK) that is used to encrypt your data. Amazon Kendra doesn't support asymmetric CMKs.
- Parameters:
serverSideEncryptionConfiguration
- The identifier of the KMS customer master key (CMK) that is used to encrypt your data. Amazon Kendra doesn't support asymmetric CMKs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
serverSideEncryptionConfiguration
default DescribeIndexResponse.Builder serverSideEncryptionConfiguration(Consumer<ServerSideEncryptionConfiguration.Builder> serverSideEncryptionConfiguration) The identifier of the KMS customer master key (CMK) that is used to encrypt your data. Amazon Kendra doesn't support asymmetric CMKs.
This is a convenience method that creates an instance of theServerSideEncryptionConfiguration.Builder
avoiding the need to create one manually viaServerSideEncryptionConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toserverSideEncryptionConfiguration(ServerSideEncryptionConfiguration)
.- Parameters:
serverSideEncryptionConfiguration
- a consumer that will call methods onServerSideEncryptionConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The current status of the index. When the value is
ACTIVE
, the index is ready for use. If theStatus
field value isFAILED
, theErrorMessage
field contains a message that explains why.- Parameters:
status
- The current status of the index. When the value isACTIVE
, the index is ready for use. If theStatus
field value isFAILED
, theErrorMessage
field contains a message that explains why.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The current status of the index. When the value is
ACTIVE
, the index is ready for use. If theStatus
field value isFAILED
, theErrorMessage
field contains a message that explains why.- Parameters:
status
- The current status of the index. When the value isACTIVE
, the index is ready for use. If theStatus
field value isFAILED
, theErrorMessage
field contains a message that explains why.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
description
The description for the index.
- Parameters:
description
- The description for the index.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdAt
The Unix timestamp when the index was created.
- Parameters:
createdAt
- The Unix timestamp when the index was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
updatedAt
The Unix timestamp when the index was last updated.
- Parameters:
updatedAt
- The Unix timestamp when the index was last updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
documentMetadataConfigurations
DescribeIndexResponse.Builder documentMetadataConfigurations(Collection<DocumentMetadataConfiguration> documentMetadataConfigurations) Configuration information for document metadata or fields. Document metadata are fields or attributes associated with your documents. For example, the company department name associated with each document.
- Parameters:
documentMetadataConfigurations
- Configuration information for document metadata or fields. Document metadata are fields or attributes associated with your documents. For example, the company department name associated with each document.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
documentMetadataConfigurations
DescribeIndexResponse.Builder documentMetadataConfigurations(DocumentMetadataConfiguration... documentMetadataConfigurations) Configuration information for document metadata or fields. Document metadata are fields or attributes associated with your documents. For example, the company department name associated with each document.
- Parameters:
documentMetadataConfigurations
- Configuration information for document metadata or fields. Document metadata are fields or attributes associated with your documents. For example, the company department name associated with each document.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
documentMetadataConfigurations
DescribeIndexResponse.Builder documentMetadataConfigurations(Consumer<DocumentMetadataConfiguration.Builder>... documentMetadataConfigurations) Configuration information for document metadata or fields. Document metadata are fields or attributes associated with your documents. For example, the company department name associated with each document.
This is a convenience method that creates an instance of theDocumentMetadataConfiguration.Builder
avoiding the need to create one manually viaDocumentMetadataConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todocumentMetadataConfigurations(List<DocumentMetadataConfiguration>)
.- Parameters:
documentMetadataConfigurations
- a consumer that will call methods onDocumentMetadataConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
indexStatistics
Provides information about the number of FAQ questions and answers and the number of text documents indexed.
- Parameters:
indexStatistics
- Provides information about the number of FAQ questions and answers and the number of text documents indexed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
indexStatistics
default DescribeIndexResponse.Builder indexStatistics(Consumer<IndexStatistics.Builder> indexStatistics) Provides information about the number of FAQ questions and answers and the number of text documents indexed.
This is a convenience method that creates an instance of theIndexStatistics.Builder
avoiding the need to create one manually viaIndexStatistics.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toindexStatistics(IndexStatistics)
.- Parameters:
indexStatistics
- a consumer that will call methods onIndexStatistics.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
errorMessage
When the
Status
field value isFAILED
, theErrorMessage
field contains a message that explains why.- Parameters:
errorMessage
- When theStatus
field value isFAILED
, theErrorMessage
field contains a message that explains why.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
capacityUnits
For Enterprise Edition indexes, you can choose to use additional capacity to meet the needs of your application. This contains the capacity units used for the index. A query or document storage capacity of zero indicates that the index is using the default capacity. For more information on the default capacity for an index and adjusting this, see Adjusting capacity.
- Parameters:
capacityUnits
- For Enterprise Edition indexes, you can choose to use additional capacity to meet the needs of your application. This contains the capacity units used for the index. A query or document storage capacity of zero indicates that the index is using the default capacity. For more information on the default capacity for an index and adjusting this, see Adjusting capacity.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
capacityUnits
default DescribeIndexResponse.Builder capacityUnits(Consumer<CapacityUnitsConfiguration.Builder> capacityUnits) For Enterprise Edition indexes, you can choose to use additional capacity to meet the needs of your application. This contains the capacity units used for the index. A query or document storage capacity of zero indicates that the index is using the default capacity. For more information on the default capacity for an index and adjusting this, see Adjusting capacity.
This is a convenience method that creates an instance of theCapacityUnitsConfiguration.Builder
avoiding the need to create one manually viaCapacityUnitsConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocapacityUnits(CapacityUnitsConfiguration)
.- Parameters:
capacityUnits
- a consumer that will call methods onCapacityUnitsConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
userTokenConfigurations
DescribeIndexResponse.Builder userTokenConfigurations(Collection<UserTokenConfiguration> userTokenConfigurations) The user token configuration for the Amazon Kendra index.
- Parameters:
userTokenConfigurations
- The user token configuration for the Amazon Kendra index.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
userTokenConfigurations
DescribeIndexResponse.Builder userTokenConfigurations(UserTokenConfiguration... userTokenConfigurations) The user token configuration for the Amazon Kendra index.
- Parameters:
userTokenConfigurations
- The user token configuration for the Amazon Kendra index.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
userTokenConfigurations
DescribeIndexResponse.Builder userTokenConfigurations(Consumer<UserTokenConfiguration.Builder>... userTokenConfigurations) The user token configuration for the Amazon Kendra index.
This is a convenience method that creates an instance of theUserTokenConfiguration.Builder
avoiding the need to create one manually viaUserTokenConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed touserTokenConfigurations(List<UserTokenConfiguration>)
.- Parameters:
userTokenConfigurations
- a consumer that will call methods onUserTokenConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
userContextPolicy
The user context policy for the Amazon Kendra index.
- Parameters:
userContextPolicy
- The user context policy for the Amazon Kendra index.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
userContextPolicy
The user context policy for the Amazon Kendra index.
- Parameters:
userContextPolicy
- The user context policy for the Amazon Kendra index.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
userGroupResolutionConfiguration
DescribeIndexResponse.Builder userGroupResolutionConfiguration(UserGroupResolutionConfiguration userGroupResolutionConfiguration) Whether you have enabled IAM Identity Center identity source for your users and groups. This is useful for user context filtering, where search results are filtered based on the user or their group access to documents.
- Parameters:
userGroupResolutionConfiguration
- Whether you have enabled IAM Identity Center identity source for your users and groups. This is useful for user context filtering, where search results are filtered based on the user or their group access to documents.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
userGroupResolutionConfiguration
default DescribeIndexResponse.Builder userGroupResolutionConfiguration(Consumer<UserGroupResolutionConfiguration.Builder> userGroupResolutionConfiguration) Whether you have enabled IAM Identity Center identity source for your users and groups. This is useful for user context filtering, where search results are filtered based on the user or their group access to documents.
This is a convenience method that creates an instance of theUserGroupResolutionConfiguration.Builder
avoiding the need to create one manually viaUserGroupResolutionConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed touserGroupResolutionConfiguration(UserGroupResolutionConfiguration)
.- Parameters:
userGroupResolutionConfiguration
- a consumer that will call methods onUserGroupResolutionConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-