Interface Activity.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Activity.Builder,
,Activity> SdkBuilder<Activity.Builder,
,Activity> SdkPojo
- Enclosing class:
Activity
public static interface Activity.Builder
extends SdkPojo, CopyableBuilder<Activity.Builder,Activity>
-
Method Summary
Modifier and TypeMethodDescriptionactivityId
(String activityId) The ID of the activity.autoScalingGroupARN
(String autoScalingGroupARN) The Amazon Resource Name (ARN) of the Auto Scaling group.autoScalingGroupName
(String autoScalingGroupName) The name of the Auto Scaling group.autoScalingGroupState
(String autoScalingGroupState) The state of the Auto Scaling group, which is eitherInService
orDeleted
.The reason the activity began.description
(String description) 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.statusCode
(String statusCode) The current status of the activity.statusCode
(ScalingActivityStatusCode statusCode) The current status of the activity.statusMessage
(String statusMessage) A friendly, more verbose description of the activity status.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
activityId
The ID of the activity.
- Parameters:
activityId
- The ID of the activity.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
autoScalingGroupName
The name of the Auto Scaling group.
- Parameters:
autoScalingGroupName
- The name of the Auto Scaling group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
A friendly, more verbose description of the activity.
- Parameters:
description
- A friendly, more verbose description of the activity.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cause
The reason the activity began.
- Parameters:
cause
- The reason the activity began.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
startTime
The start time of the activity.
- Parameters:
startTime
- The start time of the activity.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endTime
The end time of the activity.
- Parameters:
endTime
- The end time of the activity.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
statusCode
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:
-
statusCode
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:
-
statusMessage
A friendly, more verbose description of the activity status.
- Parameters:
statusMessage
- A friendly, more verbose description of the activity status.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
progress
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.
-
details
The details about the activity.
- Parameters:
details
- The details about the activity.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
autoScalingGroupState
The state of the Auto Scaling group, which is either
InService
orDeleted
.- Parameters:
autoScalingGroupState
- The state of the Auto Scaling group, which is eitherInService
orDeleted
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
autoScalingGroupARN
The Amazon Resource Name (ARN) of the Auto Scaling group.
- Parameters:
autoScalingGroupARN
- The Amazon Resource Name (ARN) of the Auto Scaling group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-