Package org.apache.kafka.common.quota
Class ClientQuotaAlteration
- java.lang.Object
-
- org.apache.kafka.common.quota.ClientQuotaAlteration
-
public class ClientQuotaAlteration extends Object
Describes a configuration alteration to be made to a client quota entity.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ClientQuotaAlteration.Op
-
Constructor Summary
Constructors Constructor Description ClientQuotaAlteration(ClientQuotaEntity entity, Collection<ClientQuotaAlteration.Op> ops)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ClientQuotaEntity
entity()
Collection<ClientQuotaAlteration.Op>
ops()
String
toString()
-
-
-
Constructor Detail
-
ClientQuotaAlteration
public ClientQuotaAlteration(ClientQuotaEntity entity, Collection<ClientQuotaAlteration.Op> ops)
- Parameters:
entity
- the entity whose config will be modifiedops
- the alteration to perform
-
-
Method Detail
-
entity
public ClientQuotaEntity entity()
- Returns:
- the entity whose config will be modified
-
ops
public Collection<ClientQuotaAlteration.Op> ops()
- Returns:
- the alteration to perform
-
-