Interface CreateTableRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateTableRequest.Builder,CreateTableRequest>,GlueRequest.Builder,SdkBuilder<CreateTableRequest.Builder,CreateTableRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- CreateTableRequest
public static interface CreateTableRequest.Builder extends GlueRequest.Builder, SdkPojo, CopyableBuilder<CreateTableRequest.Builder,CreateTableRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description CreateTableRequest.BuildercatalogId(String catalogId)The ID of the Data Catalog in which to create theTable.CreateTableRequest.BuilderdatabaseName(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.CreateTableRequest.BuilderopenTableFormatInput(OpenTableFormatInput openTableFormatInput)Specifies anOpenTableFormatInputstructure when creating an open format table.CreateTableRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)CreateTableRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)CreateTableRequest.BuilderpartitionIndexes(Collection<PartitionIndex> partitionIndexes)A list of partition indexes,PartitionIndexstructures, to create in the table.CreateTableRequest.BuilderpartitionIndexes(Consumer<PartitionIndex.Builder>... partitionIndexes)A list of partition indexes,PartitionIndexstructures, to create in the table.CreateTableRequest.BuilderpartitionIndexes(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.CreateTableRequest.BuildertableInput(TableInput tableInput)TheTableInputobject that defines the metadata table to create in the catalog.CreateTableRequest.BuildertransactionId(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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
catalogId
CreateTableRequest.Builder catalogId(String 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
CreateTableRequest.Builder databaseName(String 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
CreateTableRequest.Builder tableInput(TableInput 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
default CreateTableRequest.Builder tableInput(Consumer<TableInput.Builder> 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:
tableInput(TableInput)
-
partitionIndexes
CreateTableRequest.Builder partitionIndexes(Collection<PartitionIndex> 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
CreateTableRequest.Builder partitionIndexes(PartitionIndex... 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
CreateTableRequest.Builder partitionIndexes(Consumer<PartitionIndex.Builder>... 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 to#partitionIndexes(List.) - 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:
#partitionIndexes(java.util.Collection)
-
transactionId
CreateTableRequest.Builder transactionId(String 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
CreateTableRequest.Builder openTableFormatInput(OpenTableFormatInput 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:
openTableFormatInput(OpenTableFormatInput)
-
overrideConfiguration
CreateTableRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateTableRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-