com.cloudera.api.model
Class ApiMigrateRolesArguments
java.lang.Object
com.cloudera.api.model.ApiMigrateRolesArguments
public class ApiMigrateRolesArguments
- extends Object
ApiMigrateRolesArguments
public ApiMigrateRolesArguments()
getRoleNamesToMigrate
public List<String> getRoleNamesToMigrate()
- The list of role names to migrate.
setRoleNamesToMigrate
public void setRoleNamesToMigrate(List<String> roleNamesToMigrate)
getDestinationHostId
public String getDestinationHostId()
- The ID of the host to which the roles should be migrated.
setDestinationHostId
public void setDestinationHostId(String destinationHostId)
getClearStaleRoleData
public boolean getClearStaleRoleData()
- Delete existing stale role data, if any. For example, when migrating
a NameNode, if the destination host has stale data in the NameNode data
directories (possibly because a NameNode role was previously located
there), this stale data will be deleted before migrating the role.
setClearStaleRoleData
public void setClearStaleRoleData(boolean clearStaleRoleData)
toString
public String toString()
- Overrides:
toString
in class Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
equals
public boolean equals(Object o)
- Overrides:
equals
in class Object
Copyright © Cloudera, Inc. Released under Apache License, Version 2.0.