-
- All Implemented Interfaces:
-
org.veupathdb.lib.s3.s34k.params.RegionRequestParams,org.veupathdb.lib.s3.s34k.params.S3RequestParams
public interface DirectoryDeleteParams implements RegionRequestParams
Directory deletion request parameters.
This is a 'complex operation' in that it happens in 2 independently configurable phases:
List all objects with the target 'directory' prefix
Delete only the located objects.
-
-
Method Summary
Modifier and Type Method Description abstract MutableHeadersgetHeaders()Global headers that will be applied to all phases of the operation. abstract MutableQueryParamsgetQueryParams()Global query params that will be applied to all phases of the operation. abstract Function0<Unit>getCallback()Optional callback that will be executed on successful completion of the S3 operation. abstract UnitsetCallback(Function0<Unit> callback)Optional callback that will be executed on successful completion of the S3 operation. abstract DDListParamsgetListParams()Parameters specific to the object list phase of the directory delete operation. abstract DDDeleteParamsgetDeleteParams()Parameters specific to the bulk object delete phase of the directory delete operation. -
-
Method Detail
-
getHeaders
abstract MutableHeaders getHeaders()
Global headers that will be applied to all phases of the operation.
If there is a conflict between a global header and a phase specific header, the phase specific header will be used.
This is done rather than merging the 2 sets of headers to prevent the creation of invalid headers or otherwise confusing behavior
If both sets of headers are desired, set the headers on the phase specific header set.
-
getQueryParams
abstract MutableQueryParams getQueryParams()
Global query params that will be applied to all phases of the operation.
If there is a conflict between a global query param and a phase specific query param, the phase specific query param will be used.
This is done rather than merging the 2 sets of query to prevent possibly confusing behavior.
If both sets of query params are desired, set the query params on the phase specific query param set.
-
getCallback
abstract Function0<Unit> getCallback()
Optional callback that will be executed on successful completion of the S3 operation.
-
setCallback
abstract Unit setCallback(Function0<Unit> callback)
Optional callback that will be executed on successful completion of the S3 operation.
-
getListParams
abstract DDListParams getListParams()
Parameters specific to the object list phase of the directory delete operation.
-
getDeleteParams
abstract DDDeleteParams getDeleteParams()
Parameters specific to the bulk object delete phase of the directory delete operation.
-
-
-
-