Package com.oracle.bmc.monitoring.model
Enum PostMetricDataDetails.BatchAtomicity
- java.lang.Object
-
- java.lang.Enum<PostMetricDataDetails.BatchAtomicity>
-
- com.oracle.bmc.monitoring.model.PostMetricDataDetails.BatchAtomicity
-
- All Implemented Interfaces:
BmcEnum
,Serializable
,Comparable<PostMetricDataDetails.BatchAtomicity>
- Enclosing class:
- PostMetricDataDetails
public static enum PostMetricDataDetails.BatchAtomicity extends Enum<PostMetricDataDetails.BatchAtomicity> implements BmcEnum
Batch atomicity behavior.Requires either partial or full pass of input validation for metric objects in PostMetricData requests. The default value of NON_ATOMIC requires a partial pass: at least one metric object in the request must pass input validation, and any objects that failed validation are identified in the returned summary, along with their error messages. A value of ATOMIC requires a full pass: all metric objects in the request must pass input validation.
Example: NON_ATOMIC
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PostMetricDataDetails.BatchAtomicity
create(String key)
String
getValue()
static PostMetricDataDetails.BatchAtomicity
valueOf(String name)
Returns the enum constant of this type with the specified name.static PostMetricDataDetails.BatchAtomicity[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Atomic
public static final PostMetricDataDetails.BatchAtomicity Atomic
-
NonAtomic
public static final PostMetricDataDetails.BatchAtomicity NonAtomic
-
-
Method Detail
-
values
public static PostMetricDataDetails.BatchAtomicity[] 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 (PostMetricDataDetails.BatchAtomicity c : PostMetricDataDetails.BatchAtomicity.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PostMetricDataDetails.BatchAtomicity 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 PostMetricDataDetails.BatchAtomicity create(String key)
-
-