ApiEnableRmHaArguments (cloudera-manager-api-swagger 7.13.1 API)
Date: 2026-05-19

com.cloudera.api.swagger.model

## Class ApiEnableRmHaArguments

- java.lang.Object
- - com.cloudera.api.swagger.model.ApiEnableRmHaArguments

-     @Generated(value="io.swagger.codegen.v3.generators.java.JavaClientCodegen",
                 date="2026-05-19T08:00:51.241Z[Etc/UTC]")
      public class ApiEnableRmHaArguments
      extends Object

  Arguments used for enable RM HA command.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `ApiEnableRmHaArguments()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `equals(Object o)`
    `String` | `getNewRmHostId()` Id of host on which second ResourceManager role will be added.
    `String` | `getNewRmRoleName()` Name of the second ResourceManager role to be created (Optional)
    `String` | `getZkServiceName()` Name of the ZooKeeper service that will be used for auto-failover.
    `int` | `hashCode()`
    `ApiEnableRmHaArguments` | `newRmHostId(String newRmHostId)`
    `ApiEnableRmHaArguments` | `newRmRoleName(String newRmRoleName)`
    `void` | `setNewRmHostId(String newRmHostId)`
    `void` | `setNewRmRoleName(String newRmRoleName)`
    `void` | `setZkServiceName(String zkServiceName)`
    `String` | `toString()`
    `ApiEnableRmHaArguments` | `zkServiceName(String zkServiceName)`

    - ### Methods inherited from class java.lang.Object

      `clone, finalize, getClass, notify, notifyAll, wait, wait, wait`

- - ### Constructor Detail

    - #### ApiEnableRmHaArguments

          public ApiEnableRmHaArguments()

  - ### Method Detail

    - #### newRmHostId

          public ApiEnableRmHaArguments newRmHostId(String newRmHostId)

    - #### getNewRmHostId

          public String getNewRmHostId()

      Id of host on which second ResourceManager role will be added.
      Returns:
        newRmHostId

    - #### setNewRmHostId

          public void setNewRmHostId(String newRmHostId)

    - #### newRmRoleName

          public ApiEnableRmHaArguments newRmRoleName(String newRmRoleName)

    - #### getNewRmRoleName

          public String getNewRmRoleName()

      Name of the second ResourceManager role to be created (Optional)
      Returns:
        newRmRoleName

    - #### setNewRmRoleName

          public void setNewRmRoleName(String newRmRoleName)

    - #### zkServiceName

          public ApiEnableRmHaArguments zkServiceName(String zkServiceName)

    - #### getZkServiceName

          public String getZkServiceName()

      Name of the ZooKeeper service that will be used for auto-failover. This is an optional parameter if the Yarn to ZooKeeper dependency is already set in CM.
      Returns:
        zkServiceName

    - #### setZkServiceName

          public void setZkServiceName(String zkServiceName)

    - #### equals

          public boolean equals(Object o)

      Overrides:
        `equals` in class `Object`

    - #### hashCode

          public int hashCode()

      Overrides:
        `hashCode` in class `Object`

    - #### toString

          public String toString()

      Overrides:
        `toString` in class `Object`

Copyright © 2026. All rights reserved.