- Enclosing class:
- BrokerRemovalCancellationProposal
public static class BrokerRemovalCancellationProposal.BrokerRemovalCancellationProposalBuilder
extends Object
Create a BrokerRemovalCancellationProposal.
A cancellation proposal requires a cancellation event and defaults to being a PERSISTENT_CANCELLATION.
Callers can elect to make the cancellation mode TRANSIENT, add an exception to report for why the operation was cancelled,
and add data about modified exclusions (which really only matters for the EXCLUSION_ADDED/EXCLUSION_REMOVED events),
and demoted brokers (which only matters for the DEMOTED_ADDED events).