com.cloudera.api.model
Enum ApiHiveCloudReplicationArguments.ReplicationOption

java.lang.Object
  extended by java.lang.Enum<ApiHiveCloudReplicationArguments.ReplicationOption>
      extended by com.cloudera.api.model.ApiHiveCloudReplicationArguments.ReplicationOption
All Implemented Interfaces:
Serializable, Comparable<ApiHiveCloudReplicationArguments.ReplicationOption>
Enclosing class:
ApiHiveCloudReplicationArguments

public static enum ApiHiveCloudReplicationArguments.ReplicationOption
extends Enum<ApiHiveCloudReplicationArguments.ReplicationOption>

This will decide how cloud replication will take place


Enum Constant Summary
KEEP_DATA_IN_CLOUD
           
METADATA_AND_DATA
           
METADATA_ONLY
           
 
Method Summary
static ApiHiveCloudReplicationArguments.ReplicationOption valueOf(String name)
          Returns the enum constant of this type with the specified name.
static ApiHiveCloudReplicationArguments.ReplicationOption[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

METADATA_ONLY

public static final ApiHiveCloudReplicationArguments.ReplicationOption METADATA_ONLY

METADATA_AND_DATA

public static final ApiHiveCloudReplicationArguments.ReplicationOption METADATA_AND_DATA

KEEP_DATA_IN_CLOUD

public static final ApiHiveCloudReplicationArguments.ReplicationOption KEEP_DATA_IN_CLOUD
Method Detail

values

public static ApiHiveCloudReplicationArguments.ReplicationOption[] 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 (ApiHiveCloudReplicationArguments.ReplicationOption c : ApiHiveCloudReplicationArguments.ReplicationOption.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static ApiHiveCloudReplicationArguments.ReplicationOption 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 name
NullPointerException - if the argument is null


Copyright © Cloudera, Inc. Released under Apache License, Version 2.0.