Interface CreatePartitionRequest.Builder
- All Superinterfaces:
- AwsRequest.Builder,- Buildable,- CopyableBuilder<CreatePartitionRequest.Builder,,- CreatePartitionRequest> - GlueRequest.Builder,- SdkBuilder<CreatePartitionRequest.Builder,,- CreatePartitionRequest> - SdkPojo,- SdkRequest.Builder
- Enclosing class:
- CreatePartitionRequest
@Mutable
@NotThreadSafe
public static interface CreatePartitionRequest.Builder
extends GlueRequest.Builder, SdkPojo, CopyableBuilder<CreatePartitionRequest.Builder,CreatePartitionRequest> 
- 
Method SummaryModifier 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.BuilderoverrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.services.glue.model.GlueRequest.BuilderbuildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
catalogIdThe 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.
 
- 
databaseNameThe 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.
 
- 
tableNameThe 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.
 
- 
partitionInputA PartitionInputstructure defining the partition to be created.- Parameters:
- partitionInput- A- PartitionInputstructure defining the partition to be created.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
partitionInputdefault 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 on- PartitionInput.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
overrideConfigurationCreatePartitionRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
- overrideConfigurationin interface- AwsRequest.Builder
- Parameters:
- overrideConfiguration- The override configuration.
- Returns:
- This object for method chaining.
 
- 
overrideConfigurationCreatePartitionRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
- overrideConfigurationin interface- AwsRequest.Builder
- Parameters:
- builderConsumer- A- Consumerto which an empty- AwsRequestOverrideConfiguration.Builderwill be given.
- Returns:
- This object for method chaining.
 
 
-