Class DeviceTaintRuleSpec
- java.lang.Object
-
- io.fabric8.kubernetes.api.model.resource.v1alpha3.DeviceTaintRuleSpec
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<DeviceTaintRuleSpecBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class DeviceTaintRuleSpec extends Object implements io.fabric8.kubernetes.api.builder.Editable<DeviceTaintRuleSpecBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
DeviceTaintRuleSpec specifies the selector and one taint.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DeviceTaintRuleSpec()No args constructor for use in serializationDeviceTaintRuleSpec(DeviceTaintSelector deviceSelector, DeviceTaint taint)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DeviceTaintRuleSpecBuilderedit()Map<String,Object>getAdditionalProperties()DeviceTaintSelectorgetDeviceSelector()DeviceTaintRuleSpec specifies the selector and one taint.DeviceTaintgetTaint()DeviceTaintRuleSpec specifies the selector and one taint.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetDeviceSelector(DeviceTaintSelector deviceSelector)DeviceTaintRuleSpec specifies the selector and one taint.voidsetTaint(DeviceTaint taint)DeviceTaintRuleSpec specifies the selector and one taint.DeviceTaintRuleSpecBuildertoBuilder()
-
-
-
Constructor Detail
-
DeviceTaintRuleSpec
public DeviceTaintRuleSpec()
No args constructor for use in serialization
-
DeviceTaintRuleSpec
public DeviceTaintRuleSpec(DeviceTaintSelector deviceSelector, DeviceTaint taint)
-
-
Method Detail
-
getDeviceSelector
public DeviceTaintSelector getDeviceSelector()
DeviceTaintRuleSpec specifies the selector and one taint.
-
setDeviceSelector
public void setDeviceSelector(DeviceTaintSelector deviceSelector)
DeviceTaintRuleSpec specifies the selector and one taint.
-
getTaint
public DeviceTaint getTaint()
DeviceTaintRuleSpec specifies the selector and one taint.
-
setTaint
public void setTaint(DeviceTaint taint)
DeviceTaintRuleSpec specifies the selector and one taint.
-
edit
public DeviceTaintRuleSpecBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<DeviceTaintRuleSpecBuilder>
-
toBuilder
public DeviceTaintRuleSpecBuilder toBuilder()
-
-