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 java.lang.Object
Class containing the create request parameters.
-
-
Constructor Summary
Constructors Constructor Description RequestMetadata(ConfigResource resource, java.util.Map<java.lang.String,java.lang.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 java.util.Map<java.lang.String,java.lang.String>
configs()
Return the configs in the request.ConfigResource
resource()
java.lang.String
toString()
-
-
-
Constructor Detail
-
RequestMetadata
public RequestMetadata(ConfigResource resource, java.util.Map<java.lang.String,java.lang.String> configs)
Create an instance of this class with the provided parameters. This constructor is public to make testing ofAlterConfigPolicy
implementations easier.
-
-
Method Detail
-
configs
public java.util.Map<java.lang.String,java.lang.String> configs()
Return the configs in the request.
-
resource
public ConfigResource resource()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-