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<@NotNull String> getAdd()
      Added capabilities
      Returns:
      the add property value
    • setAdd

      public void setAdd(List<@NotNull String> add)
      Set the add property value
      Parameters:
      add - property value to set
    • add

      public V1Capabilities add(List<@NotNull 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<@NotNull String> getDrop()
      Removed capabilities
      Returns:
      the drop property value
    • setDrop

      public void setDrop(List<@NotNull String> drop)
      Set the drop property value
      Parameters:
      drop - property value to set
    • drop

      public V1Capabilities drop(List<@NotNull 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