public static interface DeleteObjectsRequest.Builder extends S3Request.Builder, SdkPojo, CopyableBuilder<DeleteObjectsRequest.Builder,DeleteObjectsRequest>
Modifier and Type | Method and Description |
---|---|
DeleteObjectsRequest.Builder |
bucket(String bucket)
|
DeleteObjectsRequest.Builder |
bypassGovernanceRetention(Boolean bypassGovernanceRetention)
Specifies whether you want to delete this object even if it has a Governance-type Object Lock in place.
|
default DeleteObjectsRequest.Builder |
delete(Consumer<Delete.Builder> delete)
This is a convenience that creates an instance of the
Delete.Builder avoiding the need to create one
manually via Delete.builder() . |
DeleteObjectsRequest.Builder |
delete(Delete delete)
|
DeleteObjectsRequest.Builder |
mfa(String mfa)
The concatenation of the authentication device's serial number, a space, and the value that is displayed on
your authentication device.
|
DeleteObjectsRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
DeleteObjectsRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
DeleteObjectsRequest.Builder |
requestPayer(RequestPayer requestPayer)
Sets the value of the RequestPayer property for this object.
|
DeleteObjectsRequest.Builder |
requestPayer(String requestPayer)
Sets the value of the RequestPayer property for this object.
|
build
overrideConfiguration
copy
applyMutation, build
DeleteObjectsRequest.Builder bucket(String bucket)
bucket
- DeleteObjectsRequest.Builder delete(Delete delete)
delete
- default DeleteObjectsRequest.Builder delete(Consumer<Delete.Builder> delete)
Delete.Builder
avoiding the need to create one
manually via Delete.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its result is
passed to delete(Delete)
.delete
- a consumer that will call methods on Delete.Builder
delete(Delete)
DeleteObjectsRequest.Builder mfa(String mfa)
The concatenation of the authentication device's serial number, a space, and the value that is displayed on your authentication device.
mfa
- The concatenation of the authentication device's serial number, a space, and the value that is
displayed on your authentication device.DeleteObjectsRequest.Builder requestPayer(String requestPayer)
requestPayer
- The new value for the RequestPayer property for this object.RequestPayer
,
RequestPayer
DeleteObjectsRequest.Builder requestPayer(RequestPayer requestPayer)
requestPayer
- The new value for the RequestPayer property for this object.RequestPayer
,
RequestPayer
DeleteObjectsRequest.Builder bypassGovernanceRetention(Boolean bypassGovernanceRetention)
Specifies whether you want to delete this object even if it has a Governance-type Object Lock in place. You must have sufficient permissions to perform this operation.
bypassGovernanceRetention
- Specifies whether you want to delete this object even if it has a Governance-type Object Lock in
place. You must have sufficient permissions to perform this operation.DeleteObjectsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration
in interface AwsRequest.Builder
DeleteObjectsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration
in interface AwsRequest.Builder
Copyright © 2019. All rights reserved.