Class InstanceGroup

java.lang.Object
com.cloudera.cdp.datahub.model.InstanceGroup

@Generated(value="com.cloudera.cdp.client.codegen.CdpSDKJavaCodegen", date="2024-09-27T08:40:24.392-07:00") public class InstanceGroup extends Object
The type of the instance group which also contains the actual instance(s)
  • Constructor Details

    • InstanceGroup

      public InstanceGroup()
  • Method Details

    • getName

      public String getName()
      Getter for name. The name of the instance group where the given instance is located.
    • setName

      public void setName(String name)
      Setter for name. The name of the instance group where the given instance is located.
    • getInstances

      public List<Instance> getInstances()
      Getter for instances. List of instances in this instance group.
    • setInstances

      public void setInstances(List<Instance> instances)
      Setter for instances. List of instances in this instance group.
    • getSubnetIds

      public List<String> getSubnetIds()
      Getter for subnetIds. The list of subnet IDs in case of multi-availability zone setup
    • setSubnetIds

      public void setSubnetIds(List<String> subnetIds)
      Setter for subnetIds. The list of subnet IDs in case of multi-availability zone setup
    • getAvailabilityZones

      public List<String> getAvailabilityZones()
      Getter for availabilityZones. List of availability zones that this instance group is associated with.
    • setAvailabilityZones

      public void setAvailabilityZones(List<String> availabilityZones)
      Setter for availabilityZones. List of availability zones that this instance group is associated with.
    • getRecipes

      public List<String> getRecipes()
      Getter for recipes. The recipe names for the Data Hub cluster.
    • setRecipes

      public void setRecipes(List<String> recipes)
      Setter for recipes. The recipe names for the Data Hub cluster.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object