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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description CreatePartitionRequest.BuildercatalogId(String catalogId)The Amazon Web Services account ID of the catalog in which the partition is to be created.CreatePartitionRequest.BuilderdatabaseName(String databaseName)The name of the metadata database in which the partition is to be created.CreatePartitionRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)CreatePartitionRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)default CreatePartitionRequest.BuilderpartitionInput(Consumer<PartitionInput.Builder> partitionInput)APartitionInputstructure defining the partition to be created.CreatePartitionRequest.BuilderpartitionInput(PartitionInput partitionInput)APartitionInputstructure defining the partition to be created.CreatePartitionRequest.BuildertableName(String tableName)The name of the metadata table in which the partition is to be created.-
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
CreatePartitionRequest.Builder catalogId(String 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
CreatePartitionRequest.Builder databaseName(String 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
CreatePartitionRequest.Builder tableName(String 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
CreatePartitionRequest.Builder partitionInput(PartitionInput 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:
partitionInput(PartitionInput)
-
overrideConfiguration
CreatePartitionRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreatePartitionRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-