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