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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description CreatePartitionIndexRequest.BuildercatalogId(String catalogId)The catalog ID where the table resides.CreatePartitionIndexRequest.BuilderdatabaseName(String databaseName)Specifies the name of a database in which you want to create a partition index.CreatePartitionIndexRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)CreatePartitionIndexRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)default CreatePartitionIndexRequest.BuilderpartitionIndex(Consumer<PartitionIndex.Builder> partitionIndex)Specifies aPartitionIndexstructure to create a partition index in an existing table.CreatePartitionIndexRequest.BuilderpartitionIndex(PartitionIndex partitionIndex)Specifies aPartitionIndexstructure to create a partition index in an existing table.CreatePartitionIndexRequest.BuildertableName(String tableName)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 Detail
-
catalogId
CreatePartitionIndexRequest.Builder catalogId(String 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
CreatePartitionIndexRequest.Builder databaseName(String 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
CreatePartitionIndexRequest.Builder tableName(String 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
CreatePartitionIndexRequest.Builder partitionIndex(PartitionIndex 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:
partitionIndex(PartitionIndex)
-
overrideConfiguration
CreatePartitionIndexRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreatePartitionIndexRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-