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
Modifier and Type | Method and 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.
|
public static final PostMetricDataDetails.BatchAtomicity Atomic
public static final PostMetricDataDetails.BatchAtomicity NonAtomic
public static PostMetricDataDetails.BatchAtomicity[] values()
for (PostMetricDataDetails.BatchAtomicity c : PostMetricDataDetails.BatchAtomicity.values()) System.out.println(c);
public static PostMetricDataDetails.BatchAtomicity valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static PostMetricDataDetails.BatchAtomicity create(String key)
Copyright © 2016–2024. All rights reserved.