Package com.oracle.bmc.datasafe.requests
Enum ListUserAssessmentsRequest.TriggeredBy
- java.lang.Object
-
- java.lang.Enum<ListUserAssessmentsRequest.TriggeredBy>
-
- com.oracle.bmc.datasafe.requests.ListUserAssessmentsRequest.TriggeredBy
-
- All Implemented Interfaces:
BmcEnum
,Serializable
,Comparable<ListUserAssessmentsRequest.TriggeredBy>
- Enclosing class:
- ListUserAssessmentsRequest
public static enum ListUserAssessmentsRequest.TriggeredBy extends Enum<ListUserAssessmentsRequest.TriggeredBy> implements BmcEnum
A filter to return user assessments that were created by either the system or by a user only.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ListUserAssessmentsRequest.TriggeredBy
create(String key)
String
getValue()
static ListUserAssessmentsRequest.TriggeredBy
valueOf(String name)
Returns the enum constant of this type with the specified name.static ListUserAssessmentsRequest.TriggeredBy[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
User
public static final ListUserAssessmentsRequest.TriggeredBy User
-
System
public static final ListUserAssessmentsRequest.TriggeredBy System
-
-
Method Detail
-
values
public static ListUserAssessmentsRequest.TriggeredBy[] 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 (ListUserAssessmentsRequest.TriggeredBy c : ListUserAssessmentsRequest.TriggeredBy.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ListUserAssessmentsRequest.TriggeredBy 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 ListUserAssessmentsRequest.TriggeredBy create(String key)
-
-