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 SummaryNested Classes
- 
Method SummaryModifier 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.ToCopyableBuildercopy
- 
Method Details- 
activityId
- 
autoScalingGroupNameThe name of the Auto Scaling group. - Returns:
- The name of the Auto Scaling group.
 
- 
descriptionA friendly, more verbose description of the activity. - Returns:
- A friendly, more verbose description of the activity.
 
- 
cause
- 
startTimeThe start time of the activity. - Returns:
- The start time of the activity.
 
- 
endTime
- 
statusCodeThe 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:
 
- 
statusCodeAsStringThe 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:
 
- 
statusMessageA friendly, more verbose description of the activity status. - Returns:
- A friendly, more verbose description of the activity status.
 
- 
progressA 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.
 
- 
detailsThe details about the activity. - Returns:
- The details about the activity.
 
- 
autoScalingGroupStateThe state of the Auto Scaling group, which is either InServiceorDeleted.- Returns:
- The state of the Auto Scaling group, which is either InServiceorDeleted.
 
- 
autoScalingGroupARNThe Amazon Resource Name (ARN) of the Auto Scaling group. - Returns:
- The Amazon Resource Name (ARN) of the Auto Scaling group.
 
- 
toBuilderDescription copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
- toBuilderin interface- ToCopyableBuilder<Activity.Builder,- Activity> 
- Returns:
- a builder for type T
 
- 
builder
- 
serializableBuilderClass
- 
hashCode
- 
equals
- 
equalsBySdkFieldsDescription 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 interface- SdkPojo
- 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
- 
sdkFieldNameToField- Specified by:
- sdkFieldNameToFieldin interface- SdkPojo
- Returns:
- The mapping between the field name and its corresponding field.
 
 
-