Class DeviceAllocationResult
- java.lang.Object
-
- io.fabric8.kubernetes.api.model.resource.v1.DeviceAllocationResult
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<DeviceAllocationResultBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class DeviceAllocationResult extends Object implements io.fabric8.kubernetes.api.builder.Editable<DeviceAllocationResultBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
DeviceAllocationResult is the result of allocating devices.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DeviceAllocationResult()No args constructor for use in serializationDeviceAllocationResult(List<DeviceAllocationConfiguration> config, List<DeviceRequestAllocationResult> results)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DeviceAllocationResultBuilderedit()Map<String,Object>getAdditionalProperties()List<DeviceAllocationConfiguration>getConfig()This field is a combination of all the claim and class configuration parameters.List<DeviceRequestAllocationResult>getResults()Results lists all allocated devices.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetConfig(List<DeviceAllocationConfiguration> config)This field is a combination of all the claim and class configuration parameters.voidsetResults(List<DeviceRequestAllocationResult> results)Results lists all allocated devices.DeviceAllocationResultBuildertoBuilder()
-
-
-
Constructor Detail
-
DeviceAllocationResult
public DeviceAllocationResult()
No args constructor for use in serialization
-
DeviceAllocationResult
public DeviceAllocationResult(List<DeviceAllocationConfiguration> config, List<DeviceRequestAllocationResult> results)
-
-
Method Detail
-
getConfig
public List<DeviceAllocationConfiguration> 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.
-
setConfig
public void setConfig(List<DeviceAllocationConfiguration> config)
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.
-
getResults
public List<DeviceRequestAllocationResult> getResults()
Results lists all allocated devices.
-
setResults
public void setResults(List<DeviceRequestAllocationResult> results)
Results lists all allocated devices.
-
edit
public DeviceAllocationResultBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<DeviceAllocationResultBuilder>
-
toBuilder
public DeviceAllocationResultBuilder toBuilder()
-
-