com.cloudera.api.model
Class ApiEnableOozieHaArguments

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

public class ApiEnableOozieHaArguments
extends Object


Constructor Summary
ApiEnableOozieHaArguments()
           
 
Method Summary
 boolean equals(Object o)
           
 String getLoadBalancerHostname()
          Hostname of the load balancer used for Oozie HA.
 String getLoadBalancerHostPort()
          Deprecated. Since API v19. Instead use setLoadBalancerHostname(java.lang.String), setLoadBalancerPort(java.lang.Long) and setLoadBalancerSslPort(java.lang.Long). Will be removed in API v30
 Long getLoadBalancerPort()
          HTTP port of the load balancer used for Oozie HA.
 Long getLoadBalancerSslPort()
          HTTPS port of the load balancer used for Oozie HA when SSL is enabled.
 List<String> getNewOozieServerHostIds()
          IDs of the hosts on which new Oozie Servers will be added.
 List<String> getNewOozieServerRoleNames()
          Names of the new Oozie Servers.
 String getZkServiceName()
          Name of the ZooKeeper service that will be used for Oozie HA.
 int hashCode()
           
 void setLoadBalancerHostname(String loadBalancerHostname)
           
 void setLoadBalancerHostPort(String loadBalancerHostPort)
          Deprecated. 
 void setLoadBalancerPort(Long loadBalancerPort)
           
 void setLoadBalancerSslPort(Long loadBalancerSslPort)
           
 void setNewOozieServerHostIds(List<String> newOozieServerHostIds)
           
 void setNewOozieServerRoleNames(List<String> newOozieServerRoleNames)
           
 void setZkServiceName(String zkServiceName)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ApiEnableOozieHaArguments

public ApiEnableOozieHaArguments()
Method Detail

getNewOozieServerHostIds

public List<String> getNewOozieServerHostIds()
IDs of the hosts on which new Oozie Servers will be added.


setNewOozieServerHostIds

public void setNewOozieServerHostIds(List<String> newOozieServerHostIds)

getNewOozieServerRoleNames

public List<String> getNewOozieServerRoleNames()
Names of the new Oozie Servers. This is an optional argument, but if provided, it should match the length of host IDs provided.


setNewOozieServerRoleNames

public void setNewOozieServerRoleNames(List<String> newOozieServerRoleNames)

getZkServiceName

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


setZkServiceName

public void setZkServiceName(String zkServiceName)

getLoadBalancerHostname

public String getLoadBalancerHostname()
Hostname of the load balancer used for Oozie HA. Optional if load balancer host and ports are already set in CM.

Since:
API v19

setLoadBalancerHostname

public void setLoadBalancerHostname(String loadBalancerHostname)

getLoadBalancerPort

public Long getLoadBalancerPort()
HTTP port of the load balancer used for Oozie HA. Optional if load balancer host and ports are already set in CM.

Since:
API v19

setLoadBalancerPort

public void setLoadBalancerPort(Long loadBalancerPort)

getLoadBalancerSslPort

public Long getLoadBalancerSslPort()
HTTPS port of the load balancer used for Oozie HA when SSL is enabled. This port is only used for oozie.base.url -- the callback is always on HTTP. Optional if load balancer host and ports are already set in CM.

Since:
API v19

setLoadBalancerSslPort

public void setLoadBalancerSslPort(Long loadBalancerSslPort)

getLoadBalancerHostPort

@Deprecated
public String getLoadBalancerHostPort()
Deprecated. Since API v19. Instead use setLoadBalancerHostname(java.lang.String), setLoadBalancerPort(java.lang.Long) and setLoadBalancerSslPort(java.lang.Long). Will be removed in API v30

Address of the load balancer used for Oozie HA. This is an optional parameter if this config is already set in CM.


setLoadBalancerHostPort

@Deprecated
public void setLoadBalancerHostPort(String loadBalancerHostPort)
Deprecated. 


hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

public String toString()
Overrides:
toString in class Object

equals

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


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