Class Activity
- All Implemented Interfaces:
Serializable,SdkPojo,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.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionfinal StringThe ID of the activity.final StringThe Amazon Resource Name (ARN) of the Auto Scaling group.final StringThe name of the Auto Scaling group.final StringThe state of the Auto Scaling group, which is eitherInServiceorDeleted.static Activity.Builderbuilder()final Stringcause()The reason the activity began.final StringA friendly, more verbose description of the activity.final Stringdetails()The details about the activity.final InstantendTime()The end time of the activity.final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final inthashCode()final Integerprogress()A value between 0 and 100 that indicates the progress of the activity.static Class<? extends Activity.Builder> final InstantThe start time of the activity.The current status of the activity.final StringThe current status of the activity.final StringA friendly, more verbose description of the activity status.Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
activityId
-
autoScalingGroupName
The name of the Auto Scaling group.
- Returns:
- The name of the Auto Scaling group.
-
description
A friendly, more verbose description of the activity.
- Returns:
- A friendly, more verbose description of the activity.
-
cause
-
startTime
The start time of the activity.
- Returns:
- The start time of the activity.
-
endTime
-
statusCode
The current status of the activity.
If the service returns an enum value that is not available in the current SDK version,
statusCodewill returnScalingActivityStatusCode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusCodeAsString().- Returns:
- The current status of the activity.
- See Also:
-
statusCodeAsString
The current status of the activity.
If the service returns an enum value that is not available in the current SDK version,
statusCodewill returnScalingActivityStatusCode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusCodeAsString().- Returns:
- The current status of the activity.
- See Also:
-
statusMessage
A friendly, more verbose description of the activity status.
- Returns:
- A friendly, more verbose description of the activity status.
-
progress
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.
-
details
The details about the activity.
- Returns:
- The details about the activity.
-
autoScalingGroupState
The state of the Auto Scaling group, which is either
InServiceorDeleted.- Returns:
- The state of the Auto Scaling group, which is either
InServiceorDeleted.
-
autoScalingGroupARN
The Amazon Resource Name (ARN) of the Auto Scaling group.
- Returns:
- The Amazon Resource Name (ARN) of the Auto Scaling group.
-
toBuilder
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<Activity.Builder,Activity> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin interfaceSdkPojo- Parameters:
obj- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-