Interface CreatePartitionRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreatePartitionRequest.Builder,,CreatePartitionRequest> GlueRequest.Builder,SdkBuilder<CreatePartitionRequest.Builder,,CreatePartitionRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreatePartitionRequest
public static interface CreatePartitionRequest.Builder
extends GlueRequest.Builder, SdkPojo, CopyableBuilder<CreatePartitionRequest.Builder,CreatePartitionRequest>
-
Method Summary
Modifier and TypeMethodDescriptionThe Amazon Web Services account ID of the catalog in which the partition is to be created.databaseName(String databaseName) The name of the metadata database in which the partition is to be created.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.default CreatePartitionRequest.BuilderpartitionInput(Consumer<PartitionInput.Builder> partitionInput) APartitionInputstructure defining the partition to be created.partitionInput(PartitionInput partitionInput) APartitionInputstructure defining the partition to be created.The name of the metadata table in which the partition is to be created.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 Amazon Web Services account ID of the catalog in which the partition is to be created.
- Parameters:
catalogId- The Amazon Web Services account ID of the catalog in which the partition is to be created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
databaseName
The name of the metadata database in which the partition is to be created.
- Parameters:
databaseName- The name of the metadata database in which the partition is to be created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tableName
The name of the metadata table in which the partition is to be created.
- Parameters:
tableName- The name of the metadata table in which the partition is to be created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
partitionInput
A
PartitionInputstructure defining the partition to be created.- Parameters:
partitionInput- APartitionInputstructure defining the partition to be created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
partitionInput
default CreatePartitionRequest.Builder partitionInput(Consumer<PartitionInput.Builder> partitionInput) A
This is a convenience method that creates an instance of thePartitionInputstructure defining the partition to be created.PartitionInput.Builderavoiding the need to create one manually viaPartitionInput.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed topartitionInput(PartitionInput).- Parameters:
partitionInput- a consumer that will call methods onPartitionInput.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
CreatePartitionRequest.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
CreatePartitionRequest.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.
-