Package com.oracle.bmc.recovery.requests
Enum ListProtectionPoliciesRequest.Owner
- java.lang.Object
-
- java.lang.Enum<ListProtectionPoliciesRequest.Owner>
-
- com.oracle.bmc.recovery.requests.ListProtectionPoliciesRequest.Owner
-
- All Implemented Interfaces:
BmcEnum
,Serializable
,Comparable<ListProtectionPoliciesRequest.Owner>
- Enclosing class:
- ListProtectionPoliciesRequest
public static enum ListProtectionPoliciesRequest.Owner extends Enum<ListProtectionPoliciesRequest.Owner> implements BmcEnum
A filter to return only the policies that match the owner as ‘Customer’ or ‘Oracle’.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ListProtectionPoliciesRequest.Owner
create(String key)
String
getValue()
static ListProtectionPoliciesRequest.Owner
valueOf(String name)
Returns the enum constant of this type with the specified name.static ListProtectionPoliciesRequest.Owner[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Oracle
public static final ListProtectionPoliciesRequest.Owner Oracle
-
Customer
public static final ListProtectionPoliciesRequest.Owner Customer
-
-
Method Detail
-
values
public static ListProtectionPoliciesRequest.Owner[] 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 (ListProtectionPoliciesRequest.Owner c : ListProtectionPoliciesRequest.Owner.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ListProtectionPoliciesRequest.Owner 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 ListProtectionPoliciesRequest.Owner create(String key)
-
-