Class Instance


  • @Generated(value="com.cloudera.cdp.client.codegen.CdpSDKJavaCodegen",
               date="2022-08-03T22:29:41.922-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 actual state of the instance.
      • setState

        public void setState​(String state)
        Setter for state. The actual state of the 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.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object