Interface DescribeIndexResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribeIndexResponse.Builder,DescribeIndexResponse>,KendraResponse.Builder,SdkBuilder<DescribeIndexResponse.Builder,DescribeIndexResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- DescribeIndexResponse
public static interface DescribeIndexResponse.Builder extends KendraResponse.Builder, SdkPojo, CopyableBuilder<DescribeIndexResponse.Builder,DescribeIndexResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default DescribeIndexResponse.BuildercapacityUnits(Consumer<CapacityUnitsConfiguration.Builder> capacityUnits)For Enterprise Edition indexes, you can choose to use additional capacity to meet the needs of your application.DescribeIndexResponse.BuildercapacityUnits(CapacityUnitsConfiguration capacityUnits)For Enterprise Edition indexes, you can choose to use additional capacity to meet the needs of your application.DescribeIndexResponse.BuildercreatedAt(Instant createdAt)The Unix timestamp when the index was created.DescribeIndexResponse.Builderdescription(String description)The description for the index.DescribeIndexResponse.BuilderdocumentMetadataConfigurations(Collection<DocumentMetadataConfiguration> documentMetadataConfigurations)Configuration information for document metadata or fields.DescribeIndexResponse.BuilderdocumentMetadataConfigurations(Consumer<DocumentMetadataConfiguration.Builder>... documentMetadataConfigurations)Configuration information for document metadata or fields.DescribeIndexResponse.BuilderdocumentMetadataConfigurations(DocumentMetadataConfiguration... documentMetadataConfigurations)Configuration information for document metadata or fields.DescribeIndexResponse.Builderedition(String edition)The Amazon Kendra edition used for the index.DescribeIndexResponse.Builderedition(IndexEdition edition)The Amazon Kendra edition used for the index.DescribeIndexResponse.BuildererrorMessage(String errorMessage)When theStatusfield value isFAILED, theErrorMessagefield contains a message that explains why.DescribeIndexResponse.Builderid(String id)The identifier of the index.default DescribeIndexResponse.BuilderindexStatistics(Consumer<IndexStatistics.Builder> indexStatistics)Provides information about the number of FAQ questions and answers and the number of text documents indexed.DescribeIndexResponse.BuilderindexStatistics(IndexStatistics indexStatistics)Provides information about the number of FAQ questions and answers and the number of text documents indexed.DescribeIndexResponse.Buildername(String name)The name of the index.DescribeIndexResponse.BuilderroleArn(String roleArn)The Amazon Resource Name (ARN) of the IAM role that gives Amazon Kendra permission to write to your Amazon CloudWatch logs.default DescribeIndexResponse.BuilderserverSideEncryptionConfiguration(Consumer<ServerSideEncryptionConfiguration.Builder> serverSideEncryptionConfiguration)The identifier of the KMS customer master key (CMK) that is used to encrypt your data.DescribeIndexResponse.BuilderserverSideEncryptionConfiguration(ServerSideEncryptionConfiguration serverSideEncryptionConfiguration)The identifier of the KMS customer master key (CMK) that is used to encrypt your data.DescribeIndexResponse.Builderstatus(String status)The current status of the index.DescribeIndexResponse.Builderstatus(IndexStatus status)The current status of the index.DescribeIndexResponse.BuilderupdatedAt(Instant updatedAt)The Unix timestamp when the index was last updated.DescribeIndexResponse.BuilderuserContextPolicy(String userContextPolicy)The user context policy for the Amazon Kendra index.DescribeIndexResponse.BuilderuserContextPolicy(UserContextPolicy userContextPolicy)The user context policy for the Amazon Kendra index.default DescribeIndexResponse.BuilderuserGroupResolutionConfiguration(Consumer<UserGroupResolutionConfiguration.Builder> userGroupResolutionConfiguration)Whether you have enabled IAM Identity Center identity source for your users and groups.DescribeIndexResponse.BuilderuserGroupResolutionConfiguration(UserGroupResolutionConfiguration userGroupResolutionConfiguration)Whether you have enabled IAM Identity Center identity source for your users and groups.DescribeIndexResponse.BuilderuserTokenConfigurations(Collection<UserTokenConfiguration> userTokenConfigurations)The user token configuration for the Amazon Kendra index.DescribeIndexResponse.BuilderuserTokenConfigurations(Consumer<UserTokenConfiguration.Builder>... userTokenConfigurations)The user token configuration for the Amazon Kendra index.DescribeIndexResponse.BuilderuserTokenConfigurations(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 Detail
-
name
DescribeIndexResponse.Builder name(String 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
DescribeIndexResponse.Builder id(String 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
DescribeIndexResponse.Builder edition(String 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:
IndexEdition,IndexEdition
-
edition
DescribeIndexResponse.Builder edition(IndexEdition 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:
IndexEdition,IndexEdition
-
roleArn
DescribeIndexResponse.Builder roleArn(String 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.Builderavoiding the need to create one manually viaServerSideEncryptionConfiguration.builder().When the
Consumercompletes,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:
serverSideEncryptionConfiguration(ServerSideEncryptionConfiguration)
-
status
DescribeIndexResponse.Builder status(String status)
The 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 isACTIVE, the index is ready for use. If theStatusfield value isFAILED, theErrorMessagefield contains a message that explains why.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
IndexStatus,IndexStatus
-
status
DescribeIndexResponse.Builder status(IndexStatus status)
The 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 isACTIVE, the index is ready for use. If theStatusfield value isFAILED, theErrorMessagefield contains a message that explains why.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
IndexStatus,IndexStatus
-
description
DescribeIndexResponse.Builder description(String 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
DescribeIndexResponse.Builder createdAt(Instant 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
DescribeIndexResponse.Builder updatedAt(Instant 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.Builderavoiding the need to create one manually viaDocumentMetadataConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#documentMetadataConfigurations(List.) - 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:
#documentMetadataConfigurations(java.util.Collection)
-
indexStatistics
DescribeIndexResponse.Builder indexStatistics(IndexStatistics 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.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 onIndexStatistics.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
indexStatistics(IndexStatistics)
-
errorMessage
DescribeIndexResponse.Builder errorMessage(String errorMessage)
When the
Statusfield value isFAILED, theErrorMessagefield contains a message that explains why.- Parameters:
errorMessage- When theStatusfield value isFAILED, theErrorMessagefield contains a message that explains why.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
capacityUnits
DescribeIndexResponse.Builder capacityUnits(CapacityUnitsConfiguration 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.Builderavoiding the need to create one manually viaCapacityUnitsConfiguration.builder().When the
Consumercompletes,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:
capacityUnits(CapacityUnitsConfiguration)
-
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.Builderavoiding the need to create one manually viaUserTokenConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#userTokenConfigurations(List.) - 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:
#userTokenConfigurations(java.util.Collection)
-
userContextPolicy
DescribeIndexResponse.Builder userContextPolicy(String 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,UserContextPolicy
-
userContextPolicy
DescribeIndexResponse.Builder userContextPolicy(UserContextPolicy 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,UserContextPolicy
-
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.Builderavoiding the need to create one manually viaUserGroupResolutionConfiguration.builder().When the
Consumercompletes,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:
userGroupResolutionConfiguration(UserGroupResolutionConfiguration)
-
-