Package org.apache.kafka.clients.admin
Class ExclusionOp
java.lang.Object
org.apache.kafka.clients.admin.ExclusionOp
A class representing an alter broker exclusion entry containing operation type and reason for exclusion.
The API of this class is evolving, see
Admin for details.-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionExclusionOp(ExclusionOp.OpType operationType) ExclusionOp(ExclusionOp.OpType operationType, String reason) -
Method Summary
-
Constructor Details
-
ExclusionOp
- Parameters:
operationType- - the type of exclusion
-
ExclusionOp
- Parameters:
operationType- - the type of exclusionreason- - a string denoting the reason for this exclusion. A valid reason string must be less than 32 characters, can only contain ASCII alphanumerics, `.`, `-`, `_` and cannot be either `.` or `..`
-
-
Method Details
-
reason
- Returns:
- a string denoting the reason for this exclusion. A valid reason string must be less than 32 characters, can only contain ASCII alphanumerics, `.`, `-`, `_` and cannot be either `.` or `..`
-
opType
-
equals
-
hashCode
public int hashCode() -
toString
-