Class V1NodeAllocatableResourceClaimStatus

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

@Generated("io.micronaut.openapi.generator.JavaMicronautClientCodegen") public class V1NodeAllocatableResourceClaimStatus extends Object
NodeAllocatableResourceClaimStatus describes the status of node allocatable resources allocated via DRA.
  • Field Details

  • Constructor Details

    • V1NodeAllocatableResourceClaimStatus

      public V1NodeAllocatableResourceClaimStatus(String resourceClaimName, Map<String, @NotNull String> resources)
  • Method Details

    • getResourceClaimName

      public String getResourceClaimName()
      ResourceClaimName is the resource claim referenced by the pod that resulted in this node allocatable resource allocation.
      Returns:
      the resourceClaimName property value
    • setResourceClaimName

      public void setResourceClaimName(String resourceClaimName)
      Set the resourceClaimName property value
      Parameters:
      resourceClaimName - property value to set
    • resourceClaimName

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

      public Map<String, @NotNull String> getResources()
      Resources is a map of the node-allocatable resource name to the aggregate quantity allocated to the claim.
      Returns:
      the resources property value
    • setResources

      public void setResources(Map<String, @NotNull String> resources)
      Set the resources property value
      Parameters:
      resources - property value to set
    • resources

      public V1NodeAllocatableResourceClaimStatus resources(Map<String, @NotNull String> resources)
      Set resources in a chainable fashion.
      Returns:
      The same instance of V1NodeAllocatableResourceClaimStatus for chaining.
    • putResourcesItem

      public V1NodeAllocatableResourceClaimStatus putResourcesItem(String key, String resourcesItem)
      Set the value for the key for the resources map property in a chainable fashion.
      Returns:
      The same instance of V1NodeAllocatableResourceClaimStatus for chaining.
    • getContainers

      public List<@NotNull String> getContainers()
      Containers lists the names of all containers in this pod that reference the claim.
      Returns:
      the containers property value
    • setContainers

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

      public V1NodeAllocatableResourceClaimStatus containers(List<@NotNull String> containers)
      Set containers in a chainable fashion.
      Returns:
      The same instance of V1NodeAllocatableResourceClaimStatus for chaining.
    • addContainersItem

      public V1NodeAllocatableResourceClaimStatus addContainersItem(String containersItem)
      Add an item to the containers property in a chainable fashion.
      Returns:
      The same instance of V1NodeAllocatableResourceClaimStatus 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