Enum PatchInsertMultipleInstruction.Position
- java.lang.Object
-
- java.lang.Enum<PatchInsertMultipleInstruction.Position>
-
- com.oracle.bmc.capacitymanagement.model.PatchInsertMultipleInstruction.Position
-
- All Implemented Interfaces:
BmcEnum
,Serializable
,Comparable<PatchInsertMultipleInstruction.Position>
- Enclosing class:
- PatchInsertMultipleInstruction
public static enum PatchInsertMultipleInstruction.Position extends Enum<PatchInsertMultipleInstruction.Position> implements BmcEnum
Where to insert the values, relative to the first item matched by selectedItem.If selectedItem is unspecified, then “BEFORE” specifies insertion at the first position in an array and “AFTER” specifies insertion at the last position. If selectedItem is specified but results in an empty selection, then both values specify insertion at the last position.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PatchInsertMultipleInstruction.Position
create(String key)
String
getValue()
static PatchInsertMultipleInstruction.Position
valueOf(String name)
Returns the enum constant of this type with the specified name.static PatchInsertMultipleInstruction.Position[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Before
public static final PatchInsertMultipleInstruction.Position Before
-
After
public static final PatchInsertMultipleInstruction.Position After
-
-
Method Detail
-
values
public static PatchInsertMultipleInstruction.Position[] 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 (PatchInsertMultipleInstruction.Position c : PatchInsertMultipleInstruction.Position.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PatchInsertMultipleInstruction.Position 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 PatchInsertMultipleInstruction.Position create(String key)
-
-