Class NodeDisruptionPolicyStatusFile
- java.lang.Object
-
- io.fabric8.openshift.api.model.operator.v1.NodeDisruptionPolicyStatusFile
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<NodeDisruptionPolicyStatusFileBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class NodeDisruptionPolicyStatusFile extends Object implements io.fabric8.kubernetes.api.builder.Editable<NodeDisruptionPolicyStatusFileBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
NodeDisruptionPolicyStatusFile is a file entry and corresponding actions to take and is used in the NodeDisruptionPolicyClusterStatus object- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description NodeDisruptionPolicyStatusFile()No args constructor for use in serializationNodeDisruptionPolicyStatusFile(List<NodeDisruptionPolicyStatusAction> actions, String path)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NodeDisruptionPolicyStatusFileBuilderedit()List<NodeDisruptionPolicyStatusAction>getActions()actions represents the series of commands to be executed on changes to the file at the corresponding file path.Map<String,Object>getAdditionalProperties()StringgetPath()path is the location of a file being managed through a MachineConfig.voidsetActions(List<NodeDisruptionPolicyStatusAction> actions)actions represents the series of commands to be executed on changes to the file at the corresponding file path.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetPath(String path)path is the location of a file being managed through a MachineConfig.NodeDisruptionPolicyStatusFileBuildertoBuilder()
-
-
-
Constructor Detail
-
NodeDisruptionPolicyStatusFile
public NodeDisruptionPolicyStatusFile()
No args constructor for use in serialization
-
NodeDisruptionPolicyStatusFile
public NodeDisruptionPolicyStatusFile(List<NodeDisruptionPolicyStatusAction> actions, String path)
-
-
Method Detail
-
getActions
public List<NodeDisruptionPolicyStatusAction> getActions()
actions represents the series of commands to be executed on changes to the file at the corresponding file path. Actions will be applied in the order that they are set in this list. If there are other incoming changes to other MachineConfig entries in the same update that require a reboot, the reboot will supercede these actions. Valid actions are Reboot, Drain, Reload, DaemonReload and None. The Reboot action and the None action cannot be used in conjunction with any of the other actions. This list supports a maximum of 10 entries.
-
setActions
public void setActions(List<NodeDisruptionPolicyStatusAction> actions)
actions represents the series of commands to be executed on changes to the file at the corresponding file path. Actions will be applied in the order that they are set in this list. If there are other incoming changes to other MachineConfig entries in the same update that require a reboot, the reboot will supercede these actions. Valid actions are Reboot, Drain, Reload, DaemonReload and None. The Reboot action and the None action cannot be used in conjunction with any of the other actions. This list supports a maximum of 10 entries.
-
getPath
public String getPath()
path is the location of a file being managed through a MachineConfig. The Actions in the policy will apply to changes to the file at this path.
-
setPath
public void setPath(String path)
path is the location of a file being managed through a MachineConfig. The Actions in the policy will apply to changes to the file at this path.
-
edit
public NodeDisruptionPolicyStatusFileBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<NodeDisruptionPolicyStatusFileBuilder>
-
toBuilder
public NodeDisruptionPolicyStatusFileBuilder toBuilder()
-
-