Interface GetEcsServiceRecommendationsRequest.Builder

    • Method Detail

      • serviceArns

        GetEcsServiceRecommendationsRequest.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

        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

        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

        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

        GetEcsServiceRecommendationsRequest.Builder nextToken​(String 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

        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.

        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

        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.

        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

        GetEcsServiceRecommendationsRequest.Builder filters​(ECSServiceRecommendationFilter... 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.
      • accountIds

        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.

        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

        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.

        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.