Class RepairClusterRequest

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

@Generated(value="com.cloudera.cdp.client.codegen.CdpSDKJavaCodegen", date="2024-09-27T08:40:24.392-07:00") public class RepairClusterRequest extends Object
Request object for repair cluster request.
  • Constructor Details

    • RepairClusterRequest

      public RepairClusterRequest()
  • Method Details

    • getClusterName

      public String getClusterName()
      Getter for clusterName. The name or CRN of the cluster to be repaired.
    • setClusterName

      public void setClusterName(String clusterName)
      Setter for clusterName. The name or CRN of the cluster to be repaired.
    • getInstanceGroupNames

      public List<String> getInstanceGroupNames()
      Getter for instanceGroupNames. List of instance groups where the failed instances will be repaired.
    • setInstanceGroupNames

      public void setInstanceGroupNames(List<String> instanceGroupNames)
      Setter for instanceGroupNames. List of instance groups where the failed instances will be repaired.
    • getInstances

      public RepairInstancesRequest getInstances()
      Getter for instances. List of instances.
    • setInstances

      public void setInstances(RepairInstancesRequest instances)
      Setter for instances. List of instances.
    • getRemoveOnly

      public Boolean getRemoveOnly()
      Getter for removeOnly. If true, the failed instances will only be removed, otherwise the failed instances will be removed and new instances will be started.
    • setRemoveOnly

      public void setRemoveOnly(Boolean removeOnly)
      Setter for removeOnly. If true, the failed instances will only be removed, otherwise the failed instances will be removed and new instances will be started.
    • 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