Class Device
- java.lang.Object
-
- io.fabric8.kubernetes.api.model.resource.v1alpha3.Device
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<DeviceBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class Device extends Object implements io.fabric8.kubernetes.api.builder.Editable<DeviceBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
Device represents one individual hardware instance that can be selected based on its attributes. Besides the name, exactly one field must be set.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Device()No args constructor for use in serializationDevice(BasicDevice basic, String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DeviceBuilderedit()Map<String,Object>getAdditionalProperties()BasicDevicegetBasic()Device represents one individual hardware instance that can be selected based on its attributes.StringgetName()Name is unique identifier among all devices managed by the driver in the pool.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetBasic(BasicDevice basic)Device represents one individual hardware instance that can be selected based on its attributes.voidsetName(String name)Name is unique identifier among all devices managed by the driver in the pool.DeviceBuildertoBuilder()
-
-
-
Constructor Detail
-
Device
public Device()
No args constructor for use in serialization
-
Device
public Device(BasicDevice basic, String name)
-
-
Method Detail
-
getBasic
public BasicDevice getBasic()
Device represents one individual hardware instance that can be selected based on its attributes. Besides the name, exactly one field must be set.
-
setBasic
public void setBasic(BasicDevice basic)
Device represents one individual hardware instance that can be selected based on its attributes. Besides the name, exactly one field must be set.
-
getName
public String getName()
Name is unique identifier among all devices managed by the driver in the pool. It must be a DNS label.
-
setName
public void setName(String name)
Name is unique identifier among all devices managed by the driver in the pool. It must be a DNS label.
-
edit
public DeviceBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<DeviceBuilder>
-
toBuilder
public DeviceBuilder toBuilder()
-
-