Class InstanceAvailabilityPolicyPatch
java.lang.Object
com.ibm.cloud.sdk.core.service.model.GenericModel
com.ibm.cloud.is.vpc.v1.model.InstanceAvailabilityPolicyPatch
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class InstanceAvailabilityPolicyPatch
extends com.ibm.cloud.sdk.core.service.model.GenericModel
InstanceAvailabilityPolicyPatch.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
Builder.static interface
The action to perform if the compute host experiences a failure. -
Method Summary
Modifier and TypeMethodDescriptionGets the hostFailure.New builder.Methods inherited from class com.ibm.cloud.sdk.core.service.model.GenericModel
equals, hashCode, toString
-
Method Details
-
newBuilder
New builder.- Returns:
- a InstanceAvailabilityPolicyPatch builder
-
hostFailure
Gets the hostFailure. The action to perform if the compute host experiences a failure. - `restart`: Automatically restart the virtual server instance after host failure - `stop`: Leave the virtual server instance stopped after host failure.- Returns:
- the hostFailure
-