@Generated(value="software.amazon.awssdk:codegen") public final class Activity extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Activity.Builder,Activity>
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.
| Modifier and Type | Class and Description |
|---|---|
static interface |
Activity.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
activityId()
The ID of the activity.
|
String |
autoScalingGroupARN()
The Amazon Resource Name (ARN) of the Auto Scaling group.
|
String |
autoScalingGroupName()
The name of the Auto Scaling group.
|
String |
autoScalingGroupState()
The state of the Auto Scaling group, which is either
InService or Deleted. |
static Activity.Builder |
builder() |
String |
cause()
The reason the activity began.
|
String |
description()
A friendly, more verbose description of the activity.
|
String |
details()
The details about the activity.
|
Instant |
endTime()
The end time of the activity.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Integer |
progress()
A value between 0 and 100 that indicates the progress of the activity.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends Activity.Builder> |
serializableBuilderClass() |
Instant |
startTime()
The start time of the activity.
|
ScalingActivityStatusCode |
statusCode()
The current status of the activity.
|
String |
statusCodeAsString()
The current status of the activity.
|
String |
statusMessage()
A friendly, more verbose description of the activity status.
|
Activity.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String activityId()
The ID of the activity.
public final String autoScalingGroupName()
The name of the Auto Scaling group.
public final String description()
A friendly, more verbose description of the activity.
public final String cause()
The reason the activity began.
public final Instant startTime()
The start time of the activity.
public final Instant endTime()
The end time of the activity.
public final ScalingActivityStatusCode statusCode()
The current status of the activity.
If the service returns an enum value that is not available in the current SDK version, statusCode will
return ScalingActivityStatusCode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is
available from statusCodeAsString().
ScalingActivityStatusCodepublic final String statusCodeAsString()
The current status of the activity.
If the service returns an enum value that is not available in the current SDK version, statusCode will
return ScalingActivityStatusCode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is
available from statusCodeAsString().
ScalingActivityStatusCodepublic final String statusMessage()
A friendly, more verbose description of the activity status.
public final Integer progress()
A value between 0 and 100 that indicates the progress of the activity.
public final String details()
The details about the activity.
public final String autoScalingGroupState()
The state of the Auto Scaling group, which is either InService or Deleted.
InService or Deleted.public final String autoScalingGroupARN()
The Amazon Resource Name (ARN) of the Auto Scaling group.
public Activity.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<Activity.Builder,Activity>public static Activity.Builder builder()
public static Class<? extends Activity.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.