Class NodeDisruptionPolicySpecAction
- java.lang.Object
-
- io.fabric8.openshift.api.model.operator.v1.NodeDisruptionPolicySpecAction
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<NodeDisruptionPolicySpecActionBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class NodeDisruptionPolicySpecAction extends Object implements io.fabric8.kubernetes.api.builder.Editable<NodeDisruptionPolicySpecActionBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description NodeDisruptionPolicySpecAction()No args constructor for use in serializationNodeDisruptionPolicySpecAction(ReloadService reload, RestartService restart, String type)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NodeDisruptionPolicySpecActionBuilderedit()Map<String,Object>getAdditionalProperties()ReloadServicegetReload()RestartServicegetRestart()StringgetType()type represents the commands that will be carried out if this NodeDisruptionPolicySpecActionType is executed Valid values are Reboot, Drain, Reload, Restart, DaemonReload and None. reload/restart requires a corresponding service target specified in the reload/restart field.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetReload(ReloadService reload)voidsetRestart(RestartService restart)voidsetType(String type)type represents the commands that will be carried out if this NodeDisruptionPolicySpecActionType is executed Valid values are Reboot, Drain, Reload, Restart, DaemonReload and None. reload/restart requires a corresponding service target specified in the reload/restart field.NodeDisruptionPolicySpecActionBuildertoBuilder()
-
-
-
Constructor Detail
-
NodeDisruptionPolicySpecAction
public NodeDisruptionPolicySpecAction()
No args constructor for use in serialization
-
NodeDisruptionPolicySpecAction
public NodeDisruptionPolicySpecAction(ReloadService reload, RestartService restart, String type)
-
-
Method Detail
-
getReload
public ReloadService getReload()
-
setReload
public void setReload(ReloadService reload)
-
getRestart
public RestartService getRestart()
-
setRestart
public void setRestart(RestartService restart)
-
getType
public String getType()
type represents the commands that will be carried out if this NodeDisruptionPolicySpecActionType is executed Valid values are Reboot, Drain, Reload, Restart, DaemonReload and None. reload/restart requires a corresponding service target specified in the reload/restart field. Other values require no further configuration
-
setType
public void setType(String type)
type represents the commands that will be carried out if this NodeDisruptionPolicySpecActionType is executed Valid values are Reboot, Drain, Reload, Restart, DaemonReload and None. reload/restart requires a corresponding service target specified in the reload/restart field. Other values require no further configuration
-
edit
public NodeDisruptionPolicySpecActionBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<NodeDisruptionPolicySpecActionBuilder>
-
toBuilder
public NodeDisruptionPolicySpecActionBuilder toBuilder()
-
-