Class 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()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • 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 of AlterConfigPolicy implementations easier.
    • Method Detail

      • configs

        public java.util.Map<java.lang.String,​java.lang.String> configs()
        Return the configs in the request.
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object