Class V1alpha3DeviceClaim
java.lang.Object
io.kubernetes.client.openapi.models.V1alpha3DeviceClaim
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2025-05-22T21:20:49.874193Z[Etc/UTC]")
public class V1alpha3DeviceClaim
extends Object
DeviceClaim defines how to request devices with a ResourceClaim.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddConfigItem
(V1alpha3DeviceClaimConfiguration configItem) addConstraintsItem
(V1alpha3DeviceConstraint constraintsItem) addRequestsItem
(V1alpha3DeviceRequest requestsItem) config
(List<V1alpha3DeviceClaimConfiguration> config) constraints
(List<V1alpha3DeviceConstraint> 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<V1alpha3DeviceRequest> requests) void
void
setConstraints
(List<V1alpha3DeviceConstraint> constraints) void
setRequests
(List<V1alpha3DeviceRequest> requests) toString()
-
Field Details
-
SERIALIZED_NAME_CONFIG
- See Also:
-
SERIALIZED_NAME_CONSTRAINTS
- See Also:
-
SERIALIZED_NAME_REQUESTS
- See Also:
-
-
Constructor Details
-
V1alpha3DeviceClaim
public V1alpha3DeviceClaim()
-
-
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
-