Class V1beta1AllocationResult

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

@Generated("io.micronaut.openapi.generator.JavaMicronautClientCodegen") public class V1beta1AllocationResult extends Object
AllocationResult contains attributes of an allocated resource.
  • Field Details

  • Constructor Details

    • V1beta1AllocationResult

      public V1beta1AllocationResult()
  • Method Details

    • getAllocationTimestamp

      public OffsetDateTime getAllocationTimestamp()
      AllocationTimestamp stores the time when the resources were allocated. This field is not guaranteed to be set, in which case that time is unknown. This is an alpha field and requires enabling the DRADeviceBindingConditions and DRAResourceClaimDeviceStatus feature gate.
      Returns:
      the allocationTimestamp property value
    • setAllocationTimestamp

      public void setAllocationTimestamp(OffsetDateTime allocationTimestamp)
      Set the allocationTimestamp property value
      Parameters:
      allocationTimestamp - property value to set
    • allocationTimestamp

      public V1beta1AllocationResult allocationTimestamp(OffsetDateTime allocationTimestamp)
      Set allocationTimestamp in a chainable fashion.
      Returns:
      The same instance of V1beta1AllocationResult for chaining.
    • getDevices

      public V1beta1DeviceAllocationResult getDevices()
      Returns:
      the devices property value
    • setDevices

      public void setDevices(V1beta1DeviceAllocationResult devices)
      Set the devices property value
      Parameters:
      devices - property value to set
    • devices

      Set devices in a chainable fashion.
      Returns:
      The same instance of V1beta1AllocationResult for chaining.
    • getNodeSelector

      public V1NodeSelector getNodeSelector()
      Returns:
      the nodeSelector property value
    • setNodeSelector

      public void setNodeSelector(V1NodeSelector nodeSelector)
      Set the nodeSelector property value
      Parameters:
      nodeSelector - property value to set
    • nodeSelector

      public V1beta1AllocationResult nodeSelector(V1NodeSelector nodeSelector)
      Set nodeSelector in a chainable fashion.
      Returns:
      The same instance of V1beta1AllocationResult 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