Interface CreateTableRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateTableRequest.Builder,
,CreateTableRequest> GlueRequest.Builder
,SdkBuilder<CreateTableRequest.Builder,
,CreateTableRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
CreateTableRequest
-
Method Summary
Modifier and TypeMethodDescriptionThe ID of the Data Catalog in which to create theTable
.databaseName
(String databaseName) The catalog database in which to create the new table.default CreateTableRequest.Builder
openTableFormatInput
(Consumer<OpenTableFormatInput.Builder> openTableFormatInput) Specifies anOpenTableFormatInput
structure when creating an open format table.openTableFormatInput
(OpenTableFormatInput openTableFormatInput) Specifies anOpenTableFormatInput
structure when creating an open format table.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.partitionIndexes
(Collection<PartitionIndex> partitionIndexes) A list of partition indexes,PartitionIndex
structures, to create in the table.partitionIndexes
(Consumer<PartitionIndex.Builder>... partitionIndexes) A list of partition indexes,PartitionIndex
structures, to create in the table.partitionIndexes
(PartitionIndex... partitionIndexes) A list of partition indexes,PartitionIndex
structures, to create in the table.default CreateTableRequest.Builder
tableInput
(Consumer<TableInput.Builder> tableInput) TheTableInput
object that defines the metadata table to create in the catalog.tableInput
(TableInput tableInput) TheTableInput
object that defines the metadata table to create in the catalog.transactionId
(String transactionId) The ID of the transaction.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 ID of the Data Catalog in which to create the
Table
. If none is supplied, the Amazon Web Services account ID is used by default.- Parameters:
catalogId
- The ID of the Data Catalog in which to create theTable
. If none is supplied, the Amazon Web Services account ID is used by default.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
databaseName
The catalog database in which to create the new table. For Hive compatibility, this name is entirely lowercase.
- Parameters:
databaseName
- The catalog database in which to create the new table. For Hive compatibility, this name is entirely lowercase.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tableInput
The
TableInput
object that defines the metadata table to create in the catalog.- Parameters:
tableInput
- TheTableInput
object that defines the metadata table to create in the catalog.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tableInput
The
This is a convenience method that creates an instance of theTableInput
object that defines the metadata table to create in the catalog.TableInput.Builder
avoiding the need to create one manually viaTableInput.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totableInput(TableInput)
.- Parameters:
tableInput
- a consumer that will call methods onTableInput.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
partitionIndexes
A list of partition indexes,
PartitionIndex
structures, to create in the table.- Parameters:
partitionIndexes
- A list of partition indexes,PartitionIndex
structures, to create in the table.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
partitionIndexes
A list of partition indexes,
PartitionIndex
structures, to create in the table.- Parameters:
partitionIndexes
- A list of partition indexes,PartitionIndex
structures, to create in the table.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
partitionIndexes
A list of partition indexes,
This is a convenience method that creates an instance of thePartitionIndex
structures, to create in the 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 topartitionIndexes(List<PartitionIndex>)
.- Parameters:
partitionIndexes
- 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:
-
transactionId
The ID of the transaction.
- Parameters:
transactionId
- The ID of the transaction.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
openTableFormatInput
Specifies an
OpenTableFormatInput
structure when creating an open format table.- Parameters:
openTableFormatInput
- Specifies anOpenTableFormatInput
structure when creating an open format table.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
openTableFormatInput
default CreateTableRequest.Builder openTableFormatInput(Consumer<OpenTableFormatInput.Builder> openTableFormatInput) Specifies an
This is a convenience method that creates an instance of theOpenTableFormatInput
structure when creating an open format table.OpenTableFormatInput.Builder
avoiding the need to create one manually viaOpenTableFormatInput.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toopenTableFormatInput(OpenTableFormatInput)
.- Parameters:
openTableFormatInput
- a consumer that will call methods onOpenTableFormatInput.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
CreateTableRequest.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
CreateTableRequest.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.
-