JavaScript is disabled on your browser.
Skip navigation links

AWS SDK for Java 1.x API Reference - 1.12.795

We announced the upcoming end-of-support for AWS SDK for Java (v1). We recommend that you migrate to AWS SDK for Java v2. For dates, additional details, and information on how to migrate, please refer to the linked announcement.
com.amazonaws.services.computeoptimizer.model

Class GetECSServiceRecommendationsRequest

    • Constructor Detail

      • GetECSServiceRecommendationsRequest

        public GetECSServiceRecommendationsRequest()
    • Method Detail

      • getServiceArns

        public List<String> getServiceArns()

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

      • setServiceArns

        public void setServiceArns(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

      • withServiceArns

        public GetECSServiceRecommendationsRequest withServiceArns(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

        NOTE: This method appends the values to the existing list (if any). Use setServiceArns(java.util.Collection) or withServiceArns(java.util.Collection) if you want to override the existing values.

        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.
      • withServiceArns

        public GetECSServiceRecommendationsRequest withServiceArns(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.
      • setNextToken

        public void setNextToken(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.
      • getNextToken

        public String getNextToken()

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

        Returns:
        The token to advance to the next page of Amazon ECS service recommendations.
      • withNextToken

        public GetECSServiceRecommendationsRequest withNextToken(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.
      • setMaxResults

        public void setMaxResults(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.

      • getMaxResults

        public Integer getMaxResults()

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

      • withMaxResults

        public GetECSServiceRecommendationsRequest withMaxResults(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.
      • getFilters

        public List<ECSServiceRecommendationFilter> getFilters()

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

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

        public void setFilters(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.
      • withFilters

        public GetECSServiceRecommendationsRequest withFilters(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.
      • getAccountIds

        public List<String> getAccountIds()

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

      • setAccountIds

        public void setAccountIds(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.

      • withAccountIds

        public GetECSServiceRecommendationsRequest withAccountIds(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.

        NOTE: This method appends the values to the existing list (if any). Use setAccountIds(java.util.Collection) or withAccountIds(java.util.Collection) if you want to override the existing values.

        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.
      • withAccountIds

        public GetECSServiceRecommendationsRequest withAccountIds(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.
      • toString

        public String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
Skip navigation links

AltStyle によって変換されたページ (->オリジナル) /