Class RepairClusterRequest


  • @Generated(value="com.cloudera.cdp.client.codegen.CdpSDKJavaCodegen",
               date="2022-08-18T19:29:49.831-07:00")
    public class RepairClusterRequest
    extends Object
    Request object for repair cluster request.
    • Constructor Detail

      • RepairClusterRequest

        public RepairClusterRequest()
    • Method Detail

      • 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.
      • 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.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object