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.BuilderactivityId(String activityId)The ID of the activity.Activity.BuilderautoScalingGroupARN(String autoScalingGroupARN)The Amazon Resource Name (ARN) of the Auto Scaling group.Activity.BuilderautoScalingGroupName(String autoScalingGroupName)The name of the Auto Scaling group.Activity.BuilderautoScalingGroupState(String autoScalingGroupState)The state of the Auto Scaling group, which is eitherInServiceorDeleted.Activity.Buildercause(String cause)The reason the activity began.Activity.Builderdescription(String description)A friendly, more verbose description of the activity.Activity.Builderdetails(String details)The details about the activity.Activity.BuilderendTime(Instant endTime)The end time of the activity.Activity.Builderprogress(Integer progress)A value between 0 and 100 that indicates the progress of the activity.Activity.BuilderstartTime(Instant startTime)The start time of the activity.Activity.BuilderstatusCode(String statusCode)The current status of the activity.Activity.BuilderstatusCode(ScalingActivityStatusCode statusCode)The current status of the activity.Activity.BuilderstatusMessage(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
InServiceorDeleted.- Parameters:
autoScalingGroupState- The state of the Auto Scaling group, which is eitherInServiceorDeleted.- 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.
-
-