Package com.oracle.bmc.devops.requests
Enum GetMirrorRecordRequest.MirrorRecordType
- java.lang.Object
-
- java.lang.Enum<GetMirrorRecordRequest.MirrorRecordType>
-
- com.oracle.bmc.devops.requests.GetMirrorRecordRequest.MirrorRecordType
-
- All Implemented Interfaces:
BmcEnum
,Serializable
,Comparable<GetMirrorRecordRequest.MirrorRecordType>
- Enclosing class:
- GetMirrorRecordRequest
public static enum GetMirrorRecordRequest.MirrorRecordType extends Enum<GetMirrorRecordRequest.MirrorRecordType> implements BmcEnum
The field of mirror record type.Only one mirror record type can be provided: current - The current mirror record. lastSuccessful - The last successful mirror record.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description Current
LastSuccessful
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GetMirrorRecordRequest.MirrorRecordType
create(String key)
String
getValue()
static GetMirrorRecordRequest.MirrorRecordType
valueOf(String name)
Returns the enum constant of this type with the specified name.static GetMirrorRecordRequest.MirrorRecordType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Current
public static final GetMirrorRecordRequest.MirrorRecordType Current
-
LastSuccessful
public static final GetMirrorRecordRequest.MirrorRecordType LastSuccessful
-
-
Method Detail
-
values
public static GetMirrorRecordRequest.MirrorRecordType[] 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 (GetMirrorRecordRequest.MirrorRecordType c : GetMirrorRecordRequest.MirrorRecordType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static GetMirrorRecordRequest.MirrorRecordType 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 GetMirrorRecordRequest.MirrorRecordType create(String key)
-
-