Class V1ResourceStatus

java.lang.Object
io.kubernetes.client.openapi.models.V1ResourceStatus

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2025-02-07T19:21:52.410010Z[Etc/UTC]") public class V1ResourceStatus extends Object
V1ResourceStatus
  • Field Details

  • Constructor Details

    • V1ResourceStatus

      public V1ResourceStatus()
  • Method Details

    • name

      public V1ResourceStatus name(String name)
    • 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:
      name
    • setName

      public void setName(String name)
    • resources

      public V1ResourceStatus resources(List<V1ResourceHealth> resources)
    • addResourcesItem

      public V1ResourceStatus addResourcesItem(V1ResourceHealth resourcesItem)
    • getResources

      @Nullable public List<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:
      resources
    • setResources

      public void setResources(List<V1ResourceHealth> resources)
    • 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