Class Instance


  • @Generated(value="com.cloudera.cdp.client.codegen.CdpSDKJavaCodegen",
               date="2022-09-28T16:30:05.285-07:00")
    public class Instance
    extends Object
    Represents each instance in an instance group.
    • Constructor Detail

      • Instance

        public Instance()
    • Method Detail

      • getInstanceId

        public String getInstanceId()
        Getter for instanceId. Unique instance Id generated by the cloud provider.
      • setInstanceId

        public void setInstanceId​(String instanceId)
        Setter for instanceId. Unique instance Id generated by the cloud provider.
      • getAvailabilityZone

        public String getAvailabilityZone()
        Getter for availabilityZone. Availability zone the instance belongs to.
      • setAvailabilityZone

        public void setAvailabilityZone​(String availabilityZone)
        Setter for availabilityZone. Availability zone the instance belongs to.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object