public static enum ApiHBaseSnapshot.Storage extends Enum<ApiHBaseSnapshot.Storage>
Enum Constant and Description |
---|
LOCAL
The snapshot is in storage managed by the HBase service.
|
REMOTE_S3
The snapshot is in Amazon S3.
|
Modifier and Type | Method and Description |
---|---|
static ApiHBaseSnapshot.Storage |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ApiHBaseSnapshot.Storage[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ApiHBaseSnapshot.Storage LOCAL
public static final ApiHBaseSnapshot.Storage REMOTE_S3
public static ApiHBaseSnapshot.Storage[] values()
for (ApiHBaseSnapshot.Storage c : ApiHBaseSnapshot.Storage.values()) System.out.println(c);
public static ApiHBaseSnapshot.Storage 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 © Cloudera, Inc. Released under Apache License, Version 2.0.