@NotThreadSafe public static interface CopyRequest.Builder extends CopyableBuilder<CopyRequest.Builder,CopyRequest>
CopyRequest, created with CopyRequest.builder()| Modifier and Type | Method and Description |
|---|---|
CopyRequest.Builder |
addTransferListener(TransferListener transferListener)
Adds a
TransferListener that will be notified as part of this request. |
CopyRequest |
build() |
default CopyRequest.Builder |
copyObjectRequest(Consumer<CopyObjectRequest.Builder> copyRequestBuilder)
Configures the
CopyRequest that should be used for the copy |
CopyRequest.Builder |
copyObjectRequest(CopyObjectRequest copyRequest)
Configures the
CopyRequest that should be used for the copy |
CopyRequest.Builder |
transferListeners(Collection<TransferListener> transferListeners)
The
TransferListeners that will be notified as part of this request. |
copyapplyMutationCopyRequest.Builder copyObjectRequest(CopyObjectRequest copyRequest)
CopyRequest that should be used for the copycopyRequest - the copyRequestcopyObjectRequest(Consumer)default CopyRequest.Builder copyObjectRequest(Consumer<CopyObjectRequest.Builder> copyRequestBuilder)
CopyRequest that should be used for the copy
This is a convenience method that creates an instance of the CopyRequest builder avoiding the need to create
one manually via CopyRequest.builder().
copyRequestBuilder - the copyRequest consumer buildercopyObjectRequest(CopyObjectRequest)CopyRequest.Builder transferListeners(Collection<TransferListener> transferListeners)
TransferListeners that will be notified as part of this request. This method overrides and replaces any
transferListeners that have already been set. Add an optional request override configuration.transferListeners - the collection of transferListenersTransferListenerCopyRequest.Builder addTransferListener(TransferListener transferListener)
TransferListener that will be notified as part of this request.transferListener - the transferListener to addTransferListenerCopyRequest build()
build in interface Buildablebuild in interface SdkBuilder<CopyRequest.Builder,CopyRequest>Copyright © 2023. All rights reserved.