public class ApiCluster extends Object
Constructor and Description |
---|
ApiCluster() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
String |
getDisplayName()
The display name of the cluster that is shown in the UI.
|
String |
getFullVersion()
The full CDH version of the cluster.
|
Boolean |
getMaintenanceMode()
Readonly.
|
List<ApiEntityType> |
getMaintenanceOwners()
Readonly.
|
String |
getName()
The name of the cluster.
|
List<ApiParcel> |
getParcels()
Optional.
|
List<ApiService> |
getServices()
Optional.
|
ApiClusterVersion |
getVersion()
The CDH version of the cluster.
|
int |
hashCode() |
void |
setDisplayName(String displayName) |
void |
setFullVersion(String fullVersion) |
void |
setMaintenanceMode(Boolean maintenanceMode) |
void |
setMaintenanceOwners(List<ApiEntityType> maintenanceOwners) |
void |
setName(String name) |
void |
setParcels(List<ApiParcel> parcels) |
void |
setServices(List<ApiService> services) |
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 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()
Copyright © Cloudera, Inc. Released under Apache License, Version 2.0.