Interface CreateIndexRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateIndexRequest.Builder,CreateIndexRequest>,QBusinessRequest.Builder,SdkBuilder<CreateIndexRequest.Builder,CreateIndexRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- CreateIndexRequest
public static interface CreateIndexRequest.Builder extends QBusinessRequest.Builder, SdkPojo, CopyableBuilder<CreateIndexRequest.Builder,CreateIndexRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description CreateIndexRequest.BuilderapplicationId(String applicationId)The identifier of the Amazon Q application using the index.default CreateIndexRequest.BuildercapacityConfiguration(Consumer<IndexCapacityConfiguration.Builder> capacityConfiguration)The capacity units you want to provision for your index.CreateIndexRequest.BuildercapacityConfiguration(IndexCapacityConfiguration capacityConfiguration)The capacity units you want to provision for your index.CreateIndexRequest.BuilderclientToken(String clientToken)A token that you provide to identify the request to create an index.CreateIndexRequest.Builderdescription(String description)A description for the Amazon Q index.CreateIndexRequest.BuilderdisplayName(String displayName)A name for the Amazon Q index.CreateIndexRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)CreateIndexRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)CreateIndexRequest.Buildertags(Collection<Tag> tags)A list of key-value pairs that identify or categorize the index.CreateIndexRequest.Buildertags(Consumer<Tag.Builder>... tags)A list of key-value pairs that identify or categorize the index.CreateIndexRequest.Buildertags(Tag... tags)A list of key-value pairs that identify or categorize the index.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.qbusiness.model.QBusinessRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
applicationId
CreateIndexRequest.Builder applicationId(String applicationId)
The identifier of the Amazon Q application using the index.
- Parameters:
applicationId- The identifier of the Amazon Q application using the index.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
capacityConfiguration
CreateIndexRequest.Builder capacityConfiguration(IndexCapacityConfiguration 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:
capacityConfiguration(IndexCapacityConfiguration)
-
clientToken
CreateIndexRequest.Builder clientToken(String 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.
-
description
CreateIndexRequest.Builder description(String description)
A description for the Amazon Q index.
- Parameters:
description- A description for the Amazon Q index.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
displayName
CreateIndexRequest.Builder displayName(String displayName)
A name for the Amazon Q index.
- Parameters:
displayName- A name for the Amazon Q index.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
CreateIndexRequest.Builder tags(Collection<Tag> 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
CreateIndexRequest.Builder tags(Tag... 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
CreateIndexRequest.Builder tags(Consumer<Tag.Builder>... 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 to#tags(List.) - 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:
#tags(java.util.Collection)
-
overrideConfiguration
CreateIndexRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateIndexRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-