Class StopInstancesRequest

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

@Generated(value="com.cloudera.cdp.client.codegen.CdpSDKJavaCodegen", date="2024-09-27T08:40:24.392-07:00") public class StopInstancesRequest extends Object
Request object to stop instances of a host group on a Data Hub.
  • Constructor Details

    • StopInstancesRequest

      public StopInstancesRequest()
  • Method Details

    • getCluster

      public String getCluster()
      Getter for cluster. The name or CRN of the cluster whose instances are to be stopped.
    • setCluster

      public void setCluster(String cluster)
      Setter for cluster. The name or CRN of the cluster whose instances are to be stopped.
    • getInstanceIds

      public List<String> getInstanceIds()
      Getter for instanceIds. The list of instance IDs.
    • setInstanceIds

      public void setInstanceIds(List<String> instanceIds)
      Setter for instanceIds. The list of instance IDs.
    • getForced

      public Boolean getForced()
      Getter for forced. Whether the stop instances operation should be forced or not. Defaults to false.
    • setForced

      public void setForced(Boolean forced)
      Setter for forced. Whether the stop instances operation should be forced or not. Defaults to false.
    • 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