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 aPartitionIndex
structure to create a partition index in an existing table.partitionIndex
(PartitionIndex partitionIndex) Specifies aPartitionIndex
structure 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
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.glue.model.GlueRequest.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 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
PartitionIndex
structure to create a partition index in an existing table.- Parameters:
partitionIndex
- Specifies aPartitionIndex
structure 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 thePartitionIndex
structure to create a partition index in an existing table.PartitionIndex.Builder
avoiding the need to create one manually viaPartitionIndex.builder()
.When the
Consumer
completes,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.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in 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.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-