Class V1ResourceClaim

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

@Generated("io.micronaut.openapi.generator.JavaMicronautClientCodegen") public class V1ResourceClaim extends Object
ResourceClaim references one entry in PodSpec.ResourceClaims.
  • Field Details

  • Constructor Details

    • V1ResourceClaim

      public V1ResourceClaim(String name)
  • Method Details

    • getName

      public String getName()
      Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container.
      Returns:
      the name property value
    • setName

      public void setName(String name)
      Set the name property value
    • name

      public V1ResourceClaim name(String name)
      Set name in a chainable fashion.
      Returns:
      The same instance of V1ResourceClaim 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