Class V1beta1DeviceClaim
java.lang.Object
io.kubernetes.client.openapi.models.V1beta1DeviceClaim
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2025-02-12T23:08:31.638427Z[Etc/UTC]")
public class V1beta1DeviceClaim
extends Object
DeviceClaim defines how to request devices with a ResourceClaim.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddConfigItem
(V1beta1DeviceClaimConfiguration configItem) addConstraintsItem
(V1beta1DeviceConstraint constraintsItem) addRequestsItem
(V1beta1DeviceRequest requestsItem) config
(List<V1beta1DeviceClaimConfiguration> config) constraints
(List<V1beta1DeviceConstraint> constraints) boolean
This field holds configuration for multiple potential drivers which could satisfy requests in this claim.These constraints must be satisfied by the set of devices that get allocated for the claim.Requests represent individual requests for distinct devices which must all be satisfied.int
hashCode()
requests
(List<V1beta1DeviceRequest> requests) void
setConfig
(List<V1beta1DeviceClaimConfiguration> config) void
setConstraints
(List<V1beta1DeviceConstraint> constraints) void
setRequests
(List<V1beta1DeviceRequest> requests) toString()
-
Field Details
-
SERIALIZED_NAME_CONFIG
- See Also:
-
SERIALIZED_NAME_CONSTRAINTS
- See Also:
-
SERIALIZED_NAME_REQUESTS
- See Also:
-
-
Constructor Details
-
V1beta1DeviceClaim
public V1beta1DeviceClaim()
-
-
Method Details
-
config
-
addConfigItem
-
getConfig
This field holds configuration for multiple potential drivers which could satisfy requests in this claim. It is ignored while allocating the claim.- Returns:
- config
-
setConfig
-
constraints
-
addConstraintsItem
-
getConstraints
These constraints must be satisfied by the set of devices that get allocated for the claim.- Returns:
- constraints
-
setConstraints
-
requests
-
addRequestsItem
-
getRequests
Requests represent individual requests for distinct devices which must all be satisfied. If empty, nothing needs to be allocated.- Returns:
- requests
-
setRequests
-
equals
-
hashCode
public int hashCode() -
toString
-