Class V1beta2DeviceClaimConfiguration
java.lang.Object
io.micronaut.kubernetes.client.openapi.model.V1beta2DeviceClaimConfiguration
@Generated("io.micronaut.openapi.generator.JavaMicronautClientCodegen")
public class V1beta2DeviceClaimConfiguration
extends Object
DeviceClaimConfiguration is used for configuration parameters in DeviceClaim.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddRequestsItem
(String requestsItem) Add an item to the requests property in a chainable fashion.boolean
Requests lists the names of requests where the configuration applies.int
hashCode()
Set opaque in a chainable fashion.Set requests in a chainable fashion.void
Set the opaque property valuevoid
setRequests
(List<@NotNull String> requests) Set the requests property valuetoString()
-
Field Details
-
JSON_PROPERTY_OPAQUE
- See Also:
-
JSON_PROPERTY_REQUESTS
- See Also:
-
-
Constructor Details
-
V1beta2DeviceClaimConfiguration
public V1beta2DeviceClaimConfiguration()
-
-
Method Details
-
getOpaque
- Returns:
- the opaque property value
-
setOpaque
Set the opaque property value- Parameters:
opaque
- property value to set
-
opaque
Set opaque in a chainable fashion.- Returns:
- The same instance of V1beta2DeviceClaimConfiguration for chaining.
-
getRequests
Requests lists the names of requests where the configuration applies. If empty, it applies to all requests. References to subrequests must include the name of the main request and may include the subrequest using the format <main request>[/<subrequest>]. If just the main request is given, the configuration applies to all subrequests.- Returns:
- the requests property value
-
setRequests
Set the requests property value- Parameters:
requests
- property value to set
-
requests
Set requests in a chainable fashion.- Returns:
- The same instance of V1beta2DeviceClaimConfiguration for chaining.
-
addRequestsItem
Add an item to the requests property in a chainable fashion.- Returns:
- The same instance of V1beta2DeviceClaimConfiguration for chaining.
-
equals
-
hashCode
public int hashCode() -
toString
-