Interface GetIdleRecommendationsRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,ComputeOptimizerRequest.Builder,CopyableBuilder<GetIdleRecommendationsRequest.Builder,GetIdleRecommendationsRequest>,SdkBuilder<GetIdleRecommendationsRequest.Builder,GetIdleRecommendationsRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- GetIdleRecommendationsRequest
public static interface GetIdleRecommendationsRequest.Builder extends ComputeOptimizerRequest.Builder, SdkPojo, CopyableBuilder<GetIdleRecommendationsRequest.Builder,GetIdleRecommendationsRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description GetIdleRecommendationsRequest.BuilderaccountIds(String... accountIds)Return the idle resource recommendations to the specified Amazon Web Services account IDs.GetIdleRecommendationsRequest.BuilderaccountIds(Collection<String> accountIds)Return the idle resource recommendations to the specified Amazon Web Services account IDs.GetIdleRecommendationsRequest.Builderfilters(Collection<IdleRecommendationFilter> filters)An array of objects to specify a filter that returns a more specific list of idle resource recommendations.GetIdleRecommendationsRequest.Builderfilters(Consumer<IdleRecommendationFilter.Builder>... filters)An array of objects to specify a filter that returns a more specific list of idle resource recommendations.GetIdleRecommendationsRequest.Builderfilters(IdleRecommendationFilter... filters)An array of objects to specify a filter that returns a more specific list of idle resource recommendations.GetIdleRecommendationsRequest.BuildermaxResults(Integer maxResults)The maximum number of idle resource recommendations to return with a single request.GetIdleRecommendationsRequest.BuildernextToken(String nextToken)The token to advance to the next page of idle resource recommendations.default GetIdleRecommendationsRequest.BuilderorderBy(Consumer<OrderBy.Builder> orderBy)The order to sort the idle resource recommendations.GetIdleRecommendationsRequest.BuilderorderBy(OrderBy orderBy)The order to sort the idle resource recommendations.GetIdleRecommendationsRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)GetIdleRecommendationsRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)GetIdleRecommendationsRequest.BuilderresourceArns(String... resourceArns)The ARN that identifies the idle resource.GetIdleRecommendationsRequest.BuilderresourceArns(Collection<String> resourceArns)The ARN that identifies the idle resource.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.services.computeoptimizer.model.ComputeOptimizerRequest.Builder
build
-
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
-
resourceArns
GetIdleRecommendationsRequest.Builder resourceArns(Collection<String> resourceArns)
The ARN that identifies the idle resource.
- Parameters:
resourceArns- The ARN that identifies the idle resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceArns
GetIdleRecommendationsRequest.Builder resourceArns(String... resourceArns)
The ARN that identifies the idle resource.
- Parameters:
resourceArns- The ARN that identifies the idle resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
GetIdleRecommendationsRequest.Builder nextToken(String nextToken)
The token to advance to the next page of idle resource recommendations.
- Parameters:
nextToken- The token to advance to the next page of idle resource recommendations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxResults
GetIdleRecommendationsRequest.Builder maxResults(Integer maxResults)
The maximum number of idle resource recommendations to return with a single request.
To retrieve the remaining results, make another request with the returned
nextTokenvalue.- Parameters:
maxResults- The maximum number of idle resource recommendations to return with a single request.To retrieve the remaining results, make another request with the returned
nextTokenvalue.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
GetIdleRecommendationsRequest.Builder filters(Collection<IdleRecommendationFilter> filters)
An array of objects to specify a filter that returns a more specific list of idle resource recommendations.
- Parameters:
filters- An array of objects to specify a filter that returns a more specific list of idle resource recommendations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
GetIdleRecommendationsRequest.Builder filters(IdleRecommendationFilter... filters)
An array of objects to specify a filter that returns a more specific list of idle resource recommendations.
- Parameters:
filters- An array of objects to specify a filter that returns a more specific list of idle resource recommendations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
GetIdleRecommendationsRequest.Builder filters(Consumer<IdleRecommendationFilter.Builder>... filters)
An array of objects to specify a filter that returns a more specific list of idle resource recommendations.
This is a convenience method that creates an instance of theIdleRecommendationFilter.Builderavoiding the need to create one manually viaIdleRecommendationFilter.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 onIdleRecommendationFilter.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#filters(java.util.Collection)
-
accountIds
GetIdleRecommendationsRequest.Builder accountIds(Collection<String> accountIds)
Return the idle resource recommendations to the specified Amazon Web Services account IDs.
If your account is the management account or the delegated administrator of an organization, use this parameter to return the idle resource recommendations to specific member accounts.
You can only specify one account ID per request.
- Parameters:
accountIds- Return the idle resource recommendations to the specified Amazon Web Services account IDs.If your account is the management account or the delegated administrator of an organization, use this parameter to return the idle resource recommendations to specific member accounts.
You can only specify one account ID per request.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accountIds
GetIdleRecommendationsRequest.Builder accountIds(String... accountIds)
Return the idle resource recommendations to the specified Amazon Web Services account IDs.
If your account is the management account or the delegated administrator of an organization, use this parameter to return the idle resource recommendations to specific member accounts.
You can only specify one account ID per request.
- Parameters:
accountIds- Return the idle resource recommendations to the specified Amazon Web Services account IDs.If your account is the management account or the delegated administrator of an organization, use this parameter to return the idle resource recommendations to specific member accounts.
You can only specify one account ID per request.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
orderBy
GetIdleRecommendationsRequest.Builder orderBy(OrderBy orderBy)
The order to sort the idle resource recommendations.
- Parameters:
orderBy- The order to sort the idle resource recommendations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
orderBy
default GetIdleRecommendationsRequest.Builder orderBy(Consumer<OrderBy.Builder> orderBy)
The order to sort the idle resource recommendations.
This is a convenience method that creates an instance of theOrderBy.Builderavoiding the need to create one manually viaOrderBy.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toorderBy(OrderBy).- Parameters:
orderBy- a consumer that will call methods onOrderBy.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
orderBy(OrderBy)
-
overrideConfiguration
GetIdleRecommendationsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
GetIdleRecommendationsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-