public static interface GetEcsServiceRecommendationsRequest.Builder extends ComputeOptimizerRequest.Builder, SdkPojo, CopyableBuilder<GetEcsServiceRecommendationsRequest.Builder,GetEcsServiceRecommendationsRequest>
| Modifier and Type | Method and Description |
|---|---|
GetEcsServiceRecommendationsRequest.Builder |
accountIds(Collection<String> accountIds)
Return the Amazon ECS service recommendations to the specified Amazon Web Services account IDs.
|
GetEcsServiceRecommendationsRequest.Builder |
accountIds(String... accountIds)
Return the Amazon ECS service recommendations to the specified Amazon Web Services account IDs.
|
GetEcsServiceRecommendationsRequest.Builder |
filters(Collection<ECSServiceRecommendationFilter> filters)
An array of objects to specify a filter that returns a more specific list of Amazon ECS service
recommendations.
|
GetEcsServiceRecommendationsRequest.Builder |
filters(Consumer<ECSServiceRecommendationFilter.Builder>... filters)
An array of objects to specify a filter that returns a more specific list of Amazon ECS service
recommendations.
|
GetEcsServiceRecommendationsRequest.Builder |
filters(ECSServiceRecommendationFilter... filters)
An array of objects to specify a filter that returns a more specific list of Amazon ECS service
recommendations.
|
GetEcsServiceRecommendationsRequest.Builder |
maxResults(Integer maxResults)
The maximum number of Amazon ECS service recommendations to return with a single request.
|
GetEcsServiceRecommendationsRequest.Builder |
nextToken(String nextToken)
The token to advance to the next page of Amazon ECS service recommendations.
|
GetEcsServiceRecommendationsRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
GetEcsServiceRecommendationsRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
GetEcsServiceRecommendationsRequest.Builder |
serviceArns(Collection<String> serviceArns)
The ARN that identifies the Amazon ECS service.
|
GetEcsServiceRecommendationsRequest.Builder |
serviceArns(String... serviceArns)
The ARN that identifies the Amazon ECS service.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildGetEcsServiceRecommendationsRequest.Builder serviceArns(Collection<String> serviceArns)
The ARN that identifies the Amazon ECS service.
The following is the format of the ARN:
arn:aws:ecs:region:aws_account_id:service/cluster-name/service-name
serviceArns - The ARN that identifies the Amazon ECS service.
The following is the format of the ARN:
arn:aws:ecs:region:aws_account_id:service/cluster-name/service-name
GetEcsServiceRecommendationsRequest.Builder serviceArns(String... serviceArns)
The ARN that identifies the Amazon ECS service.
The following is the format of the ARN:
arn:aws:ecs:region:aws_account_id:service/cluster-name/service-name
serviceArns - The ARN that identifies the Amazon ECS service.
The following is the format of the ARN:
arn:aws:ecs:region:aws_account_id:service/cluster-name/service-name
GetEcsServiceRecommendationsRequest.Builder nextToken(String nextToken)
The token to advance to the next page of Amazon ECS service recommendations.
nextToken - The token to advance to the next page of Amazon ECS service recommendations.GetEcsServiceRecommendationsRequest.Builder maxResults(Integer maxResults)
The maximum number of Amazon ECS service 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 Amazon ECS service recommendations to return with a single request.
To retrieve the remaining results, make another request with the returned nextToken
value.
GetEcsServiceRecommendationsRequest.Builder filters(Collection<ECSServiceRecommendationFilter> filters)
An array of objects to specify a filter that returns a more specific list of Amazon ECS service recommendations.
filters - An array of objects to specify a filter that returns a more specific list of Amazon ECS service
recommendations.GetEcsServiceRecommendationsRequest.Builder filters(ECSServiceRecommendationFilter... filters)
An array of objects to specify a filter that returns a more specific list of Amazon ECS service recommendations.
filters - An array of objects to specify a filter that returns a more specific list of Amazon ECS service
recommendations.GetEcsServiceRecommendationsRequest.Builder filters(Consumer<ECSServiceRecommendationFilter.Builder>... filters)
An array of objects to specify a filter that returns a more specific list of Amazon ECS service recommendations.
This is a convenience method that creates an instance of theECSServiceRecommendationFilter.Builder
avoiding the need to create one manually via
ECSServiceRecommendationFilter.builder().
When the Consumer completes,
SdkBuilder.build()
is called immediately and its result is passed to #filters(List.
filters - a consumer that will call methods on
ECSServiceRecommendationFilter.Builder#filters(java.util.Collection) GetEcsServiceRecommendationsRequest.Builder accountIds(Collection<String> accountIds)
Return the Amazon ECS service 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 Amazon ECS service recommendations to specific member accounts.
You can only specify one account ID per request.
accountIds - Return the Amazon ECS service 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 Amazon ECS service recommendations to specific member accounts.
You can only specify one account ID per request.
GetEcsServiceRecommendationsRequest.Builder accountIds(String... accountIds)
Return the Amazon ECS service 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 Amazon ECS service recommendations to specific member accounts.
You can only specify one account ID per request.
accountIds - Return the Amazon ECS service 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 Amazon ECS service recommendations to specific member accounts.
You can only specify one account ID per request.
GetEcsServiceRecommendationsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderGetEcsServiceRecommendationsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2023. All rights reserved.