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="2024-09-27T08:40:24.392-07:00")
public class Instance
extends Object
Object which holds some details of an instance for the given cluster.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Getter 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.int
hashCode()
void
setAttachedVolumes
(List<AttachedVolumeDetail> attachedVolumes) Setter for attachedVolumes.void
setAvailabilityZone
(String availabilityZone) Setter for availabilityZone.void
setClouderaManagerServer
(Boolean clouderaManagerServer) Setter for clouderaManagerServer.void
Setter for fqdn.void
Setter for id.void
setInstanceGroup
(String instanceGroup) Setter for instanceGroup.void
setInstanceType
(String instanceType) Setter for instanceType.void
setInstanceVmType
(String instanceVmType) Setter for instanceVmType.void
setPrivateIp
(String privateIp) Setter for privateIp.void
setPublicIp
(String publicIp) Setter for publicIp.void
Setter for rackId.void
setSshPort
(Integer sshPort) Setter for sshPort.void
Setter for state.void
Setter for status.void
setStatusReason
(String statusReason) Setter for statusReason.void
setSubnetId
(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
-