Enum SummarizeAwrDbCpuUsagesRequest.SessionType
- java.lang.Object
-
- java.lang.Enum<SummarizeAwrDbCpuUsagesRequest.SessionType>
-
- com.oracle.bmc.databasemanagement.requests.SummarizeAwrDbCpuUsagesRequest.SessionType
-
- All Implemented Interfaces:
BmcEnum
,Serializable
,Comparable<SummarizeAwrDbCpuUsagesRequest.SessionType>
- Enclosing class:
- SummarizeAwrDbCpuUsagesRequest
public static enum SummarizeAwrDbCpuUsagesRequest.SessionType extends Enum<SummarizeAwrDbCpuUsagesRequest.SessionType> implements BmcEnum
The optional query parameter to filter ASH activities by FOREGROUND or BACKGROUND.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description All
Background
Foreground
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SummarizeAwrDbCpuUsagesRequest.SessionType
create(String key)
String
getValue()
static SummarizeAwrDbCpuUsagesRequest.SessionType
valueOf(String name)
Returns the enum constant of this type with the specified name.static SummarizeAwrDbCpuUsagesRequest.SessionType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Foreground
public static final SummarizeAwrDbCpuUsagesRequest.SessionType Foreground
-
Background
public static final SummarizeAwrDbCpuUsagesRequest.SessionType Background
-
All
public static final SummarizeAwrDbCpuUsagesRequest.SessionType All
-
-
Method Detail
-
values
public static SummarizeAwrDbCpuUsagesRequest.SessionType[] 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 (SummarizeAwrDbCpuUsagesRequest.SessionType c : SummarizeAwrDbCpuUsagesRequest.SessionType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SummarizeAwrDbCpuUsagesRequest.SessionType 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 SummarizeAwrDbCpuUsagesRequest.SessionType create(String key)
-
-