Class V1beta2DeviceAllocationResult
java.lang.Object
io.micronaut.kubernetes.client.openapi.model.V1beta2DeviceAllocationResult
@Generated("io.micronaut.openapi.generator.JavaMicronautClientCodegen")
public class V1beta2DeviceAllocationResult
extends Object
DeviceAllocationResult is the result of allocating devices.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddConfigItem
(V1beta2DeviceAllocationConfiguration configItem) Add an item to the config property in a chainable fashion.addResultsItem
(V1beta2DeviceRequestAllocationResult resultsItem) Add an item to the results property in a chainable fashion.config
(List<@Valid V1beta2DeviceAllocationConfiguration> config) Set config in a chainable fashion.boolean
This field is a combination of all the claim and class configuration parameters.Results lists all allocated devices.int
hashCode()
results
(List<@Valid V1beta2DeviceRequestAllocationResult> results) Set results in a chainable fashion.void
setConfig
(List<@Valid V1beta2DeviceAllocationConfiguration> config) Set the config property valuevoid
setResults
(List<@Valid V1beta2DeviceRequestAllocationResult> results) Set the results property valuetoString()
-
Field Details
-
JSON_PROPERTY_CONFIG
- See Also:
-
JSON_PROPERTY_RESULTS
- See Also:
-
-
Constructor Details
-
V1beta2DeviceAllocationResult
public V1beta2DeviceAllocationResult()
-
-
Method Details
-
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:
- the config property value
-
setConfig
Set the config property value- Parameters:
config
- property value to set
-
config
public V1beta2DeviceAllocationResult config(List<@Valid V1beta2DeviceAllocationConfiguration> config) Set config in a chainable fashion.- Returns:
- The same instance of V1beta2DeviceAllocationResult for chaining.
-
addConfigItem
Add an item to the config property in a chainable fashion.- Returns:
- The same instance of V1beta2DeviceAllocationResult for chaining.
-
getResults
Results lists all allocated devices.- Returns:
- the results property value
-
setResults
Set the results property value- Parameters:
results
- property value to set
-
results
public V1beta2DeviceAllocationResult results(List<@Valid V1beta2DeviceRequestAllocationResult> results) Set results in a chainable fashion.- Returns:
- The same instance of V1beta2DeviceAllocationResult for chaining.
-
addResultsItem
public V1beta2DeviceAllocationResult addResultsItem(V1beta2DeviceRequestAllocationResult resultsItem) Add an item to the results property in a chainable fashion.- Returns:
- The same instance of V1beta2DeviceAllocationResult for chaining.
-
equals
-
hashCode
public int hashCode() -
toString
-