Interface GetEcsServiceRecommendationsRequest.Builder

All Superinterfaces:
AwsRequest.Builder, Buildable, ComputeOptimizerRequest.Builder, CopyableBuilder<GetEcsServiceRecommendationsRequest.Builder,GetEcsServiceRecommendationsRequest>, SdkBuilder<GetEcsServiceRecommendationsRequest.Builder,GetEcsServiceRecommendationsRequest>, SdkPojo, SdkRequest.Builder
Enclosing class:
GetEcsServiceRecommendationsRequest

  • Method Details

    • 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

      Parameters:
      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

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • 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

      Parameters:
      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

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • nextToken

      The token to advance to the next page of Amazon ECS service recommendations.

      Parameters:
      nextToken - The token to advance to the next page of Amazon ECS service recommendations.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • 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.

      Parameters:
      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.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • filters

      An array of objects to specify a filter that returns a more specific list of Amazon ECS service recommendations.

      Parameters:
      filters - An array of objects to specify a filter that returns a more specific list of Amazon ECS service recommendations.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • filters

      An array of objects to specify a filter that returns a more specific list of Amazon ECS service recommendations.

      Parameters:
      filters - An array of objects to specify a filter that returns a more specific list of Amazon ECS service recommendations.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • 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 the ECSServiceRecommendationFilter.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<ECSServiceRecommendationFilter>).

      Parameters:
      filters - a consumer that will call methods on ECSServiceRecommendationFilter.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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.

      Parameters:
      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.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • 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.

      Parameters:
      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.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.