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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Activity.Builder
activityId(String activityId)
The ID of the activity.Activity.Builder
autoScalingGroupARN(String autoScalingGroupARN)
The Amazon Resource Name (ARN) of the Auto Scaling group.Activity.Builder
autoScalingGroupName(String autoScalingGroupName)
The name of the Auto Scaling group.Activity.Builder
autoScalingGroupState(String autoScalingGroupState)
The state of the Auto Scaling group, which is eitherInService
orDeleted
.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(String statusCode)
The current status of the activity.Activity.Builder
statusCode(ScalingActivityStatusCode statusCode)
The current status of the activity.Activity.Builder
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 Detail
-
activityId
Activity.Builder activityId(String 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
Activity.Builder autoScalingGroupName(String 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
Activity.Builder description(String 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
Activity.Builder cause(String 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
Activity.Builder startTime(Instant 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
Activity.Builder endTime(Instant 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
Activity.Builder statusCode(String 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:
ScalingActivityStatusCode
,ScalingActivityStatusCode
-
statusCode
Activity.Builder statusCode(ScalingActivityStatusCode 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:
ScalingActivityStatusCode
,ScalingActivityStatusCode
-
statusMessage
Activity.Builder statusMessage(String 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
Activity.Builder progress(Integer 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
Activity.Builder details(String 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
Activity.Builder autoScalingGroupState(String 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
Activity.Builder autoScalingGroupARN(String 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.
-
-