Package org.apache.kafka.server.policy
Class AlterConfigPolicy.RequestMetadata
- java.lang.Object
-
- org.apache.kafka.server.policy.AlterConfigPolicy.RequestMetadata
-
- Enclosing interface:
- AlterConfigPolicy
public static class AlterConfigPolicy.RequestMetadata extends Object
Class containing the create request parameters.
-
-
Constructor Summary
Constructors Constructor Description RequestMetadata(ConfigResource resource, Map<String,String> configs)
Create an instance of this class with the provided parameters.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,String>
configs()
Return the configs in the request.boolean
equals(Object o)
int
hashCode()
ConfigResource
resource()
String
toString()
-
-
-
Constructor Detail
-
RequestMetadata
public RequestMetadata(ConfigResource resource, Map<String,String> configs)
Create an instance of this class with the provided parameters. This constructor is public to make testing ofAlterConfigPolicy
implementations easier.
-
-
Method Detail
-
resource
public ConfigResource resource()
-
-