Class V1alpha3DeviceAllocationResult
java.lang.Object
io.micronaut.kubernetes.client.openapi.model.V1alpha3DeviceAllocationResult
@Generated("io.micronaut.openapi.generator.JavaMicronautClientCodegen")
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) Add an item to the config property in a chainable fashion.addresultsItem
(V1alpha3DeviceRequestAllocationResult resultsItem) Add an item to the results property in a chainable fashion.config
(List<@Valid V1alpha3DeviceAllocationConfiguration> 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 V1alpha3DeviceRequestAllocationResult> results) Set results in a chainable fashion.void
setConfig
(List<@Valid V1alpha3DeviceAllocationConfiguration> config) Set the config property valuevoid
setResults
(List<@Valid V1alpha3DeviceRequestAllocationResult> results) Set the results property valuetoString()
-
Field Details
-
JSON_PROPERTY_CONFIG
- See Also:
-
JSON_PROPERTY_RESULTS
- See Also:
-
-
Constructor Details
-
V1alpha3DeviceAllocationResult
public V1alpha3DeviceAllocationResult()
-
-
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 V1alpha3DeviceAllocationResult config(List<@Valid V1alpha3DeviceAllocationConfiguration> config) Set config in a chainable fashion.- Returns:
- The same instance of V1alpha3DeviceAllocationResult for chaining.
-
addconfigItem
public V1alpha3DeviceAllocationResult addconfigItem(V1alpha3DeviceAllocationConfiguration configItem) Add an item to the config property in a chainable fashion.- Returns:
- The same instance of V1alpha3DeviceAllocationResult 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 V1alpha3DeviceAllocationResult results(List<@Valid V1alpha3DeviceRequestAllocationResult> results) Set results in a chainable fashion.- Returns:
- The same instance of V1alpha3DeviceAllocationResult for chaining.
-
addresultsItem
public V1alpha3DeviceAllocationResult addresultsItem(V1alpha3DeviceRequestAllocationResult resultsItem) Add an item to the results property in a chainable fashion.- Returns:
- The same instance of V1alpha3DeviceAllocationResult for chaining.
-
equals
-
hashCode
public int hashCode() -
toString
-