Class V1Capabilities

java.lang.Object
io.micronaut.kubernetes.client.openapi.model.V1Capabilities

@Generated("io.micronaut.openapi.generator.JavaMicronautClientCodegen") public class V1Capabilities extends Object
Adds and removes POSIX capabilities from running containers.
  • Field Details

  • Constructor Details

    • V1Capabilities

      public V1Capabilities()
  • Method Details

    • getAdd

      public List<String> getAdd()
      Added capabilities
      Returns:
      the add property value
    • setAdd

      public void setAdd(List<String> add)
      Set the add property value
    • add

      public V1Capabilities add(List<String> add)
      Set add in a chainable fashion.
      Returns:
      The same instance of V1Capabilities for chaining.
    • addaddItem

      public V1Capabilities addaddItem(String addItem)
      Add an item to the add property in a chainable fashion.
      Returns:
      The same instance of V1Capabilities for chaining.
    • getDrop

      public List<String> getDrop()
      Removed capabilities
      Returns:
      the drop property value
    • setDrop

      public void setDrop(List<String> drop)
      Set the drop property value
    • drop

      public V1Capabilities drop(List<String> drop)
      Set drop in a chainable fashion.
      Returns:
      The same instance of V1Capabilities for chaining.
    • adddropItem

      public V1Capabilities adddropItem(String dropItem)
      Add an item to the drop property in a chainable fashion.
      Returns:
      The same instance of V1Capabilities for chaining.
    • equals

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

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

      public String toString()
      Overrides:
      toString in class Object