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.BuilderopenTableFormatInput(Consumer<OpenTableFormatInput.Builder> openTableFormatInput) Specifies anOpenTableFormatInputstructure when creating an open format table.openTableFormatInput(OpenTableFormatInput openTableFormatInput) Specifies anOpenTableFormatInputstructure 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,PartitionIndexstructures, to create in the table.partitionIndexes(Consumer<PartitionIndex.Builder>... partitionIndexes) A list of partition indexes,PartitionIndexstructures, to create in the table.partitionIndexes(PartitionIndex... partitionIndexes) A list of partition indexes,PartitionIndexstructures, to create in the table.default CreateTableRequest.BuildertableInput(Consumer<TableInput.Builder> tableInput) TheTableInputobject that defines the metadata table to create in the catalog.tableInput(TableInput tableInput) TheTableInputobject 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
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 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
TableInputobject that defines the metadata table to create in the catalog.- Parameters:
tableInput- TheTableInputobject 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 theTableInputobject that defines the metadata table to create in the catalog.TableInput.Builderavoiding the need to create one manually viaTableInput.builder().When the
Consumercompletes,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,
PartitionIndexstructures, to create in the table.- Parameters:
partitionIndexes- A list of partition indexes,PartitionIndexstructures, 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,
PartitionIndexstructures, to create in the table.- Parameters:
partitionIndexes- A list of partition indexes,PartitionIndexstructures, 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 thePartitionIndexstructures, to create in the table.PartitionIndex.Builderavoiding the need to create one manually viaPartitionIndex.builder().When the
Consumercompletes,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
OpenTableFormatInputstructure when creating an open format table.- Parameters:
openTableFormatInput- Specifies anOpenTableFormatInputstructure 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 theOpenTableFormatInputstructure when creating an open format table.OpenTableFormatInput.Builderavoiding the need to create one manually viaOpenTableFormatInput.builder().When the
Consumercompletes,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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.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.
-