@InterfaceAudience.Public public static enum ThrottlingException.Type extends Enum<ThrottlingException.Type>
Enum Constant and Description |
---|
NumReadRequestsExceeded |
NumRequestsExceeded |
NumWriteRequestsExceeded |
ReadSizeExceeded |
RequestSizeExceeded |
WriteSizeExceeded |
Modifier and Type | Method and Description |
---|---|
static ThrottlingException.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ThrottlingException.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ThrottlingException.Type NumRequestsExceeded
public static final ThrottlingException.Type RequestSizeExceeded
public static final ThrottlingException.Type NumReadRequestsExceeded
public static final ThrottlingException.Type NumWriteRequestsExceeded
public static final ThrottlingException.Type WriteSizeExceeded
public static final ThrottlingException.Type ReadSizeExceeded
public static ThrottlingException.Type[] values()
for (ThrottlingException.Type c : ThrottlingException.Type.values()) System.out.println(c);
public static ThrottlingException.Type 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 nullCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.