Class V1AllocationResult

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

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

  • Constructor Details

    • V1AllocationResult

      public V1AllocationResult()
  • 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 a beta 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 V1AllocationResult allocationTimestamp(OffsetDateTime allocationTimestamp)
      Set allocationTimestamp in a chainable fashion.
      Returns:
      The same instance of V1AllocationResult for chaining.
    • getDevices

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

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

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