Class DeviceAllocationConfiguration
- java.lang.Object
-
- io.fabric8.kubernetes.api.model.resource.v1alpha3.DeviceAllocationConfiguration
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<DeviceAllocationConfigurationBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class DeviceAllocationConfiguration extends Object implements io.fabric8.kubernetes.api.builder.Editable<DeviceAllocationConfigurationBuilder>, io.fabric8.kubernetes.api.model.KubernetesResourceDeviceAllocationConfiguration gets embedded in an AllocationResult.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DeviceAllocationConfiguration()No args constructor for use in serializationDeviceAllocationConfiguration(OpaqueDeviceConfiguration opaque, List<String> requests, String source)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DeviceAllocationConfigurationBuilderedit()Map<String,Object>getAdditionalProperties()OpaqueDeviceConfigurationgetOpaque()DeviceAllocationConfiguration gets embedded in an AllocationResult.List<String>getRequests()Requests lists the names of requests where the configuration applies.StringgetSource()Source records whether the configuration comes from a class and thus is not something that a normal user would have been able to set or from a claim.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetOpaque(OpaqueDeviceConfiguration opaque)DeviceAllocationConfiguration gets embedded in an AllocationResult.voidsetRequests(List<String> requests)Requests lists the names of requests where the configuration applies.voidsetSource(String source)Source records whether the configuration comes from a class and thus is not something that a normal user would have been able to set or from a claim.DeviceAllocationConfigurationBuildertoBuilder()
-
-
-
Constructor Detail
-
DeviceAllocationConfiguration
public DeviceAllocationConfiguration()
No args constructor for use in serialization
-
DeviceAllocationConfiguration
public DeviceAllocationConfiguration(OpaqueDeviceConfiguration opaque, List<String> requests, String source)
-
-
Method Detail
-
getOpaque
public OpaqueDeviceConfiguration getOpaque()
DeviceAllocationConfiguration gets embedded in an AllocationResult.
-
setOpaque
public void setOpaque(OpaqueDeviceConfiguration opaque)
DeviceAllocationConfiguration gets embedded in an AllocationResult.
-
getRequests
public List<String> getRequests()
Requests lists the names of requests where the configuration applies. If empty, its applies to all requests.
-
setRequests
public void setRequests(List<String> requests)
Requests lists the names of requests where the configuration applies. If empty, its applies to all requests.
-
getSource
public String getSource()
Source records whether the configuration comes from a class and thus is not something that a normal user would have been able to set or from a claim.
-
setSource
public void setSource(String source)
Source records whether the configuration comes from a class and thus is not something that a normal user would have been able to set or from a claim.
-
edit
public DeviceAllocationConfigurationBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<DeviceAllocationConfigurationBuilder>
-
toBuilder
public DeviceAllocationConfigurationBuilder toBuilder()
-
-