Package com.cloudera.cdp.datahub.model
Class Instance
java.lang.Object
com.cloudera.cdp.datahub.model.Instance
@Generated(value="com.cloudera.cdp.client.codegen.CdpSDKJavaCodegen",
date="2025-10-28T14:00:25.843-07:00")
public class Instance
extends Object
Object which holds some details of an instance for the given cluster.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanGetter for attachedVolumes.Getter for availabilityZone.Getter for clouderaManagerServer.getFqdn()Getter for fqdn.getId()Getter for id.Getter for instanceGroup.Getter for instanceType.Getter for instanceVmType.Getter for privateIp.Getter for publicIp.Getter for rackId.Getter for sshPort.getState()Getter for state.Getter for status.Getter for statusReason.Getter for subnetId.inthashCode()voidsetAttachedVolumes(List<AttachedVolumeDetail> attachedVolumes) Setter for attachedVolumes.voidsetAvailabilityZone(String availabilityZone) Setter for availabilityZone.voidsetClouderaManagerServer(Boolean clouderaManagerServer) Setter for clouderaManagerServer.voidSetter for fqdn.voidSetter for id.voidsetInstanceGroup(String instanceGroup) Setter for instanceGroup.voidsetInstanceType(String instanceType) Setter for instanceType.voidsetInstanceVmType(String instanceVmType) Setter for instanceVmType.voidsetPrivateIp(String privateIp) Setter for privateIp.voidsetPublicIp(String publicIp) Setter for publicIp.voidSetter for rackId.voidsetSshPort(Integer sshPort) Setter for sshPort.voidSetter for state.voidSetter for status.voidsetStatusReason(String statusReason) Setter for statusReason.voidsetSubnetId(String subnetId) Setter for subnetId.toString()
-
Constructor Details
-
Instance
public Instance()
-
-
Method Details
-
getId
Getter for id. The ID of the given instance. -
setId
Setter for id. The ID of the given instance. -
getState
Getter for state. The health state of the instance. UNHEALTHY represents instances with unhealthy services, lost instances, or failed operations. -
setState
Setter for state. The health state of the instance. UNHEALTHY represents instances with unhealthy services, lost instances, or failed operations. -
getInstanceType
Getter for instanceType. The type of the given instance (either GATEWAY, GATEWAY_PRIMARY, or CORE). -
setInstanceType
Setter for instanceType. The type of the given instance (either GATEWAY, GATEWAY_PRIMARY, or CORE). -
getPrivateIp
Getter for privateIp. The private IP of the given instance. -
setPrivateIp
Setter for privateIp. The private IP of the given instance. -
getPublicIp
Getter for publicIp. The public IP of the given instance. -
setPublicIp
Setter for publicIp. The public IP of the given instance. -
getFqdn
Getter for fqdn. The FQDN of the instance. -
setFqdn
Setter for fqdn. The FQDN of the instance. -
getStatus
Getter for status. The status of the instance. This includes information like whether the instance is being provisioned, stopped, decommissioning failures etc. -
setStatus
Setter for status. The status of the instance. This includes information like whether the instance is being provisioned, stopped, decommissioning failures etc. -
getStatusReason
Getter for statusReason. The reason for the current status of this instance. -
setStatusReason
Setter for statusReason. The reason for the current status of this instance. -
getSshPort
Getter for sshPort. The SSH port for the instance. -
setSshPort
Setter for sshPort. The SSH port for the instance. -
getClouderaManagerServer
Getter for clouderaManagerServer. Whether the instance has Cloudera Manager deployed or not. -
setClouderaManagerServer
Setter for clouderaManagerServer. Whether the instance has Cloudera Manager deployed or not. -
getInstanceGroup
Getter for instanceGroup. The name of the instance group this instance belongs to. -
setInstanceGroup
Setter for instanceGroup. The name of the instance group this instance belongs to. -
getAttachedVolumes
Getter for attachedVolumes. List of volumes attached to this instance. -
setAttachedVolumes
Setter for attachedVolumes. List of volumes attached to this instance. -
getAvailabilityZone
Getter for availabilityZone. The availability zone of the instance. -
setAvailabilityZone
Setter for availabilityZone. The availability zone of the instance. -
getInstanceVmType
Getter for instanceVmType. The VM type of the instance. Supported values depend on the cloud platform. -
setInstanceVmType
Setter for instanceVmType. The VM type of the instance. Supported values depend on the cloud platform. -
getRackId
Getter for rackId. The rack ID of the instance in Cloudera Manager. -
setRackId
Setter for rackId. The rack ID of the instance in Cloudera Manager. -
getSubnetId
Getter for subnetId. The subnet ID of the instance. -
setSubnetId
Setter for subnetId. The subnet ID of the instance. -
equals
-
hashCode
public int hashCode() -
toString
-