Package com.cloudera.cdp.datalake.model
Class Instance
- java.lang.Object
-
- com.cloudera.cdp.datalake.model.Instance
-
@Generated(value="com.cloudera.cdp.client.codegen.CdpSDKJavaCodegen", date="2024-03-13T13:08:46.862-07:00") public class Instance extends Object
Object which holds some details of an instance for the given cluster.
-
-
Constructor Summary
Constructors Constructor Description Instance()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
List<AttachedVolumeDetail>
getAttachedVolumes()
Getter for attachedVolumes.String
getAvailabilityZone()
Getter for availabilityZone.Boolean
getClouderaManagerServer()
Getter for clouderaManagerServer.String
getDiscoveryFQDN()
Getter for discoveryFQDN.String
getId()
Getter for id.String
getInstanceGroup()
Getter for instanceGroup.String
getInstanceStatus()
Getter for instanceStatus.String
getInstanceTypeVal()
Getter for instanceTypeVal.String
getInstanceVmType()
Getter for instanceVmType.String
getPrivateIp()
Getter for privateIp.String
getPublicIp()
Getter for publicIp.String
getRackId()
Getter for rackId.Integer
getSshPort()
Getter for sshPort.String
getState()
Getter for state.String
getStatusReason()
Getter for statusReason.String
getSubnetId()
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
setDiscoveryFQDN(String discoveryFQDN)
Setter for discoveryFQDN.void
setId(String id)
Setter for id.void
setInstanceGroup(String instanceGroup)
Setter for instanceGroup.void
setInstanceStatus(String instanceStatus)
Setter for instanceStatus.void
setInstanceTypeVal(String instanceTypeVal)
Setter for instanceTypeVal.void
setInstanceVmType(String instanceVmType)
Setter for instanceVmType.void
setPrivateIp(String privateIp)
Setter for privateIp.void
setPublicIp(String publicIp)
Setter for publicIp.void
setRackId(String rackId)
Setter for rackId.void
setSshPort(Integer sshPort)
Setter for sshPort.void
setState(String state)
Setter for state.void
setStatusReason(String statusReason)
Setter for statusReason.void
setSubnetId(String subnetId)
Setter for subnetId.String
toString()
-
-
-
Method Detail
-
getId
public String getId()
Getter for id. The ID of the given instance.
-
setId
public void setId(String id)
Setter for id. The ID of the given instance.
-
getState
public String getState()
Getter for state. The actual state of the instance.
-
setState
public void setState(String state)
Setter for state. The actual state of the instance.
-
getDiscoveryFQDN
public String getDiscoveryFQDN()
Getter for discoveryFQDN. The FQDN of the instance.
-
setDiscoveryFQDN
public void setDiscoveryFQDN(String discoveryFQDN)
Setter for discoveryFQDN. The FQDN of the instance.
-
getInstanceStatus
public String getInstanceStatus()
Getter for instanceStatus. The status of the instance.
-
setInstanceStatus
public void setInstanceStatus(String instanceStatus)
Setter for instanceStatus. The status of the instance.
-
getStatusReason
public String getStatusReason()
Getter for statusReason. The reason for the current status of this instance.
-
setStatusReason
public void setStatusReason(String statusReason)
Setter for statusReason. The reason for the current status of this instance.
-
getPrivateIp
public String getPrivateIp()
Getter for privateIp. The private IP of the given instance.
-
setPrivateIp
public void setPrivateIp(String privateIp)
Setter for privateIp. The private IP of the given instance.
-
getPublicIp
public String getPublicIp()
Getter for publicIp. The public IP of the given instance.
-
setPublicIp
public void setPublicIp(String publicIp)
Setter for publicIp. The public IP of the given instance.
-
getSshPort
public Integer getSshPort()
Getter for sshPort. The SSH port for the instance.
-
setSshPort
public void setSshPort(Integer sshPort)
Setter for sshPort. The SSH port for the instance.
-
getClouderaManagerServer
public Boolean getClouderaManagerServer()
Getter for clouderaManagerServer. Whether the instance has Cloudera Manager deployed or not.
-
setClouderaManagerServer
public void setClouderaManagerServer(Boolean clouderaManagerServer)
Setter for clouderaManagerServer. Whether the instance has Cloudera Manager deployed or not.
-
getInstanceGroup
public String getInstanceGroup()
Getter for instanceGroup. The name of the instance group this instance belongs to.
-
setInstanceGroup
public void setInstanceGroup(String instanceGroup)
Setter for instanceGroup. The name of the instance group this instance belongs to.
-
getInstanceTypeVal
public String getInstanceTypeVal()
Getter for instanceTypeVal. The instance type.
-
setInstanceTypeVal
public void setInstanceTypeVal(String instanceTypeVal)
Setter for instanceTypeVal. The instance type.
-
getAttachedVolumes
public List<AttachedVolumeDetail> getAttachedVolumes()
Getter for attachedVolumes. List of volumes attached to this instance.
-
setAttachedVolumes
public void setAttachedVolumes(List<AttachedVolumeDetail> attachedVolumes)
Setter for attachedVolumes. List of volumes attached to this instance.
-
getAvailabilityZone
public String getAvailabilityZone()
Getter for availabilityZone. The availability zone of the instance.
-
setAvailabilityZone
public void setAvailabilityZone(String availabilityZone)
Setter for availabilityZone. The availability zone of the instance.
-
getInstanceVmType
public String getInstanceVmType()
Getter for instanceVmType. The VM type of the instance. Supported values depend on the cloud platform.
-
setInstanceVmType
public void setInstanceVmType(String instanceVmType)
Setter for instanceVmType. The VM type of the instance. Supported values depend on the cloud platform.
-
getRackId
public String getRackId()
Getter for rackId. The rack ID of the instance in Cloudera Manager.
-
setRackId
public void setRackId(String rackId)
Setter for rackId. The rack ID of the instance in Cloudera Manager.
-
getSubnetId
public String getSubnetId()
Getter for subnetId. The subnet ID of the instance.
-
setSubnetId
public void setSubnetId(String subnetId)
Setter for subnetId. The subnet ID of the instance.
-
-