Class ListScalingActivitiesRequest

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

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

    • ListScalingActivitiesRequest

      public ListScalingActivitiesRequest()
  • Method Details

    • getCluster

      public String getCluster()
      Getter for cluster. The name or CRN of the cluster.
    • setCluster

      public void setCluster(String cluster)
      Setter for cluster. The name or CRN of the cluster.
    • getDuration

      public Long getDuration()
      Getter for duration. Duration in minutes for which we want all the scaling activities for the cluster. Either duration or start and end time needs to be provided.
    • setDuration

      public void setDuration(Long duration)
      Setter for duration. Duration in minutes for which we want all the scaling activities for the cluster. Either duration or start and end time needs to be provided.
    • getStartTime

      public Long getStartTime()
      Getter for startTime. Start time value in epoch millisecond from which we want to get all the scaling activities. Need to specify end time with it.
    • setStartTime

      public void setStartTime(Long startTime)
      Setter for startTime. Start time value in epoch millisecond from which we want to get all the scaling activities. Need to specify end time with it.
    • getEndTime

      public Long getEndTime()
      Getter for endTime. End time value in epoch millisecond until which we want to get all the scaling activities. Need to specify start time with it.
    • setEndTime

      public void setEndTime(Long endTime)
      Setter for endTime. End time value in epoch millisecond until which we want to get all the scaling activities. Need to specify start time with it.
    • getOnlyFailedScalingActivities

      public Boolean getOnlyFailedScalingActivities()
      Getter for onlyFailedScalingActivities. Flag that decides whether to return only failed scaling activities or return all scaling activities in a given duration or a specific time interval.
    • setOnlyFailedScalingActivities

      public void setOnlyFailedScalingActivities(Boolean onlyFailedScalingActivities)
      Setter for onlyFailedScalingActivities. Flag that decides whether to return only failed scaling activities or return all scaling activities in a given duration or a specific time interval.
    • getPageSize

      public Integer getPageSize()
      Getter for pageSize. The size of the page for getting scaling activities.
    • setPageSize

      public void setPageSize(Integer pageSize)
      Setter for pageSize. The size of the page for getting scaling activities.
    • getStartingToken

      public String getStartingToken()
      Getter for startingToken. A token to specify where to start paginating. This is the nextToken from a previously truncated response.
    • setStartingToken

      public void setStartingToken(String startingToken)
      Setter for startingToken. A token to specify where to start paginating. This is the nextToken from a previously truncated response.
    • 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