Interface DescribeScalingActivitiesRequest.Builder
-
- All Superinterfaces:
AutoScalingRequest.Builder,AwsRequest.Builder,Buildable,CopyableBuilder<DescribeScalingActivitiesRequest.Builder,DescribeScalingActivitiesRequest>,SdkBuilder<DescribeScalingActivitiesRequest.Builder,DescribeScalingActivitiesRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- DescribeScalingActivitiesRequest
@Mutable @NotThreadSafe public static interface DescribeScalingActivitiesRequest.Builder extends AutoScalingRequest.Builder, SdkPojo, CopyableBuilder<DescribeScalingActivitiesRequest.Builder,DescribeScalingActivitiesRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DescribeScalingActivitiesRequest.BuilderactivityIds(String... activityIds)The activity IDs of the desired scaling activities.DescribeScalingActivitiesRequest.BuilderactivityIds(Collection<String> activityIds)The activity IDs of the desired scaling activities.DescribeScalingActivitiesRequest.BuilderautoScalingGroupName(String autoScalingGroupName)The name of the Auto Scaling group.DescribeScalingActivitiesRequest.Builderfilters(Collection<Filter> filters)One or more filters to limit the results based on specific criteria.DescribeScalingActivitiesRequest.Builderfilters(Consumer<Filter.Builder>... filters)One or more filters to limit the results based on specific criteria.DescribeScalingActivitiesRequest.Builderfilters(Filter... filters)One or more filters to limit the results based on specific criteria.DescribeScalingActivitiesRequest.BuilderincludeDeletedGroups(Boolean includeDeletedGroups)Indicates whether to include scaling activity from deleted Auto Scaling groups.DescribeScalingActivitiesRequest.BuildermaxRecords(Integer maxRecords)The maximum number of items to return with this call.DescribeScalingActivitiesRequest.BuildernextToken(String nextToken)The token for the next set of items to return.DescribeScalingActivitiesRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)DescribeScalingActivitiesRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)-
Methods inherited from interface software.amazon.awssdk.services.autoscaling.model.AutoScalingRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
activityIds
DescribeScalingActivitiesRequest.Builder activityIds(Collection<String> activityIds)
The activity IDs of the desired scaling activities. If unknown activity IDs are requested, they are ignored with no error. Only activities started within the last six weeks can be returned regardless of the activity IDs specified. If other filters are specified with the request, only results matching all filter criteria can be returned.
Array Members: Maximum number of 50 IDs.
- Parameters:
activityIds- The activity IDs of the desired scaling activities. If unknown activity IDs are requested, they are ignored with no error. Only activities started within the last six weeks can be returned regardless of the activity IDs specified. If other filters are specified with the request, only results matching all filter criteria can be returned.Array Members: Maximum number of 50 IDs.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
activityIds
DescribeScalingActivitiesRequest.Builder activityIds(String... activityIds)
The activity IDs of the desired scaling activities. If unknown activity IDs are requested, they are ignored with no error. Only activities started within the last six weeks can be returned regardless of the activity IDs specified. If other filters are specified with the request, only results matching all filter criteria can be returned.
Array Members: Maximum number of 50 IDs.
- Parameters:
activityIds- The activity IDs of the desired scaling activities. If unknown activity IDs are requested, they are ignored with no error. Only activities started within the last six weeks can be returned regardless of the activity IDs specified. If other filters are specified with the request, only results matching all filter criteria can be returned.Array Members: Maximum number of 50 IDs.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
autoScalingGroupName
DescribeScalingActivitiesRequest.Builder autoScalingGroupName(String autoScalingGroupName)
The name of the Auto Scaling group.
Omitting this property performs an account-wide operation, which can result in slower or timed-out requests.
- Parameters:
autoScalingGroupName- The name of the Auto Scaling group.Omitting this property performs an account-wide operation, which can result in slower or timed-out requests.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
includeDeletedGroups
DescribeScalingActivitiesRequest.Builder includeDeletedGroups(Boolean includeDeletedGroups)
Indicates whether to include scaling activity from deleted Auto Scaling groups.
- Parameters:
includeDeletedGroups- Indicates whether to include scaling activity from deleted Auto Scaling groups.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxRecords
DescribeScalingActivitiesRequest.Builder maxRecords(Integer maxRecords)
The maximum number of items to return with this call. The default value is
100and the maximum value is100.- Parameters:
maxRecords- The maximum number of items to return with this call. The default value is100and the maximum value is100.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
DescribeScalingActivitiesRequest.Builder nextToken(String nextToken)
The token for the next set of items to return. (You received this token from a previous call.)
- Parameters:
nextToken- The token for the next set of items to return. (You received this token from a previous call.)- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
DescribeScalingActivitiesRequest.Builder filters(Collection<Filter> filters)
One or more filters to limit the results based on specific criteria. The following filters are supported:
-
StartTimeLowerBound- The earliest scaling activities to return based on the activity start time. Scaling activities with a start time earlier than this value are not included in the results. Only activities started within the last six weeks can be returned regardless of the value specified. -
StartTimeUpperBound- The latest scaling activities to return based on the activity start time. Scaling activities with a start time later than this value are not included in the results. Only activities started within the last six weeks can be returned regardless of the value specified. -
Status- TheStatusCodevalue of the scaling activity. This filter can only be used in combination with theAutoScalingGroupNameparameter. For validStatusCodevalues, see Activity in the Amazon EC2 Auto Scaling API Reference.
- Parameters:
filters- One or more filters to limit the results based on specific criteria. The following filters are supported:-
StartTimeLowerBound- The earliest scaling activities to return based on the activity start time. Scaling activities with a start time earlier than this value are not included in the results. Only activities started within the last six weeks can be returned regardless of the value specified. -
StartTimeUpperBound- The latest scaling activities to return based on the activity start time. Scaling activities with a start time later than this value are not included in the results. Only activities started within the last six weeks can be returned regardless of the value specified. -
Status- TheStatusCodevalue of the scaling activity. This filter can only be used in combination with theAutoScalingGroupNameparameter. For validStatusCodevalues, see Activity in the Amazon EC2 Auto Scaling API Reference.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
filters
DescribeScalingActivitiesRequest.Builder filters(Filter... filters)
One or more filters to limit the results based on specific criteria. The following filters are supported:
-
StartTimeLowerBound- The earliest scaling activities to return based on the activity start time. Scaling activities with a start time earlier than this value are not included in the results. Only activities started within the last six weeks can be returned regardless of the value specified. -
StartTimeUpperBound- The latest scaling activities to return based on the activity start time. Scaling activities with a start time later than this value are not included in the results. Only activities started within the last six weeks can be returned regardless of the value specified. -
Status- TheStatusCodevalue of the scaling activity. This filter can only be used in combination with theAutoScalingGroupNameparameter. For validStatusCodevalues, see Activity in the Amazon EC2 Auto Scaling API Reference.
- Parameters:
filters- One or more filters to limit the results based on specific criteria. The following filters are supported:-
StartTimeLowerBound- The earliest scaling activities to return based on the activity start time. Scaling activities with a start time earlier than this value are not included in the results. Only activities started within the last six weeks can be returned regardless of the value specified. -
StartTimeUpperBound- The latest scaling activities to return based on the activity start time. Scaling activities with a start time later than this value are not included in the results. Only activities started within the last six weeks can be returned regardless of the value specified. -
Status- TheStatusCodevalue of the scaling activity. This filter can only be used in combination with theAutoScalingGroupNameparameter. For validStatusCodevalues, see Activity in the Amazon EC2 Auto Scaling API Reference.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
filters
DescribeScalingActivitiesRequest.Builder filters(Consumer<Filter.Builder>... filters)
One or more filters to limit the results based on specific criteria. The following filters are supported:
-
StartTimeLowerBound- The earliest scaling activities to return based on the activity start time. Scaling activities with a start time earlier than this value are not included in the results. Only activities started within the last six weeks can be returned regardless of the value specified. -
StartTimeUpperBound- The latest scaling activities to return based on the activity start time. Scaling activities with a start time later than this value are not included in the results. Only activities started within the last six weeks can be returned regardless of the value specified. -
Status- TheStatusCodevalue of the scaling activity. This filter can only be used in combination with theAutoScalingGroupNameparameter. For validStatusCodevalues, see Activity in the Amazon EC2 Auto Scaling API Reference.
Filter.Builderavoiding the need to create one manually viaFilter.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#filters(List.) - Parameters:
filters- a consumer that will call methods onFilter.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#filters(java.util.Collection)
-
-
overrideConfiguration
DescribeScalingActivitiesRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
DescribeScalingActivitiesRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-