public static class InstanceAvailabilityConfig.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
InstanceAvailabilityConfig |
build() |
InstanceAvailabilityConfig.Builder |
copy(InstanceAvailabilityConfig o) |
InstanceAvailabilityConfig.Builder |
isLiveMigrationPreferred(Boolean isLiveMigrationPreferred)
Whether to live migrate supported VM instances to a healthy physical VM host without
disrupting running instances during infrastructure maintenance events.
|
InstanceAvailabilityConfig.Builder |
recoveryAction(InstanceAvailabilityConfig.RecoveryAction recoveryAction)
The lifecycle state for an instance when it is recovered after infrastructure maintenance.
|
public InstanceAvailabilityConfig.Builder isLiveMigrationPreferred(Boolean isLiveMigrationPreferred)
Whether to live migrate supported VM instances to a healthy physical VM host without disrupting running instances during infrastructure maintenance events. If null, Oracle chooses the best option for migrating the VM during infrastructure maintenance events.
isLiveMigrationPreferred
- the value to setpublic InstanceAvailabilityConfig.Builder recoveryAction(InstanceAvailabilityConfig.RecoveryAction recoveryAction)
The lifecycle state for an instance when it is recovered after infrastructure maintenance.
RESTORE_INSTANCE
- The instance is restored to the lifecycle state it was in before the maintenance event.
If the instance was running, it is automatically rebooted. This is the default action when a value is not set.STOP_INSTANCE
- The instance is recovered in the stopped state.recoveryAction
- the value to setpublic InstanceAvailabilityConfig build()
public InstanceAvailabilityConfig.Builder copy(InstanceAvailabilityConfig o)
Copyright © 2016–2022. All rights reserved.