Interface DeleteObjectsOnCancelRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<DeleteObjectsOnCancelRequest.Builder,
,DeleteObjectsOnCancelRequest> LakeFormationRequest.Builder
,SdkBuilder<DeleteObjectsOnCancelRequest.Builder,
,DeleteObjectsOnCancelRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
DeleteObjectsOnCancelRequest
public static interface DeleteObjectsOnCancelRequest.Builder
extends LakeFormationRequest.Builder, SdkPojo, CopyableBuilder<DeleteObjectsOnCancelRequest.Builder,DeleteObjectsOnCancelRequest>
-
Method Summary
Modifier and TypeMethodDescriptionThe Glue data catalog that contains the governed table.databaseName
(String databaseName) The database that contains the governed table.objects
(Collection<VirtualObject> objects) A list of VirtualObject structures, which indicates the Amazon S3 objects to be deleted if the transaction cancels.objects
(Consumer<VirtualObject.Builder>... objects) A list of VirtualObject structures, which indicates the Amazon S3 objects to be deleted if the transaction cancels.objects
(VirtualObject... objects) A list of VirtualObject structures, which indicates the Amazon S3 objects to be deleted if the transaction cancels.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The name of the governed table.transactionId
(String transactionId) ID of the transaction that the writes occur in.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.lakeformation.model.LakeFormationRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
catalogId
The Glue data catalog that contains the governed table. Defaults to the current account ID.
- Parameters:
catalogId
- The Glue data catalog that contains the governed table. Defaults to the current account ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
databaseName
The database that contains the governed table.
- Parameters:
databaseName
- The database that contains the governed table.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tableName
The name of the governed table.
- Parameters:
tableName
- The name of the governed table.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
transactionId
ID of the transaction that the writes occur in.
- Parameters:
transactionId
- ID of the transaction that the writes occur in.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
objects
A list of VirtualObject structures, which indicates the Amazon S3 objects to be deleted if the transaction cancels.
- Parameters:
objects
- A list of VirtualObject structures, which indicates the Amazon S3 objects to be deleted if the transaction cancels.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
objects
A list of VirtualObject structures, which indicates the Amazon S3 objects to be deleted if the transaction cancels.
- Parameters:
objects
- A list of VirtualObject structures, which indicates the Amazon S3 objects to be deleted if the transaction cancels.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
objects
A list of VirtualObject structures, which indicates the Amazon S3 objects to be deleted if the transaction cancels.
This is a convenience method that creates an instance of theVirtualObject.Builder
avoiding the need to create one manually viaVirtualObject.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toobjects(List<VirtualObject>)
.- Parameters:
objects
- a consumer that will call methods onVirtualObject.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
DeleteObjectsOnCancelRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
DeleteObjectsOnCancelRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-