Interface DescribeScalingActivitiesRequest.Builder
- All Superinterfaces:
AutoScalingRequest.Builder,AwsRequest.Builder,Buildable,CopyableBuilder<DescribeScalingActivitiesRequest.Builder,,DescribeScalingActivitiesRequest> SdkBuilder<DescribeScalingActivitiesRequest.Builder,,DescribeScalingActivitiesRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
DescribeScalingActivitiesRequest
-
Method Summary
Modifier and TypeMethodDescriptionactivityIds(String... activityIds) The activity IDs of the desired scaling activities.activityIds(Collection<String> activityIds) The activity IDs of the desired scaling activities.autoScalingGroupName(String autoScalingGroupName) The name of the Auto Scaling group.filters(Collection<Filter> filters) One or more filters to limit the results based on specific criteria.filters(Consumer<Filter.Builder>... filters) One or more filters to limit the results based on specific criteria.One or more filters to limit the results based on specific criteria.includeDeletedGroups(Boolean includeDeletedGroups) Indicates whether to include scaling activity from deleted Auto Scaling groups.maxRecords(Integer maxRecords) The maximum number of items to return with this call.The token for the next set of items to return.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Methods inherited from interface software.amazon.awssdk.services.autoscaling.model.AutoScalingRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
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
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
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
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
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
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
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
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
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 tofilters(List<Filter>).- 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:
-
-
overrideConfiguration
DescribeScalingActivitiesRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
DescribeScalingActivitiesRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-