Interface TransferRequestOverrideConfiguration.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<TransferRequestOverrideConfiguration.Builder,
,TransferRequestOverrideConfiguration> SdkBuilder<TransferRequestOverrideConfiguration.Builder,
TransferRequestOverrideConfiguration>
- Enclosing class:
TransferRequestOverrideConfiguration
public static interface TransferRequestOverrideConfiguration.Builder
extends CopyableBuilder<TransferRequestOverrideConfiguration.Builder,TransferRequestOverrideConfiguration>
-
Method Summary
Modifier and TypeMethodDescriptionaddTransferListener
(TransferListener transferListener) Add aTransferListener
that will be notified as part of this request.build()
An immutable object that is created from the properties that have been set on the builder.transferListeners
(Collection<TransferListener> transferListeners) TheTransferListener
s that will be notified as part of this request.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation
-
Method Details
-
transferListeners
TransferRequestOverrideConfiguration.Builder transferListeners(Collection<TransferListener> transferListeners) TheTransferListener
s 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.- Parameters:
transferListeners
- the collection of transferListeners- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
addTransferListener
Add aTransferListener
that will be notified as part of this request.- Parameters:
transferListener
- the transferListener to add- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
build
Description copied from interface:SdkBuilder
An immutable object that is created from the properties that have been set on the builder.- Specified by:
build
in interfaceBuildable
- Specified by:
build
in interfaceSdkBuilder<TransferRequestOverrideConfiguration.Builder,
TransferRequestOverrideConfiguration> - Returns:
- an instance of T
-