Package com.azure.data.tables.models
Enum TableEntityUpdateMode
- java.lang.Object
-
- java.lang.Enum<TableEntityUpdateMode>
-
- com.azure.data.tables.models.TableEntityUpdateMode
-
- All Implemented Interfaces:
Serializable,Comparable<TableEntityUpdateMode>
public enum TableEntityUpdateMode extends Enum<TableEntityUpdateMode>
The type of update operation to perform on an existing entity within a table.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static TableEntityUpdateModevalueOf(String name)Returns the enum constant of this type with the specified name.static TableEntityUpdateMode[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
MERGE
public static final TableEntityUpdateMode MERGE
The provided entity's properties will be merged into the existing entity.
-
REPLACE
public static final TableEntityUpdateMode REPLACE
The provided entity's properties will completely replace those in the existing entity.
-
-
Method Detail
-
values
public static TableEntityUpdateMode[] 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 (TableEntityUpdateMode c : TableEntityUpdateMode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TableEntityUpdateMode 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
-
-