Enum SaveSqlTuningSetAsDetails.UpdateCondition
- java.lang.Object
-
- java.lang.Enum<SaveSqlTuningSetAsDetails.UpdateCondition>
-
- com.oracle.bmc.databasemanagement.model.SaveSqlTuningSetAsDetails.UpdateCondition
-
- All Implemented Interfaces:
BmcEnum
,Serializable
,Comparable<SaveSqlTuningSetAsDetails.UpdateCondition>
- Enclosing class:
- SaveSqlTuningSetAsDetails
public static enum SaveSqlTuningSetAsDetails.UpdateCondition extends Enum<SaveSqlTuningSetAsDetails.UpdateCondition> implements BmcEnum
Specifies when to perform the update.The procedure only performs the update when the specified condition is satisfied. The condition can refer to either the data source or destination. The condition must use the following prefixes to refer to attributes from the source or the destination: OLD \u2014 Refers to statement attributes from the SQL tuning set (destination). NEW \u2014 Refers to statement attributes from the input statements (source). NULL \u2014 No updates are performed.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SaveSqlTuningSetAsDetails.UpdateCondition
create(String key)
String
getValue()
static SaveSqlTuningSetAsDetails.UpdateCondition
valueOf(String name)
Returns the enum constant of this type with the specified name.static SaveSqlTuningSetAsDetails.UpdateCondition[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Old
public static final SaveSqlTuningSetAsDetails.UpdateCondition Old
-
New
public static final SaveSqlTuningSetAsDetails.UpdateCondition New
-
Null
public static final SaveSqlTuningSetAsDetails.UpdateCondition Null
-
-
Method Detail
-
values
public static SaveSqlTuningSetAsDetails.UpdateCondition[] 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.UpdateCondition c : SaveSqlTuningSetAsDetails.UpdateCondition.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.UpdateCondition 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.UpdateCondition create(String key)
-
-