@Generated(value="software.amazon.awssdk:codegen") public class Activity extends Object implements 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 |
autoScalingGroupName()
The name of the Auto Scaling group.
|
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) |
<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.
|
static Class<? extends Activity.Builder> |
serializableBuilderClass() |
Instant |
startTime()
The start time of the activity.
|
ScalingActivityStatusCode |
statusCode()
The current status of the activity.
|
String |
statusCodeString()
The current status of the activity.
|
String |
statusMessage()
A friendly, more verbose description of the activity status.
|
Activity.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public String activityId()
The ID of the activity.
public String autoScalingGroupName()
The name of the Auto Scaling group.
public String description()
A friendly, more verbose description of the activity.
public String cause()
The reason the activity began.
public Instant startTime()
The start time of the activity.
public Instant endTime()
The end time of the activity.
public 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 statusCodeString()
.
ScalingActivityStatusCode
public String statusCodeString()
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 statusCodeString()
.
ScalingActivityStatusCode
public String statusMessage()
A friendly, more verbose description of the activity status.
public Integer progress()
A value between 0 and 100 that indicates the progress of the activity.
public String details()
The details about the activity.
public Activity.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<Activity.Builder,Activity>
public static Activity.Builder builder()
public static Class<? extends Activity.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.