Package com.oracle.bmc.core.model
Class RebootMigrateActionDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.core.model.RebootMigrateActionDetails.Builder
-
- Enclosing class:
- RebootMigrateActionDetails
public static class RebootMigrateActionDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RebootMigrateActionDetails
build()
RebootMigrateActionDetails.Builder
copy(RebootMigrateActionDetails model)
RebootMigrateActionDetails.Builder
deleteLocalStorage(Boolean deleteLocalStorage)
For bare metal instances that have local storage, this must be set to true to verify that the local storage will be deleted during the migration.RebootMigrateActionDetails.Builder
timeScheduled(Date timeScheduled)
If present, this parameter will set (or reset) the scheduled time that the instance will be reboot migrated in the format defined by RFC3339.
-
-
-
Method Detail
-
deleteLocalStorage
public RebootMigrateActionDetails.Builder deleteLocalStorage(Boolean deleteLocalStorage)
For bare metal instances that have local storage, this must be set to true to verify that the local storage will be deleted during the migration.For instances without, this parameter has no effect.
- Parameters:
deleteLocalStorage
- the value to set- Returns:
- this builder
-
timeScheduled
public RebootMigrateActionDetails.Builder timeScheduled(Date timeScheduled)
If present, this parameter will set (or reset) the scheduled time that the instance will be reboot migrated in the format defined by RFC3339.This will also change the timeMaintenanceRebootDue field on the instance.
If not present, the reboot migration will be triggered immediately.
- Parameters:
timeScheduled
- the value to set- Returns:
- this builder
-
build
public RebootMigrateActionDetails build()
-
copy
public RebootMigrateActionDetails.Builder copy(RebootMigrateActionDetails model)
-
-