Interface GetEbsVolumeRecommendationsRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,ComputeOptimizerRequest.Builder,CopyableBuilder<GetEbsVolumeRecommendationsRequest.Builder,GetEbsVolumeRecommendationsRequest>,SdkBuilder<GetEbsVolumeRecommendationsRequest.Builder,GetEbsVolumeRecommendationsRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- GetEbsVolumeRecommendationsRequest
public static interface GetEbsVolumeRecommendationsRequest.Builder extends ComputeOptimizerRequest.Builder, SdkPojo, CopyableBuilder<GetEbsVolumeRecommendationsRequest.Builder,GetEbsVolumeRecommendationsRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GetEbsVolumeRecommendationsRequest.BuilderaccountIds(String... accountIds)The ID of the Amazon Web Services account for which to return volume recommendations.GetEbsVolumeRecommendationsRequest.BuilderaccountIds(Collection<String> accountIds)The ID of the Amazon Web Services account for which to return volume recommendations.GetEbsVolumeRecommendationsRequest.Builderfilters(Collection<EBSFilter> filters)An array of objects to specify a filter that returns a more specific list of volume recommendations.GetEbsVolumeRecommendationsRequest.Builderfilters(Consumer<EBSFilter.Builder>... filters)An array of objects to specify a filter that returns a more specific list of volume recommendations.GetEbsVolumeRecommendationsRequest.Builderfilters(EBSFilter... filters)An array of objects to specify a filter that returns a more specific list of volume recommendations.GetEbsVolumeRecommendationsRequest.BuildermaxResults(Integer maxResults)The maximum number of volume recommendations to return with a single request.GetEbsVolumeRecommendationsRequest.BuildernextToken(String nextToken)The token to advance to the next page of volume recommendations.GetEbsVolumeRecommendationsRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)GetEbsVolumeRecommendationsRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)GetEbsVolumeRecommendationsRequest.BuildervolumeArns(String... volumeArns)The Amazon Resource Name (ARN) of the volumes for which to return recommendations.GetEbsVolumeRecommendationsRequest.BuildervolumeArns(Collection<String> volumeArns)The Amazon Resource Name (ARN) of the volumes for which to return recommendations.-
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, sdkFields
-
-
-
-
Method Detail
-
volumeArns
GetEbsVolumeRecommendationsRequest.Builder volumeArns(Collection<String> volumeArns)
The Amazon Resource Name (ARN) of the volumes for which to return recommendations.
- Parameters:
volumeArns- The Amazon Resource Name (ARN) of the volumes for which to return recommendations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
volumeArns
GetEbsVolumeRecommendationsRequest.Builder volumeArns(String... volumeArns)
The Amazon Resource Name (ARN) of the volumes for which to return recommendations.
- Parameters:
volumeArns- The Amazon Resource Name (ARN) of the volumes for which to return recommendations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
GetEbsVolumeRecommendationsRequest.Builder nextToken(String nextToken)
The token to advance to the next page of volume recommendations.
- Parameters:
nextToken- The token to advance to the next page of volume recommendations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxResults
GetEbsVolumeRecommendationsRequest.Builder maxResults(Integer maxResults)
The maximum number of volume 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 volume 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
GetEbsVolumeRecommendationsRequest.Builder filters(Collection<EBSFilter> filters)
An array of objects to specify a filter that returns a more specific list of volume recommendations.
- Parameters:
filters- An array of objects to specify a filter that returns a more specific list of volume recommendations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
GetEbsVolumeRecommendationsRequest.Builder filters(EBSFilter... filters)
An array of objects to specify a filter that returns a more specific list of volume recommendations.
- Parameters:
filters- An array of objects to specify a filter that returns a more specific list of volume recommendations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
GetEbsVolumeRecommendationsRequest.Builder filters(Consumer<EBSFilter.Builder>... filters)
An array of objects to specify a filter that returns a more specific list of volume recommendations.
This is a convenience method that creates an instance of theEBSFilter.Builderavoiding the need to create one manually viaEBSFilter.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 onEBSFilter.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#filters(java.util.Collection)
-
accountIds
GetEbsVolumeRecommendationsRequest.Builder accountIds(Collection<String> accountIds)
The ID of the Amazon Web Services account for which to return volume recommendations.
If your account is the management account of an organization, use this parameter to specify the member account for which you want to return volume recommendations.
Only one account ID can be specified per request.
- Parameters:
accountIds- The ID of the Amazon Web Services account for which to return volume recommendations.If your account is the management account of an organization, use this parameter to specify the member account for which you want to return volume recommendations.
Only one account ID can be specified per request.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accountIds
GetEbsVolumeRecommendationsRequest.Builder accountIds(String... accountIds)
The ID of the Amazon Web Services account for which to return volume recommendations.
If your account is the management account of an organization, use this parameter to specify the member account for which you want to return volume recommendations.
Only one account ID can be specified per request.
- Parameters:
accountIds- The ID of the Amazon Web Services account for which to return volume recommendations.If your account is the management account of an organization, use this parameter to specify the member account for which you want to return volume recommendations.
Only one account ID can be specified per request.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
GetEbsVolumeRecommendationsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
GetEbsVolumeRecommendationsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-