com.cloudera.api.model
Class ApiEnableSentryHaArgs

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

public class ApiEnableSentryHaArgs
extends Object

Arguments used for enable Sentry HA command.


Constructor Summary
ApiEnableSentryHaArgs()
           
 
Method Summary
 boolean equals(Object o)
           
 String getNewSentryHostId()
          Id of host on which new Sentry Server role will be added.
 String getNewSentryRoleName()
          Name of the new Sentry Server role to be created.
 ApiSimpleRollingRestartClusterArgs getRrcArgs()
           
 String getZkServiceName()
          Name of the ZooKeeper service that will be used for Sentry HA.
 int hashCode()
           
 void setNewSentryHostId(String newSentryHostId)
           
 void setNewSentryRoleName(String newSentryRoleName)
           
 void setRrcArgs(ApiSimpleRollingRestartClusterArgs rrcArgs)
           
 void setZkServiceName(String zkServiceName)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ApiEnableSentryHaArgs

public ApiEnableSentryHaArgs()
Method Detail

getNewSentryHostId

public String getNewSentryHostId()
Id of host on which new Sentry Server role will be added.


setNewSentryHostId

public void setNewSentryHostId(String newSentryHostId)

getNewSentryRoleName

public String getNewSentryRoleName()
Name of the new Sentry Server role to be created. This is an optional argument.


setNewSentryRoleName

public void setNewSentryRoleName(String newSentryRoleName)

getZkServiceName

public String getZkServiceName()
Name of the ZooKeeper service that will be used for Sentry HA. This is an optional parameter if the Sentry to ZooKeeper dependency is already set in CM.


setZkServiceName

public void setZkServiceName(String zkServiceName)

getRrcArgs

public ApiSimpleRollingRestartClusterArgs getRrcArgs()

setRrcArgs

public void setRrcArgs(ApiSimpleRollingRestartClusterArgs rrcArgs)

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.