com.cloudera.api.model
Class ApiEnableLlamaHaArguments

java.lang.Object
  extended by com.cloudera.api.model.ApiEnableLlamaHaArguments

public class ApiEnableLlamaHaArguments
extends Object

Arguments used for enable Llama HA command.


Constructor Summary
ApiEnableLlamaHaArguments()
           
 
Method Summary
 boolean equals(Object o)
           
 String getNewLlamaHostId()
          HostId of the host on which the second Llama role will be created.
 String getNewLlamaRoleName()
          Name of the second Llama role to be created (optional).
 String getZkServiceName()
          Name of the ZooKeeper service that will be used for auto-failover.
 int hashCode()
           
 void setNewLlamaHostId(String newLlamaHostId)
           
 void setNewLlamaRoleName(String newLlamaRoleName)
           
 void setZkServiceName(String zkServiceName)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ApiEnableLlamaHaArguments

public ApiEnableLlamaHaArguments()
Method Detail

getNewLlamaHostId

public String getNewLlamaHostId()
HostId of the host on which the second Llama role will be created.


setNewLlamaHostId

public void setNewLlamaHostId(String newLlamaHostId)

getNewLlamaRoleName

public String getNewLlamaRoleName()
Name of the second Llama role to be created (optional).


setNewLlamaRoleName

public void setNewLlamaRoleName(String newLlamaRoleName)

getZkServiceName

public String getZkServiceName()
Name of the ZooKeeper service that will be used for auto-failover. This argument may be omitted if the ZooKeeper dependency for Impala is already configured.


setZkServiceName

public void setZkServiceName(String zkServiceName)

toString

public String toString()
Overrides:
toString in class Object

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object


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