public interface SetRemovalTimeToHistoricBatchesBuilder
Modifier and Type | Method and Description |
---|---|
SetRemovalTimeToHistoricBatchesBuilder |
byIds(String... historicBatchIds)
Selects historic batches by the given ids.
|
SetRemovalTimeToHistoricBatchesBuilder |
byQuery(HistoricBatchQuery historicBatchQuery)
Selects historic batches by the given query.
|
Batch |
executeAsync()
Sets the removal time asynchronously as batch.
|
SetRemovalTimeToHistoricBatchesBuilder byQuery(HistoricBatchQuery historicBatchQuery)
historicBatchQuery
- to be evaluated.SetRemovalTimeToHistoricBatchesBuilder byIds(String... historicBatchIds)
historicBatchIds
- supposed to be affected.Batch executeAsync()
BadUserRequestException
- when no historic batches could be found.AuthorizationException
- when no CREATE_BATCH_SET_REMOVAL_TIME
or no permission CREATE
permission is granted on Resources.BATCH
.Copyright © 2022. All rights reserved.