Class BasicDevice
- java.lang.Object
-
- io.fabric8.kubernetes.api.model.resource.v1alpha3.BasicDevice
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<BasicDeviceBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class BasicDevice extends Object implements io.fabric8.kubernetes.api.builder.Editable<BasicDeviceBuilder>, io.fabric8.kubernetes.api.model.KubernetesResourceBasicDevice defines one device instance.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description BasicDevice()No args constructor for use in serializationBasicDevice(Map<String,DeviceAttribute> attributes, Map<String,io.fabric8.kubernetes.api.model.Quantity> capacity)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BasicDeviceBuilderedit()Map<String,Object>getAdditionalProperties()Map<String,DeviceAttribute>getAttributes()Attributes defines the set of attributes for this device.Map<String,io.fabric8.kubernetes.api.model.Quantity>getCapacity()Capacity defines the set of capacities for this device.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetAttributes(Map<String,DeviceAttribute> attributes)Attributes defines the set of attributes for this device.voidsetCapacity(Map<String,io.fabric8.kubernetes.api.model.Quantity> capacity)Capacity defines the set of capacities for this device.BasicDeviceBuildertoBuilder()
-
-
-
Constructor Detail
-
BasicDevice
public BasicDevice()
No args constructor for use in serialization
-
BasicDevice
public BasicDevice(Map<String,DeviceAttribute> attributes, Map<String,io.fabric8.kubernetes.api.model.Quantity> capacity)
-
-
Method Detail
-
getAttributes
public Map<String,DeviceAttribute> getAttributes()
Attributes defines the set of attributes for this device. The name of each attribute must be unique in that set.The maximum number of attributes and capacities combined is 32.
-
setAttributes
public void setAttributes(Map<String,DeviceAttribute> attributes)
Attributes defines the set of attributes for this device. The name of each attribute must be unique in that set.The maximum number of attributes and capacities combined is 32.
-
getCapacity
public Map<String,io.fabric8.kubernetes.api.model.Quantity> getCapacity()
Capacity defines the set of capacities for this device. The name of each capacity must be unique in that set.The maximum number of attributes and capacities combined is 32.
-
setCapacity
public void setCapacity(Map<String,io.fabric8.kubernetes.api.model.Quantity> capacity)
Capacity defines the set of capacities for this device. The name of each capacity must be unique in that set.The maximum number of attributes and capacities combined is 32.
-
edit
public BasicDeviceBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<BasicDeviceBuilder>
-
toBuilder
public BasicDeviceBuilder toBuilder()
-
-