Class ResetActionDetails
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.core.model.InstancePowerActionDetails
-
- com.oracle.bmc.core.model.ResetActionDetails
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20160918") public final class ResetActionDetails extends InstancePowerActionDetails
Parameters for the resetinstanceAction
.If omitted, default values are used.
Note: Objects should always be created or deserialized using theResetActionDetails.Builder
. This model distinguishes fields that are null because they are unset from fields that are explicitly set to null. This is done in the setter methods of theResetActionDetails.Builder
, which maintain a set of all explicitly set fields calledResetActionDetails.Builder.__explicitlySet__
. ThehashCode()
andequals(Object)
methods are implemented to take the explicitly set fields into account. The constructor, on the other hand, does not take the explicitly set fields into account (since the constructor cannot distinguish explicit null from unset null).
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ResetActionDetails.Builder
-
Constructor Summary
Constructors Constructor Description ResetActionDetails(Boolean allowDenseRebootMigration)
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ResetActionDetails.Builder
builder()
Create a new builder.boolean
equals(Object o)
Boolean
getAllowDenseRebootMigration()
For instances that use a DenseIO shape, the flag denoting whether reboot migration is performed for the instance.int
hashCode()
ResetActionDetails.Builder
toBuilder()
String
toString()
String
toString(boolean includeByteArrayContents)
Return a string representation of the object.
-
-
-
Constructor Detail
-
ResetActionDetails
@Deprecated public ResetActionDetails(Boolean allowDenseRebootMigration)
Deprecated.
-
-
Method Detail
-
builder
public static ResetActionDetails.Builder builder()
Create a new builder.
-
toBuilder
public ResetActionDetails.Builder toBuilder()
-
getAllowDenseRebootMigration
public Boolean getAllowDenseRebootMigration()
For instances that use a DenseIO shape, the flag denoting whether reboot migration is performed for the instance.The default value is false.
If the instance has a date in the Maintenance reboot field and you do nothing (or set this flag to false), the instance will be rebuilt at the scheduled maintenance time. The instance will experience 2-6 hours of downtime during the maintenance process. The local NVMe-based SSD will be preserved.
If you want to minimize downtime and can delete the SSD, you can set this flag to true and proactively reboot the instance before the scheduled maintenance time. The instance will be reboot migrated to a healthy host and the SSD will be deleted. A short downtime occurs during the migration.
*Caution:** When true, the SSD is permanently deleted. We recommend that you create a backup of the SSD before proceeding.
- Returns:
- the value
-
toString
public String toString()
- Overrides:
toString
in classInstancePowerActionDetails
-
toString
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.- Overrides:
toString
in classInstancePowerActionDetails
- Parameters:
includeByteArrayContents
- true to include the full contents of byte arrays- Returns:
- string representation
-
equals
public boolean equals(Object o)
- Overrides:
equals
in classInstancePowerActionDetails
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classInstancePowerActionDetails
-
-