Class V1alpha3DeviceAllocationResult
java.lang.Object
io.kubernetes.client.openapi.models.V1alpha3DeviceAllocationResult
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2025-02-07T19:21:52.410010Z[Etc/UTC]")
public class V1alpha3DeviceAllocationResult
extends Object
DeviceAllocationResult is the result of allocating devices.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddConfigItem
(V1alpha3DeviceAllocationConfiguration configItem) addResultsItem
(V1alpha3DeviceRequestAllocationResult resultsItem) boolean
This field is a combination of all the claim and class configuration parameters.Results lists all allocated devices.int
hashCode()
results
(List<V1alpha3DeviceRequestAllocationResult> results) void
void
toString()
-
Field Details
-
SERIALIZED_NAME_CONFIG
- See Also:
-
SERIALIZED_NAME_RESULTS
- See Also:
-
-
Constructor Details
-
V1alpha3DeviceAllocationResult
public V1alpha3DeviceAllocationResult()
-
-
Method Details
-
config
-
addConfigItem
public V1alpha3DeviceAllocationResult addConfigItem(V1alpha3DeviceAllocationConfiguration configItem) -
getConfig
This field is a combination of all the claim and class configuration parameters. Drivers can distinguish between those based on a flag. This includes configuration parameters for drivers which have no allocated devices in the result because it is up to the drivers which configuration parameters they support. They can silently ignore unknown configuration parameters.- Returns:
- config
-
setConfig
-
results
-
addResultsItem
public V1alpha3DeviceAllocationResult addResultsItem(V1alpha3DeviceRequestAllocationResult resultsItem) -
getResults
Results lists all allocated devices.- Returns:
- results
-
setResults
-
equals
-
hashCode
public int hashCode() -
toString
-