public static interface Activity.Builder extends CopyableBuilder<Activity.Builder,Activity>
Modifier and Type | Method and Description |
---|---|
Activity.Builder |
activityId(String activityId)
The ID of the activity.
|
Activity.Builder |
autoScalingGroupName(String autoScalingGroupName)
The name of the Auto Scaling group.
|
Activity.Builder |
cause(String cause)
The reason the activity began.
|
Activity.Builder |
description(String description)
A friendly, more verbose description of the activity.
|
Activity.Builder |
details(String details)
The details about the activity.
|
Activity.Builder |
endTime(Instant endTime)
The end time of the activity.
|
Activity.Builder |
progress(Integer progress)
A value between 0 and 100 that indicates the progress of the activity.
|
Activity.Builder |
startTime(Instant startTime)
The start time of the activity.
|
Activity.Builder |
statusCode(ScalingActivityStatusCode statusCode)
The current status of the activity.
|
Activity.Builder |
statusCode(String statusCode)
The current status of the activity.
|
Activity.Builder |
statusMessage(String statusMessage)
A friendly, more verbose description of the activity status.
|
copy
apply, build
Activity.Builder activityId(String activityId)
The ID of the activity.
activityId
- The ID of the activity.Activity.Builder autoScalingGroupName(String autoScalingGroupName)
The name of the Auto Scaling group.
autoScalingGroupName
- The name of the Auto Scaling group.Activity.Builder description(String description)
A friendly, more verbose description of the activity.
description
- A friendly, more verbose description of the activity.Activity.Builder cause(String cause)
The reason the activity began.
cause
- The reason the activity began.Activity.Builder startTime(Instant startTime)
The start time of the activity.
startTime
- The start time of the activity.Activity.Builder endTime(Instant endTime)
The end time of the activity.
endTime
- The end time of the activity.Activity.Builder statusCode(String statusCode)
The current status of the activity.
statusCode
- The current status of the activity.ScalingActivityStatusCode
,
ScalingActivityStatusCode
Activity.Builder statusCode(ScalingActivityStatusCode statusCode)
The current status of the activity.
statusCode
- The current status of the activity.ScalingActivityStatusCode
,
ScalingActivityStatusCode
Activity.Builder statusMessage(String statusMessage)
A friendly, more verbose description of the activity status.
statusMessage
- A friendly, more verbose description of the activity status.Activity.Builder progress(Integer progress)
A value between 0 and 100 that indicates the progress of the activity.
progress
- A value between 0 and 100 that indicates the progress of the activity.Activity.Builder details(String details)
The details about the activity.
details
- The details about the activity.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.