Class V1alpha2ResourceClaimSpec

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

@Generated("io.micronaut.openapi.generator.JavaMicronautClientCodegen") public class V1alpha2ResourceClaimSpec extends Object
ResourceClaimSpec defines how a resource is to be allocated.
  • Field Details

  • Constructor Details

    • V1alpha2ResourceClaimSpec

      public V1alpha2ResourceClaimSpec(String resourceClassName)
  • Method Details

    • getResourceClassName

      public String getResourceClassName()
      ResourceClassName references the driver and additional parameters via the name of a ResourceClass that was created as part of the driver deployment.
      Returns:
      the resourceClassName property value
    • setResourceClassName

      public void setResourceClassName(String resourceClassName)
      Set the resourceClassName property value
      Parameters:
      resourceClassName - property value to set
    • resourceClassName

      public V1alpha2ResourceClaimSpec resourceClassName(String resourceClassName)
      Set resourceClassName in a chainable fashion.
      Returns:
      The same instance of V1alpha2ResourceClaimSpec for chaining.
    • getAllocationMode

      public String getAllocationMode()
      Allocation can start immediately or when a Pod wants to use the resource. \"WaitForFirstConsumer\" is the default.
      Returns:
      the allocationMode property value
    • setAllocationMode

      public void setAllocationMode(String allocationMode)
      Set the allocationMode property value
      Parameters:
      allocationMode - property value to set
    • allocationMode

      public V1alpha2ResourceClaimSpec allocationMode(String allocationMode)
      Set allocationMode in a chainable fashion.
      Returns:
      The same instance of V1alpha2ResourceClaimSpec for chaining.
    • getParametersRef

      public V1alpha2ResourceClaimParametersReference getParametersRef()
      Returns:
      the parametersRef property value
    • setParametersRef

      public void setParametersRef(V1alpha2ResourceClaimParametersReference parametersRef)
      Set the parametersRef property value
      Parameters:
      parametersRef - property value to set
    • parametersRef

      Set parametersRef in a chainable fashion.
      Returns:
      The same instance of V1alpha2ResourceClaimSpec 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