public static interface GetEc2InstanceRecommendationsRequest.Builder extends ComputeOptimizerRequest.Builder, SdkPojo, CopyableBuilder<GetEc2InstanceRecommendationsRequest.Builder,GetEc2InstanceRecommendationsRequest>
| Modifier and Type | Method and Description |
|---|---|
GetEc2InstanceRecommendationsRequest.Builder |
accountIds(Collection<String> accountIds)
The ID of the AWS account for which to return instance recommendations.
|
GetEc2InstanceRecommendationsRequest.Builder |
accountIds(String... accountIds)
The ID of the AWS account for which to return instance recommendations.
|
GetEc2InstanceRecommendationsRequest.Builder |
filters(Collection<Filter> filters)
An array of objects that describe a filter that returns a more specific list of instance recommendations.
|
GetEc2InstanceRecommendationsRequest.Builder |
filters(Consumer<Filter.Builder>... filters)
An array of objects that describe a filter that returns a more specific list of instance recommendations.
|
GetEc2InstanceRecommendationsRequest.Builder |
filters(Filter... filters)
An array of objects that describe a filter that returns a more specific list of instance recommendations.
|
GetEc2InstanceRecommendationsRequest.Builder |
instanceArns(Collection<String> instanceArns)
The Amazon Resource Name (ARN) of the instances for which to return recommendations.
|
GetEc2InstanceRecommendationsRequest.Builder |
instanceArns(String... instanceArns)
The Amazon Resource Name (ARN) of the instances for which to return recommendations.
|
GetEc2InstanceRecommendationsRequest.Builder |
maxResults(Integer maxResults)
The maximum number of instance recommendations to return with a single request.
|
GetEc2InstanceRecommendationsRequest.Builder |
nextToken(String nextToken)
The token to advance to the next page of instance recommendations.
|
GetEc2InstanceRecommendationsRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
GetEc2InstanceRecommendationsRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildGetEc2InstanceRecommendationsRequest.Builder instanceArns(Collection<String> instanceArns)
The Amazon Resource Name (ARN) of the instances for which to return recommendations.
instanceArns - The Amazon Resource Name (ARN) of the instances for which to return recommendations.GetEc2InstanceRecommendationsRequest.Builder instanceArns(String... instanceArns)
The Amazon Resource Name (ARN) of the instances for which to return recommendations.
instanceArns - The Amazon Resource Name (ARN) of the instances for which to return recommendations.GetEc2InstanceRecommendationsRequest.Builder nextToken(String nextToken)
The token to advance to the next page of instance recommendations.
nextToken - The token to advance to the next page of instance recommendations.GetEc2InstanceRecommendationsRequest.Builder maxResults(Integer maxResults)
The maximum number of instance recommendations to return with a single request.
To retrieve the remaining results, make another request with the returned NextToken value.
maxResults - The maximum number of instance recommendations to return with a single request.
To retrieve the remaining results, make another request with the returned NextToken
value.
GetEc2InstanceRecommendationsRequest.Builder filters(Collection<Filter> filters)
An array of objects that describe a filter that returns a more specific list of instance recommendations.
filters - An array of objects that describe a filter that returns a more specific list of instance
recommendations.GetEc2InstanceRecommendationsRequest.Builder filters(Filter... filters)
An array of objects that describe a filter that returns a more specific list of instance recommendations.
filters - An array of objects that describe a filter that returns a more specific list of instance
recommendations.GetEc2InstanceRecommendationsRequest.Builder filters(Consumer<Filter.Builder>... filters)
An array of objects that describe a filter that returns a more specific list of instance recommendations.
This is a convenience that creates an instance of theList.Builder avoiding the need to
create one manually via List#builder() .
When the Consumer completes, List.Builder#build() is called immediately and its
result is passed to #filters(List) .filters - a consumer that will call methods on List.Builder #filters(List) GetEc2InstanceRecommendationsRequest.Builder accountIds(Collection<String> accountIds)
The ID of the AWS account for which to return instance 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 instance recommendations.
Only one account ID can be specified per request.
accountIds - The ID of the AWS account for which to return instance 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 instance recommendations.
Only one account ID can be specified per request.
GetEc2InstanceRecommendationsRequest.Builder accountIds(String... accountIds)
The ID of the AWS account for which to return instance 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 instance recommendations.
Only one account ID can be specified per request.
accountIds - The ID of the AWS account for which to return instance 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 instance recommendations.
Only one account ID can be specified per request.
GetEc2InstanceRecommendationsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderGetEc2InstanceRecommendationsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2021. All rights reserved.