java.lang.Object
io.kubernetes.client.extended.controller.reconciler.Request

public class Request extends Object
The type Request contains the information necessary to reconcile a resource object. This includes the information to uniquely identify the object - its Name and Namespace. Note that it does NOT contain information about any specific Event or the object contents itself.
  • Constructor Details

    • Request

      public Request(String name)
      Instantiates a new Request specifying the name. Works for cluster-scoped resource.
      Parameters:
      name - the resource object name
    • Request

      public Request(String namespace, String name)
      Instantiates a new Request specifying the name and namespace. Works for namespace-scoped resource.
      Parameters:
      namespace - the resource object namespace
      name - the resource object name
  • Method Details

    • getNamespace

      public String getNamespace()
      Gets namespace.
      Returns:
      the namespace
    • setNamespace

      public void setNamespace(String namespace)
      Sets namespace.
      Parameters:
      namespace - the namespace
    • getName

      public String getName()
      Gets name.
      Returns:
      the name
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • setName

      public void setName(String name)
      Sets name.
      Parameters:
      name - the name