Class Instance


  • @Generated(value="com.cloudera.cdp.client.codegen.CdpSDKJavaCodegen",
               date="2022-08-18T19:29:49.831-07:00")
    public class Instance
    extends Object
    Object which holds some details of an instance for the given cluster.
    • Constructor Detail

      • Instance

        public Instance()
    • 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.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object