Package com.cloudera.cdp.datahub.model
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 Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Getter for activityStatus.Getter for endTime.Getter for operationId.Getter for scalingActivityReason.Getter for startTime.int
hashCode()
void
setActivityStatus
(String activityStatus) Setter for activityStatus.void
setEndTime
(ZonedDateTime endTime) Setter for endTime.void
setOperationId
(String operationId) Setter for operationId.void
setScalingActivityReason
(String scalingActivityReason) Setter for scalingActivityReason.void
setStartTime
(ZonedDateTime startTime) Setter for startTime.toString()
-
Constructor Details
-
ScalingActivitySummary
public ScalingActivitySummary()
-
-
Method Details
-
getOperationId
Getter for operationId. The operation ID of the scaling activity. -
setOperationId
Setter for operationId. The operation ID of the scaling activity. -
getStartTime
Getter for startTime. The start time of the scaling activity. -
setStartTime
Setter for startTime. The start time of the scaling activity. -
getEndTime
Getter for endTime. The end time of the scaling activity. -
setEndTime
Setter for endTime. The end time of the scaling activity. -
getScalingActivityReason
Getter for scalingActivityReason. The reason of the scaling activity. -
setScalingActivityReason
Setter for scalingActivityReason. The reason of the scaling activity. -
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
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
-
hashCode
public int hashCode() -
toString
-