Class NodeDisruptionPolicySpecSSHKey
- java.lang.Object
-
- io.fabric8.openshift.api.model.operator.v1.NodeDisruptionPolicySpecSSHKey
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<NodeDisruptionPolicySpecSSHKeyBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class NodeDisruptionPolicySpecSSHKey extends Object implements io.fabric8.kubernetes.api.builder.Editable<NodeDisruptionPolicySpecSSHKeyBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
NodeDisruptionPolicySpecSSHKey is actions to take for any SSHKey change and is used in the NodeDisruptionPolicyConfig object- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description NodeDisruptionPolicySpecSSHKey()No args constructor for use in serializationNodeDisruptionPolicySpecSSHKey(List<NodeDisruptionPolicySpecAction> actions)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NodeDisruptionPolicySpecSSHKeyBuilderedit()List<NodeDisruptionPolicySpecAction>getActions()actions represents the series of commands to be executed on changes to the file at the corresponding file path.Map<String,Object>getAdditionalProperties()voidsetActions(List<NodeDisruptionPolicySpecAction> 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)NodeDisruptionPolicySpecSSHKeyBuildertoBuilder()
-
-
-
Constructor Detail
-
NodeDisruptionPolicySpecSSHKey
public NodeDisruptionPolicySpecSSHKey()
No args constructor for use in serialization
-
NodeDisruptionPolicySpecSSHKey
public NodeDisruptionPolicySpecSSHKey(List<NodeDisruptionPolicySpecAction> actions)
-
-
Method Detail
-
getActions
public List<NodeDisruptionPolicySpecAction> 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<NodeDisruptionPolicySpecAction> 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.
-
edit
public NodeDisruptionPolicySpecSSHKeyBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<NodeDisruptionPolicySpecSSHKeyBuilder>
-
toBuilder
public NodeDisruptionPolicySpecSSHKeyBuilder toBuilder()
-
-