Package com.ibm.cloud.is.vpc.v1.model
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 Classes Modifier and Type Class Description static class
InstanceAvailabilityPolicyPatch.Builder
Builder.static interface
InstanceAvailabilityPolicyPatch.HostFailure
The action to perform if the compute host experiences a failure.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
hostFailure()
Gets the hostFailure.InstanceAvailabilityPolicyPatch.Builder
newBuilder()
New builder.
-
-
-
Method Detail
-
newBuilder
public InstanceAvailabilityPolicyPatch.Builder newBuilder()
New builder.- Returns:
- a InstanceAvailabilityPolicyPatch builder
-
hostFailure
public String 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
-
-