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

com.cloudera.api.swagger.model

## Class ApiHostsToRemoveArgs

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

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

  Arguments passed to the remove hosts from cluster api, every host passed in has the roles in it deleted and the host is removed from the cluster, but is still managed by CM. If deleteHosts is set to true hosts are also deleted from CM.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `ApiHostsToRemoveArgs()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `ApiHostsToRemoveArgs` | `addHostsToRemoveItem(String hostsToRemoveItem)`
    `ApiHostsToRemoveArgs` | `deleteHosts(Boolean deleteHosts)`
    `boolean` | `equals(Object o)`
    `Boolean` | `getDeleteHosts()`
    `List<String>` | `getHostsToRemove()`
    `int` | `hashCode()`
    `ApiHostsToRemoveArgs` | `hostsToRemove(List<String> hostsToRemove)`
    `void` | `setDeleteHosts(Boolean deleteHosts)`
    `void` | `setHostsToRemove(List<String> hostsToRemove)`
    `String` | `toString()`

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

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

- - ### Constructor Detail

    - #### ApiHostsToRemoveArgs

          public ApiHostsToRemoveArgs()

  - ### Method Detail

    - #### hostsToRemove

          public ApiHostsToRemoveArgs hostsToRemove(List<String> hostsToRemove)

    - #### addHostsToRemoveItem

          public ApiHostsToRemoveArgs addHostsToRemoveItem(String hostsToRemoveItem)

    - #### getHostsToRemove

          public List<String> getHostsToRemove()

      Returns:
        hostsToRemove

    - #### setHostsToRemove

          public void setHostsToRemove(List<String> hostsToRemove)

    - #### deleteHosts

          public ApiHostsToRemoveArgs deleteHosts(Boolean deleteHosts)

    - #### getDeleteHosts

          public Boolean getDeleteHosts()

      Returns:
        deleteHosts

    - #### setDeleteHosts

          public void setDeleteHosts(Boolean deleteHosts)

    - #### 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.