Interface GetPartitionRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<GetPartitionRequest.Builder,,GetPartitionRequest> GlueRequest.Builder,SdkBuilder<GetPartitionRequest.Builder,,GetPartitionRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
GetPartitionRequest
@Mutable
@NotThreadSafe
public static interface GetPartitionRequest.Builder
extends GlueRequest.Builder, SdkPojo, CopyableBuilder<GetPartitionRequest.Builder,GetPartitionRequest>
-
Method Summary
Modifier and TypeMethodDescriptiondefault GetPartitionRequest.BuilderauditContext(Consumer<AuditContext.Builder> auditContext) Sets the value of the AuditContext property for this object.auditContext(AuditContext auditContext) Sets the value of the AuditContext property for this object.The ID of the Data Catalog where the partition in question resides.databaseName(String databaseName) The name of the catalog database where the partition resides.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.partitionValues(String... partitionValues) The values that define the partition.partitionValues(Collection<String> partitionValues) The values that define the partition.The name of the partition's table.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, sdkFieldNameToField, sdkFields
-
Method Details
-
catalogId
The ID of the Data Catalog where the partition in question resides. If none is provided, the Amazon Web Services account ID is used by default.
- Parameters:
catalogId- The ID of the Data Catalog where the partition in question resides. If none is provided, 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 name of the catalog database where the partition resides.
- Parameters:
databaseName- The name of the catalog database where the partition resides.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tableName
The name of the partition's table.
- Parameters:
tableName- The name of the partition's table.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
partitionValues
The values that define the partition.
- Parameters:
partitionValues- The values that define the partition.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
partitionValues
The values that define the partition.
- Parameters:
partitionValues- The values that define the partition.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
auditContext
Sets the value of the AuditContext property for this object.- Parameters:
auditContext- The new value for the AuditContext property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
auditContext
Sets the value of the AuditContext property for this object. This is a convenience method that creates an instance of theAuditContext.Builderavoiding the need to create one manually viaAuditContext.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toauditContext(AuditContext).- Parameters:
auditContext- a consumer that will call methods onAuditContext.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
GetPartitionRequest.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
GetPartitionRequest.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.
-