Interface CreatePartitionIndexRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreatePartitionIndexRequest.Builder,,CreatePartitionIndexRequest> GlueRequest.Builder,SdkBuilder<CreatePartitionIndexRequest.Builder,,CreatePartitionIndexRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreatePartitionIndexRequest
public static interface CreatePartitionIndexRequest.Builder
extends GlueRequest.Builder, SdkPojo, CopyableBuilder<CreatePartitionIndexRequest.Builder,CreatePartitionIndexRequest>
-
Method Summary
Modifier and TypeMethodDescriptionThe catalog ID where the table resides.databaseName(String databaseName) Specifies the name of a database in which you want to create a partition index.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.partitionIndex(Consumer<PartitionIndex.Builder> partitionIndex) Specifies aPartitionIndexstructure to create a partition index in an existing table.partitionIndex(PartitionIndex partitionIndex) Specifies aPartitionIndexstructure to create a partition index in an existing table.Specifies the name of a table in which you want to create a partition index.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.glue.model.GlueRequest.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
-
catalogId
The catalog ID where the table resides.
- Parameters:
catalogId- The catalog ID where the table resides.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
databaseName
Specifies the name of a database in which you want to create a partition index.
- Parameters:
databaseName- Specifies the name of a database in which you want to create a partition index.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tableName
Specifies the name of a table in which you want to create a partition index.
- Parameters:
tableName- Specifies the name of a table in which you want to create a partition index.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
partitionIndex
Specifies a
PartitionIndexstructure to create a partition index in an existing table.- Parameters:
partitionIndex- Specifies aPartitionIndexstructure to create a partition index in an existing table.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
partitionIndex
default CreatePartitionIndexRequest.Builder partitionIndex(Consumer<PartitionIndex.Builder> partitionIndex) Specifies a
This is a convenience method that creates an instance of thePartitionIndexstructure to create a partition index in an existing table.PartitionIndex.Builderavoiding the need to create one manually viaPartitionIndex.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed topartitionIndex(PartitionIndex).- Parameters:
partitionIndex- a consumer that will call methods onPartitionIndex.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
CreatePartitionIndexRequest.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
CreatePartitionIndexRequest.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.
-