Enum AcceptableDowntime
- java.lang.Object
-
- java.lang.Enum<AcceptableDowntime>
-
- com.oracle.bmc.databasemigration.model.AcceptableDowntime
-
- All Implemented Interfaces:
BmcEnum,Serializable,Comparable<AcceptableDowntime>
@Generated(value="OracleSDKGenerator", comments="API Version: 20230518") public enum AcceptableDowntime extends Enum<AcceptableDowntime> implements BmcEnumTime allowed for the application downtime.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description LessThan10MinutesLessThan12HoursLessThan1DayLessThan1HourLessThan2DaysLessThan4HoursLessThan8HoursMoreThan2DaysUnknownEnumValueThis value is used if a service returns a value for this enum that is not recognized by this version of the SDK.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AcceptableDowntimecreate(String key)StringgetValue()static AcceptableDowntimevalueOf(String name)Returns the enum constant of this type with the specified name.static AcceptableDowntime[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
LessThan10Minutes
public static final AcceptableDowntime LessThan10Minutes
-
LessThan1Hour
public static final AcceptableDowntime LessThan1Hour
-
LessThan4Hours
public static final AcceptableDowntime LessThan4Hours
-
LessThan8Hours
public static final AcceptableDowntime LessThan8Hours
-
LessThan12Hours
public static final AcceptableDowntime LessThan12Hours
-
LessThan1Day
public static final AcceptableDowntime LessThan1Day
-
LessThan2Days
public static final AcceptableDowntime LessThan2Days
-
MoreThan2Days
public static final AcceptableDowntime MoreThan2Days
-
UnknownEnumValue
public static final AcceptableDowntime UnknownEnumValue
This value is used if a service returns a value for this enum that is not recognized by this version of the SDK.
-
-
Method Detail
-
values
public static AcceptableDowntime[] 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 (AcceptableDowntime c : AcceptableDowntime.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AcceptableDowntime 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 AcceptableDowntime create(String key)
-
-