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="2023-01-18T15:00:48.185-08: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)
String
getFqdn()
Getter for fqdn.String
getId()
Getter for id.String
getPrivateIp()
Getter for privateIp.String
getPublicIp()
Getter for publicIp.String
getState()
Getter for state.String
getStatus()
Getter for status.int
hashCode()
void
setFqdn(String fqdn)
Setter for fqdn.void
setId(String id)
Setter for id.void
setPrivateIp(String privateIp)
Setter for privateIp.void
setPublicIp(String publicIp)
Setter for publicIp.void
setState(String state)
Setter for state.void
setStatus(String status)
Setter for status.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 health state of the instance. UNHEALTHY represents instances with unhealthy services, lost instances, or failed operations.
-
setState
public void setState(String state)
Setter for state. The health state of the instance. UNHEALTHY represents instances with unhealthy services, lost instances, or failed operations.
-
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.
-
getFqdn
public String getFqdn()
Getter for fqdn. The FQDN for the instance
-
setFqdn
public void setFqdn(String fqdn)
Setter for fqdn. The FQDN for the instance
-
getStatus
public String getStatus()
Getter for status. The status of the instance. This includes information like whether the instance is being provisioned, stopped, decommissioning failures etc.
-
setStatus
public void setStatus(String status)
Setter for status. The status of the instance. This includes information like whether the instance is being provisioned, stopped, decommissioning failures etc.
-
-