Class ScalingActivitySummary

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

@Generated(value="com.cloudera.cdp.client.codegen.CdpSDKJavaCodegen", date="2024-09-27T08:40:24.392-07:00") public class ScalingActivitySummary extends Object
Information about a Scaling activity.
  • Constructor Details

    • ScalingActivitySummary

      public ScalingActivitySummary()
  • Method Details

    • getOperationId

      public String getOperationId()
      Getter for operationId. The operation ID of the scaling activity.
    • setOperationId

      public void setOperationId(String operationId)
      Setter for operationId. The operation ID of the scaling activity.
    • getStartTime

      public ZonedDateTime getStartTime()
      Getter for startTime. The start time of the scaling activity.
    • setStartTime

      public void setStartTime(ZonedDateTime startTime)
      Setter for startTime. The start time of the scaling activity.
    • getEndTime

      public ZonedDateTime getEndTime()
      Getter for endTime. The end time of the scaling activity.
    • setEndTime

      public void setEndTime(ZonedDateTime endTime)
      Setter for endTime. The end time of the scaling activity.
    • getScalingActivityReason

      public String getScalingActivityReason()
      Getter for scalingActivityReason. The reason of the scaling activity.
    • setScalingActivityReason

      public void setScalingActivityReason(String scalingActivityReason)
      Setter for scalingActivityReason. The reason of the scaling activity.
    • getActivityStatus

      public String getActivityStatus()
      Getter for activityStatus. The status of the scaling activity. Supported values- ACTIVITY_PENDING - If scaling activity is in pending state, METRICS_COLLECTION_SUCCESS/FAILED - for success/failure of metrics collection, UPSCALE_TRIGGER_SUCCESS/FAILED - for success/failure at the time of upscaling, DOWNSCALE_TRIGGER_SUCCESS/FAILED for success/failure at the time of downscaling, SCHEDULE_BASED_UPSCALE/DOWNSCALE - if schedule based scaling is used, SCALING_FLOW_IN_PROGRESS/SUCCESS/FAILED - State at which the scaling has reached, POLICY_ADJUSTMENT - if policy adjustment is taking place, UNKNOWN - if the state is not known.
    • setActivityStatus

      public void setActivityStatus(String activityStatus)
      Setter for activityStatus. The status of the scaling activity. Supported values- ACTIVITY_PENDING - If scaling activity is in pending state, METRICS_COLLECTION_SUCCESS/FAILED - for success/failure of metrics collection, UPSCALE_TRIGGER_SUCCESS/FAILED - for success/failure at the time of upscaling, DOWNSCALE_TRIGGER_SUCCESS/FAILED for success/failure at the time of downscaling, SCHEDULE_BASED_UPSCALE/DOWNSCALE - if schedule based scaling is used, SCALING_FLOW_IN_PROGRESS/SUCCESS/FAILED - State at which the scaling has reached, POLICY_ADJUSTMENT - if policy adjustment is taking place, UNKNOWN - if the state is not known.
    • 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