public static class UpdateInstanceAvailabilityConfigDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
UpdateInstanceAvailabilityConfigDetails |
build() |
UpdateInstanceAvailabilityConfigDetails.Builder |
copy(UpdateInstanceAvailabilityConfigDetails model) |
UpdateInstanceAvailabilityConfigDetails.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.
|
UpdateInstanceAvailabilityConfigDetails.Builder |
recoveryAction(UpdateInstanceAvailabilityConfigDetails.RecoveryAction recoveryAction)
The lifecycle state for an instance when it is recovered after infrastructure
maintenance.
|
public UpdateInstanceAvailabilityConfigDetails.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 UpdateInstanceAvailabilityConfigDetails.Builder recoveryAction(UpdateInstanceAvailabilityConfigDetails.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 UpdateInstanceAvailabilityConfigDetails build()
public UpdateInstanceAvailabilityConfigDetails.Builder copy(UpdateInstanceAvailabilityConfigDetails model)
Copyright © 2016–2023. All rights reserved.