public class ApiCluster extends Object
Constructor and Description |
---|
ApiCluster() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
String |
getClusterUrl()
Readonly.
|
String |
getDisplayName()
The display name of the cluster that is shown in the UI.
|
ApiEntityStatus |
getEntityStatus()
Readonly.
|
String |
getFullVersion()
The full CDH version of the cluster.
|
String |
getHostsUrl()
Readonly.
|
Boolean |
getMaintenanceMode()
Readonly.
|
List<ApiEntityType> |
getMaintenanceOwners()
Readonly.
|
String |
getName()
The name of the cluster.
|
List<ApiParcel> |
getParcels()
Optional.
|
List<ApiService> |
getServices()
Optional.
|
String |
getUuid()
Readonly.
|
ApiClusterVersion |
getVersion()
The CDH version of the cluster.
|
int |
hashCode() |
void |
setClusterUrl(String clusterUrl) |
void |
setDisplayName(String displayName) |
void |
setEntityStatus(ApiEntityStatus entityStatus) |
void |
setFullVersion(String fullVersion) |
void |
setHostsUrl(String hostsUrl) |
void |
setMaintenanceMode(Boolean maintenanceMode) |
void |
setMaintenanceOwners(List<ApiEntityType> maintenanceOwners) |
void |
setName(String name) |
void |
setParcels(List<ApiParcel> parcels) |
void |
setServices(List<ApiService> services) |
void |
setUuid(String uuid) |
void |
setVersion(ApiClusterVersion version) |
String |
toString() |
public String getName()
Immutable since API v6.
Prior to API v6, will contain the display name of the cluster.
public void setName(String name)
public String getDisplayName()
Available since API v6.
public void setDisplayName(String displayName)
public String getUuid()
Available since API v15.
public void setUuid(String uuid)
public String getClusterUrl()
Available since API v10.
public void setClusterUrl(String clusterUrl)
public String getHostsUrl()
Available since API v11.
public void setHostsUrl(String hostsUrl)
public ApiClusterVersion getVersion()
public void setVersion(ApiClusterVersion version)
public String getFullVersion()
Available since API v6.
public void setFullVersion(String fullVersion)
public Boolean getMaintenanceMode()
public void setMaintenanceMode(Boolean maintenanceMode)
public List<ApiEntityType> getMaintenanceOwners()
public void setMaintenanceOwners(List<ApiEntityType> maintenanceOwners)
public List<ApiService> getServices()
public void setServices(List<ApiService> services)
public List<ApiParcel> getParcels()
public ApiEntityStatus getEntityStatus()
public void setEntityStatus(ApiEntityStatus entityStatus)
Copyright © Cloudera, Inc. Released under Apache License, Version 2.0.