Class ListScalingActivitiesRequest


  • @Generated(value="com.cloudera.cdp.client.codegen.CdpSDKJavaCodegen",
               date="2024-01-19T13:24:32.212-08:00")
    public class ListScalingActivitiesRequest
    extends Object
    Request object for List scaling Activities request.
    • Constructor Detail

      • ListScalingActivitiesRequest

        public ListScalingActivitiesRequest()
    • Method Detail

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

        public int hashCode()
        Overrides:
        hashCode in class Object