public static final class DescribeLifecycleActionsRequest.Builder extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
DescribeLifecycleActionsRequest |
build() |
DescribeLifecycleActionsRequest.Builder |
lifecycleActionStatus(String lifecycleActionStatus)
The status of the lifecycle action.
|
DescribeLifecycleActionsRequest.Builder |
maxResults(Integer maxResults)
The maximum number of entries to return on each page.
|
DescribeLifecycleActionsRequest.Builder |
nextToken(String nextToken)
The token that is used to specify the lifecycle action from which the query starts.
|
DescribeLifecycleActionsRequest.Builder |
ownerId(Long ownerId)
OwnerId.
|
DescribeLifecycleActionsRequest.Builder |
regionId(String regionId)
The region ID of the scaling group.
|
DescribeLifecycleActionsRequest.Builder |
resourceOwnerAccount(String resourceOwnerAccount)
ResourceOwnerAccount.
|
DescribeLifecycleActionsRequest.Builder |
scalingActivityId(String scalingActivityId)
The ID of the scaling activity.
|
public DescribeLifecycleActionsRequest.Builder lifecycleActionStatus(String lifecycleActionStatus)
* If a lifecycle action is in the Pending state, Elastic Compute Service (ECS) instances are waiting to be added to a scaling group or waiting to be removed from a scaling group. * If a lifecycle action is in the Timeout state, the lifecycle hook that triggers the lifecycle action ends, and ECS instances are added to or removed from the scaling group. * If a lifecycle action is in the Completed state, you manually end the lifecycle hook that triggers the lifecycle action ahead of schedule.
public DescribeLifecycleActionsRequest.Builder maxResults(Integer maxResults)
Default value: 10.
public DescribeLifecycleActionsRequest.Builder nextToken(String nextToken)
For example, after the first 10 lifecycle actions are queried, the query starts from the 11th lifecycle action. Set this parameter to the NextToken value that is returned in the previous API call. If you do not specify this parameter, the query starts from the beginning.
public DescribeLifecycleActionsRequest.Builder ownerId(Long ownerId)
public DescribeLifecycleActionsRequest.Builder regionId(String regionId)
public DescribeLifecycleActionsRequest.Builder resourceOwnerAccount(String resourceOwnerAccount)
public DescribeLifecycleActionsRequest.Builder scalingActivityId(String scalingActivityId)
public DescribeLifecycleActionsRequest build()
Copyright © 2024. All rights reserved.