Class V1ResourceStatus

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

@Generated("io.micronaut.openapi.generator.JavaMicronautClientCodegen") public class V1ResourceStatus extends Object
V1ResourceStatus
  • Field Details

  • Constructor Details

    • V1ResourceStatus

      public V1ResourceStatus(String name)
  • Method Details

    • getName

      public String getName()
      Name of the resource. Must be unique within the pod and match one of the resources from the pod spec.
      Returns:
      the name property value
    • setName

      public void setName(String name)
      Set the name property value
      Parameters:
      name - property value to set
    • name

      public V1ResourceStatus name(String name)
      Set name in a chainable fashion.
      Returns:
      The same instance of V1ResourceStatus for chaining.
    • getResources

      public List<@Valid V1ResourceHealth> getResources()
      List of unique Resources health. Each element in the list contains an unique resource ID and resource health. At a minimum, ResourceID must uniquely identify the Resource allocated to the Pod on the Node for the lifetime of a Pod. See ResourceID type for it's definition.
      Returns:
      the resources property value
    • setResources

      public void setResources(List<@Valid V1ResourceHealth> resources)
      Set the resources property value
      Parameters:
      resources - property value to set
    • resources

      public V1ResourceStatus resources(List<@Valid V1ResourceHealth> resources)
      Set resources in a chainable fashion.
      Returns:
      The same instance of V1ResourceStatus for chaining.
    • addresourcesItem

      public V1ResourceStatus addresourcesItem(V1ResourceHealth resourcesItem)
      Add an item to the resources property in a chainable fashion.
      Returns:
      The same instance of V1ResourceStatus 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