Class V1alpha2ResourceClaimSchedulingStatus

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

@Generated("io.micronaut.openapi.generator.JavaMicronautClientCodegen") public class V1alpha2ResourceClaimSchedulingStatus extends Object
ResourceClaimSchedulingStatus contains information about one particular ResourceClaim with \"WaitForFirstConsumer\" allocation mode.
  • Field Details

  • Constructor Details

    • V1alpha2ResourceClaimSchedulingStatus

      public V1alpha2ResourceClaimSchedulingStatus()
  • Method Details

    • getName

      public String getName()
      Name matches the pod.spec.resourceClaims[*].Name field.
      Returns:
      the name property value
    • setName

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

      Set name in a chainable fashion.
      Returns:
      The same instance of V1alpha2ResourceClaimSchedulingStatus for chaining.
    • getUnsuitableNodes

      public List<@NotNull String> getUnsuitableNodes()
      UnsuitableNodes lists nodes that the ResourceClaim cannot be allocated for. The size of this field is limited to 128, the same as for PodSchedulingSpec.PotentialNodes. This may get increased in the future, but not reduced.
      Returns:
      the unsuitableNodes property value
    • setUnsuitableNodes

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

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

      public V1alpha2ResourceClaimSchedulingStatus addunsuitableNodesItem(String unsuitableNodesItem)
      Add an item to the unsuitableNodes property in a chainable fashion.
      Returns:
      The same instance of V1alpha2ResourceClaimSchedulingStatus 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