ApiEnableLlamaRmArguments (cloudera-manager-api-swagger 7.8.1 API)
Date: 2022-11-17

com.cloudera.api.swagger.model

## Class ApiEnableLlamaRmArguments

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

-     @Generated(value="io.swagger.codegen.languages.JavaClientCodegen",
                 date="2022-11-17T16:22:50.425Z")
      public class ApiEnableLlamaRmArguments
      extends Object

  Arguments used for enable Llama RM command.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `ApiEnableLlamaRmArguments()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `equals(Object o)`
    `String` | `getLlama1HostId()` HostId of the host on which the first Llama role will be created.
    `String` | `getLlama1RoleName()` Name of the first Llama role to be created (optional).
    `String` | `getLlama2HostId()` HostId of the host on which the second Llama role will be created.
    `String` | `getLlama2RoleName()` Name of the second Llama role to be created (optional).
    `Boolean` | `getSkipRestart()` Skip the restart of Yarn, Impala, and their dependent services, and don't deploy client configuration.
    `String` | `getZkServiceName()` Name of the ZooKeeper service that will be used for auto-failover.
    `int` | `hashCode()`
    `ApiEnableLlamaRmArguments` | `llama1HostId(String llama1HostId)`
    `ApiEnableLlamaRmArguments` | `llama1RoleName(String llama1RoleName)`
    `ApiEnableLlamaRmArguments` | `llama2HostId(String llama2HostId)`
    `ApiEnableLlamaRmArguments` | `llama2RoleName(String llama2RoleName)`
    `void` | `setLlama1HostId(String llama1HostId)`
    `void` | `setLlama1RoleName(String llama1RoleName)`
    `void` | `setLlama2HostId(String llama2HostId)`
    `void` | `setLlama2RoleName(String llama2RoleName)`
    `void` | `setSkipRestart(Boolean skipRestart)`
    `void` | `setZkServiceName(String zkServiceName)`
    `ApiEnableLlamaRmArguments` | `skipRestart(Boolean skipRestart)`
    `String` | `toString()`
    `ApiEnableLlamaRmArguments` | `zkServiceName(String zkServiceName)`

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

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

- - ### Constructor Detail

    - #### ApiEnableLlamaRmArguments

          public ApiEnableLlamaRmArguments()

  - ### Method Detail

    - #### llama1HostId

          public ApiEnableLlamaRmArguments llama1HostId(String llama1HostId)

    - #### getLlama1HostId

          public String getLlama1HostId()

      HostId of the host on which the first Llama role will be created.
      Returns:
        llama1HostId

    - #### setLlama1HostId

          public void setLlama1HostId(String llama1HostId)

    - #### llama1RoleName

          public ApiEnableLlamaRmArguments llama1RoleName(String llama1RoleName)

    - #### getLlama1RoleName

          public String getLlama1RoleName()

      Name of the first Llama role to be created (optional).
      Returns:
        llama1RoleName

    - #### setLlama1RoleName

          public void setLlama1RoleName(String llama1RoleName)

    - #### llama2HostId

          public ApiEnableLlamaRmArguments llama2HostId(String llama2HostId)

    - #### getLlama2HostId

          public String getLlama2HostId()

      HostId of the host on which the second Llama role will be created.
      Returns:
        llama2HostId

    - #### setLlama2HostId

          public void setLlama2HostId(String llama2HostId)

    - #### llama2RoleName

          public ApiEnableLlamaRmArguments llama2RoleName(String llama2RoleName)

    - #### getLlama2RoleName

          public String getLlama2RoleName()

      Name of the second Llama role to be created (optional).
      Returns:
        llama2RoleName

    - #### setLlama2RoleName

          public void setLlama2RoleName(String llama2RoleName)

    - #### zkServiceName

          public ApiEnableLlamaRmArguments zkServiceName(String zkServiceName)

    - #### getZkServiceName

          public String getZkServiceName()

      Name of the ZooKeeper service that will be used for auto-failover. Only relevant when enabling Llama RM in HA mode (i.e., when two Llama roles are being created). This argument may be omitted if the ZooKeeper dependency for Impala is already configured.
      Returns:
        zkServiceName

    - #### setZkServiceName

          public void setZkServiceName(String zkServiceName)

    - #### skipRestart

          public ApiEnableLlamaRmArguments skipRestart(Boolean skipRestart)

    - #### getSkipRestart

          public Boolean getSkipRestart()

      Skip the restart of Yarn, Impala, and their dependent services, and don't deploy client configuration. Default is false (i.e., by default, the services are restarted and client configuration is deployed).
      Returns:
        skipRestart

    - #### setSkipRestart

          public void setSkipRestart(Boolean skipRestart)

    - #### 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 © 2022. All rights reserved.