Enum DeleteReplicationRequest.DeleteMode
- java.lang.Object
-
- java.lang.Enum<DeleteReplicationRequest.DeleteMode>
-
- com.oracle.bmc.filestorage.requests.DeleteReplicationRequest.DeleteMode
-
- All Implemented Interfaces:
BmcEnum
,Serializable
,Comparable<DeleteReplicationRequest.DeleteMode>
- Enclosing class:
- DeleteReplicationRequest
public static enum DeleteReplicationRequest.DeleteMode extends Enum<DeleteReplicationRequest.DeleteMode> implements BmcEnum
You can choose a mode for deleting the replication resource.FINISH_CYCLE_IF_CAPTURING_OR_APPLYING Before deleting, complete the current delta cycle. If cycle is idle, delete immediately. Safest option. - ONE_MORE_CYCLE Before deleting, complete the current delta cycle, and initiate one more cycle. If cycle is idle, initiate one more cycle. Use for lossless failover. - FINISH_CYCLE_IF_APPLYING Before deleting, finish applying. If cycle is idle or capturing, delete immediately. Fastest option.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description FinishCycleIfApplying
FinishCycleIfCapturingOrApplying
OneMoreCycle
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DeleteReplicationRequest.DeleteMode
create(String key)
String
getValue()
static DeleteReplicationRequest.DeleteMode
valueOf(String name)
Returns the enum constant of this type with the specified name.static DeleteReplicationRequest.DeleteMode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
FinishCycleIfCapturingOrApplying
public static final DeleteReplicationRequest.DeleteMode FinishCycleIfCapturingOrApplying
-
OneMoreCycle
public static final DeleteReplicationRequest.DeleteMode OneMoreCycle
-
FinishCycleIfApplying
public static final DeleteReplicationRequest.DeleteMode FinishCycleIfApplying
-
-
Method Detail
-
values
public static DeleteReplicationRequest.DeleteMode[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (DeleteReplicationRequest.DeleteMode c : DeleteReplicationRequest.DeleteMode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DeleteReplicationRequest.DeleteMode valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
create
public static DeleteReplicationRequest.DeleteMode create(String key)
-
-