Class Activity
- All Implemented Interfaces:
Serializable, Cloneable
Describes scaling activity, which is a long-running process that represents a change to your Auto Scaling group, such as changing its size or replacing an instance.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()booleanThe ID of the activity.The name of the Auto Scaling group.getCause()The reason the activity began.A friendly, more verbose description of the activity.The details about the activity.The end time of the activity.A value between 0 and 100 that indicates the progress of the activity.The start time of the activity.The current status of the activity.A friendly, more verbose description of the activity status.inthashCode()voidsetActivityId(String activityId) The ID of the activity.voidsetAutoScalingGroupName(String autoScalingGroupName) The name of the Auto Scaling group.voidThe reason the activity began.voidsetDescription(String description) A friendly, more verbose description of the activity.voidsetDetails(String details) The details about the activity.voidsetEndTime(Date endTime) The end time of the activity.voidsetProgress(Integer progress) A value between 0 and 100 that indicates the progress of the activity.voidsetStartTime(Date startTime) The start time of the activity.voidsetStatusCode(ScalingActivityStatusCode statusCode) The current status of the activity.voidsetStatusCode(String statusCode) The current status of the activity.voidsetStatusMessage(String statusMessage) A friendly, more verbose description of the activity status.toString()Returns a string representation of this object; useful for testing and debugging.withActivityId(String activityId) The ID of the activity.withAutoScalingGroupName(String autoScalingGroupName) The name of the Auto Scaling group.The reason the activity began.withDescription(String description) A friendly, more verbose description of the activity.withDetails(String details) The details about the activity.withEndTime(Date endTime) The end time of the activity.withProgress(Integer progress) A value between 0 and 100 that indicates the progress of the activity.withStartTime(Date startTime) The start time of the activity.withStatusCode(ScalingActivityStatusCode statusCode) The current status of the activity.withStatusCode(String statusCode) The current status of the activity.withStatusMessage(String statusMessage) A friendly, more verbose description of the activity status.
-
Constructor Details
-
Activity
public Activity()
-
-
Method Details
-
setActivityId
The ID of the activity.
- Parameters:
activityId- The ID of the activity.
-
getActivityId
-
withActivityId
-
setAutoScalingGroupName
The name of the Auto Scaling group.
- Parameters:
autoScalingGroupName- The name of the Auto Scaling group.
-
getAutoScalingGroupName
The name of the Auto Scaling group.
- Returns:
- The name of the Auto Scaling group.
-
withAutoScalingGroupName
-
setDescription
A friendly, more verbose description of the activity.
- Parameters:
description- A friendly, more verbose description of the activity.
-
getDescription
A friendly, more verbose description of the activity.
- Returns:
- A friendly, more verbose description of the activity.
-
withDescription
-
setCause
The reason the activity began.
- Parameters:
cause- The reason the activity began.
-
getCause
-
withCause
-
setStartTime
The start time of the activity.
- Parameters:
startTime- The start time of the activity.
-
getStartTime
-
withStartTime
-
setEndTime
The end time of the activity.
- Parameters:
endTime- The end time of the activity.
-
getEndTime
-
withEndTime
-
setStatusCode
The current status of the activity.
- Parameters:
statusCode- The current status of the activity.- See Also:
-
getStatusCode
The current status of the activity.
- Returns:
- The current status of the activity.
- See Also:
-
withStatusCode
-
setStatusCode
The current status of the activity.
- Parameters:
statusCode- The current status of the activity.- See Also:
-
withStatusCode
The current status of the activity.
- Parameters:
statusCode- The current status of the activity.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
setStatusMessage
A friendly, more verbose description of the activity status.
- Parameters:
statusMessage- A friendly, more verbose description of the activity status.
-
getStatusMessage
A friendly, more verbose description of the activity status.
- Returns:
- A friendly, more verbose description of the activity status.
-
withStatusMessage
-
setProgress
A value between 0 and 100 that indicates the progress of the activity.
- Parameters:
progress- A value between 0 and 100 that indicates the progress of the activity.
-
getProgress
A value between 0 and 100 that indicates the progress of the activity.
- Returns:
- A value between 0 and 100 that indicates the progress of the activity.
-
withProgress
A value between 0 and 100 that indicates the progress of the activity.
- Parameters:
progress- A value between 0 and 100 that indicates the progress of the activity.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setDetails
The details about the activity.
- Parameters:
details- The details about the activity.
-
getDetails
-
withDetails
-
toString
-
equals
-
hashCode
-
clone
-