Enum SaveSqlTuningSetAsDetails.LoadOption
- java.lang.Object
-
- java.lang.Enum<SaveSqlTuningSetAsDetails.LoadOption>
-
- com.oracle.bmc.databasemanagement.model.SaveSqlTuningSetAsDetails.LoadOption
-
- All Implemented Interfaces:
BmcEnum
,Serializable
,Comparable<SaveSqlTuningSetAsDetails.LoadOption>
- Enclosing class:
- SaveSqlTuningSetAsDetails
public static enum SaveSqlTuningSetAsDetails.LoadOption extends Enum<SaveSqlTuningSetAsDetails.LoadOption> implements BmcEnum
Specifies which statements are loaded into the Sql tuning set.The possible values are. - INSERT (default) Adds only new statements. - UPDATE Updates existing the Sql statements and ignores any new statements. - MERGE Inserts new statements and updates the information of the existing ones.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SaveSqlTuningSetAsDetails.LoadOption
create(String key)
String
getValue()
static SaveSqlTuningSetAsDetails.LoadOption
valueOf(String name)
Returns the enum constant of this type with the specified name.static SaveSqlTuningSetAsDetails.LoadOption[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Insert
public static final SaveSqlTuningSetAsDetails.LoadOption Insert
-
Update
public static final SaveSqlTuningSetAsDetails.LoadOption Update
-
Merge
public static final SaveSqlTuningSetAsDetails.LoadOption Merge
-
-
Method Detail
-
values
public static SaveSqlTuningSetAsDetails.LoadOption[] 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 (SaveSqlTuningSetAsDetails.LoadOption c : SaveSqlTuningSetAsDetails.LoadOption.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SaveSqlTuningSetAsDetails.LoadOption 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 SaveSqlTuningSetAsDetails.LoadOption create(String key)
-
-