Interface CreateIndexRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateIndexRequest.Builder,,CreateIndexRequest> QBusinessRequest.Builder,SdkBuilder<CreateIndexRequest.Builder,,CreateIndexRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateIndexRequest
-
Method Summary
Modifier and TypeMethodDescriptionapplicationId(String applicationId) The identifier of the Amazon Q Business application using the index.default CreateIndexRequest.BuildercapacityConfiguration(Consumer<IndexCapacityConfiguration.Builder> capacityConfiguration) The capacity units you want to provision for your index.capacityConfiguration(IndexCapacityConfiguration capacityConfiguration) The capacity units you want to provision for your index.clientToken(String clientToken) A token that you provide to identify the request to create an index.description(String description) A description for the Amazon Q Business index.displayName(String displayName) A name for the Amazon Q Business index.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.tags(Collection<Tag> tags) A list of key-value pairs that identify or categorize the index.tags(Consumer<Tag.Builder>... tags) A list of key-value pairs that identify or categorize the index.A list of key-value pairs that identify or categorize the index.The index type that's suitable for your needs.The index type that's suitable for your needs.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.qbusiness.model.QBusinessRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
applicationId
The identifier of the Amazon Q Business application using the index.
- Parameters:
applicationId- The identifier of the Amazon Q Business application using the index.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
displayName
A name for the Amazon Q Business index.
- Parameters:
displayName- A name for the Amazon Q Business index.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
type
The index type that's suitable for your needs. For more information on what's included in each type of index, see Amazon Q Business tiers.
- Parameters:
type- The index type that's suitable for your needs. For more information on what's included in each type of index, see Amazon Q Business tiers.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
type
The index type that's suitable for your needs. For more information on what's included in each type of index, see Amazon Q Business tiers.
- Parameters:
type- The index type that's suitable for your needs. For more information on what's included in each type of index, see Amazon Q Business tiers.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
description
A description for the Amazon Q Business index.
- Parameters:
description- A description for the Amazon Q Business index.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
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: _ . : / = + - @.
- Parameters:
tags- 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: _ . : / = + - @.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
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: _ . : / = + - @.
- Parameters:
tags- 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: _ . : / = + - @.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
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: _ . : / = + - @.
This is a convenience method that creates an instance of theTag.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totags(List<Tag>).- Parameters:
tags- a consumer that will call methods onTag.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
capacityConfiguration
The capacity units you want to provision for your index. You can add and remove capacity to fit your usage needs.
- Parameters:
capacityConfiguration- The capacity units you want to provision for your index. You can add and remove capacity to fit your usage needs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
capacityConfiguration
default CreateIndexRequest.Builder capacityConfiguration(Consumer<IndexCapacityConfiguration.Builder> capacityConfiguration) The capacity units you want to provision for your index. You can add and remove capacity to fit your usage needs.
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 onIndexCapacityConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
clientToken
A token that you provide to identify the request to create an index. Multiple calls to the
CreateIndexAPI with the same client token will create only one index.- Parameters:
clientToken- A token that you provide to identify the request to create an index. Multiple calls to theCreateIndexAPI with the same client token will create only one index.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateIndexRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateIndexRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-