Class V1DeviceAllocationConfiguration

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

@Generated("io.micronaut.openapi.generator.JavaMicronautClientCodegen") public class V1DeviceAllocationConfiguration extends Object
DeviceAllocationConfiguration gets embedded in an AllocationResult.
  • Field Details

  • Constructor Details

    • V1DeviceAllocationConfiguration

      public V1DeviceAllocationConfiguration(String source)
  • Method Details

    • getSource

      public String getSource()
      Source records whether the configuration comes from a class and thus is not something that a normal user would have been able to set or from a claim.
      Returns:
      the source property value
    • setSource

      public void setSource(String source)
      Set the source property value
      Parameters:
      source - property value to set
    • source

      public V1DeviceAllocationConfiguration source(String source)
      Set source in a chainable fashion.
      Returns:
      The same instance of V1DeviceAllocationConfiguration for chaining.
    • getOpaque

      public V1OpaqueDeviceConfiguration getOpaque()
      Returns:
      the opaque property value
    • setOpaque

      public void setOpaque(V1OpaqueDeviceConfiguration opaque)
      Set the opaque property value
      Parameters:
      opaque - property value to set
    • opaque

      Set opaque in a chainable fashion.
      Returns:
      The same instance of V1DeviceAllocationConfiguration for chaining.
    • getRequests

      public List<@NotNull String> getRequests()
      Requests lists the names of requests where the configuration applies. If empty, its applies to all requests. References to subrequests must include the name of the main request and may include the subrequest using the format
      [/]. If just the main request is given, the configuration applies to all subrequests.
      Returns:
      the requests property value
    • setRequests

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

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

      public V1DeviceAllocationConfiguration addRequestsItem(String requestsItem)
      Add an item to the requests property in a chainable fashion.
      Returns:
      The same instance of V1DeviceAllocationConfiguration 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