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 GetAutoScalingGroupRecommendationsRequest

    • Constructor Detail

      • GetAutoScalingGroupRecommendationsRequest

        public GetAutoScalingGroupRecommendationsRequest()
    • Method Detail

      • getAccountIds

        public List<String> getAccountIds()

        The ID of the Amazon Web Services account for which to return Auto Scaling group 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 Auto Scaling group recommendations.

        Only one account ID can be specified per request.

        Returns:
        The ID of the Amazon Web Services account for which to return Auto Scaling group 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 Auto Scaling group recommendations.

        Only one account ID can be specified per request.

      • setAccountIds

        public void setAccountIds(Collection<String> accountIds)

        The ID of the Amazon Web Services account for which to return Auto Scaling group 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 Auto Scaling group recommendations.

        Only one account ID can be specified per request.

        Parameters:
        accountIds - The ID of the Amazon Web Services account for which to return Auto Scaling group 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 Auto Scaling group recommendations.

        Only one account ID can be specified per request.

      • withAccountIds

        public GetAutoScalingGroupRecommendationsRequest withAccountIds(String... accountIds)

        The ID of the Amazon Web Services account for which to return Auto Scaling group 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 Auto Scaling group recommendations.

        Only one account ID can be specified 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 - The ID of the Amazon Web Services account for which to return Auto Scaling group 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 Auto Scaling group recommendations.

        Only one account ID can be specified per request.

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

        public GetAutoScalingGroupRecommendationsRequest withAccountIds(Collection<String> accountIds)

        The ID of the Amazon Web Services account for which to return Auto Scaling group 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 Auto Scaling group recommendations.

        Only one account ID can be specified per request.

        Parameters:
        accountIds - The ID of the Amazon Web Services account for which to return Auto Scaling group 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 Auto Scaling group recommendations.

        Only one account ID can be specified per request.

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

        public List<String> getAutoScalingGroupArns()

        The Amazon Resource Name (ARN) of the Auto Scaling groups for which to return recommendations.

        Returns:
        The Amazon Resource Name (ARN) of the Auto Scaling groups for which to return recommendations.
      • setAutoScalingGroupArns

        public void setAutoScalingGroupArns(Collection<String> autoScalingGroupArns)

        The Amazon Resource Name (ARN) of the Auto Scaling groups for which to return recommendations.

        Parameters:
        autoScalingGroupArns - The Amazon Resource Name (ARN) of the Auto Scaling groups for which to return recommendations.
      • withAutoScalingGroupArns

        public GetAutoScalingGroupRecommendationsRequest withAutoScalingGroupArns(Collection<String> autoScalingGroupArns)

        The Amazon Resource Name (ARN) of the Auto Scaling groups for which to return recommendations.

        Parameters:
        autoScalingGroupArns - The Amazon Resource Name (ARN) of the Auto Scaling groups for which to return recommendations.
        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 Auto Scaling group recommendations.

        Parameters:
        nextToken - The token to advance to the next page of Auto Scaling group recommendations.
      • getNextToken

        public String getNextToken()

        The token to advance to the next page of Auto Scaling group recommendations.

        Returns:
        The token to advance to the next page of Auto Scaling group recommendations.
      • withNextToken

        public GetAutoScalingGroupRecommendationsRequest withNextToken(String nextToken)

        The token to advance to the next page of Auto Scaling group recommendations.

        Parameters:
        nextToken - The token to advance to the next page of Auto Scaling group 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 Auto Scaling group 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 Auto Scaling group 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 Auto Scaling group 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 Auto Scaling group recommendations to return with a single request.

        To retrieve the remaining results, make another request with the returned nextToken value.

      • withMaxResults

        public GetAutoScalingGroupRecommendationsRequest withMaxResults(Integer maxResults)

        The maximum number of Auto Scaling group 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 Auto Scaling group 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<Filter> getFilters()

        An array of objects to specify a filter that returns a more specific list of Auto Scaling group recommendations.

        Returns:
        An array of objects to specify a filter that returns a more specific list of Auto Scaling group recommendations.
      • setFilters

        public void setFilters(Collection<Filter> filters)

        An array of objects to specify a filter that returns a more specific list of Auto Scaling group recommendations.

        Parameters:
        filters - An array of objects to specify a filter that returns a more specific list of Auto Scaling group recommendations.
      • withFilters

        public GetAutoScalingGroupRecommendationsRequest withFilters(Filter... filters)

        An array of objects to specify a filter that returns a more specific list of Auto Scaling group recommendations.

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

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

        public GetAutoScalingGroupRecommendationsRequest withFilters(Collection<Filter> filters)

        An array of objects to specify a filter that returns a more specific list of Auto Scaling group recommendations.

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

        public void setRecommendationPreferences(RecommendationPreferences recommendationPreferences)

        An object to specify the preferences for the Auto Scaling group recommendations to return in the response.

        Parameters:
        recommendationPreferences - An object to specify the preferences for the Auto Scaling group recommendations to return in the response.
      • getRecommendationPreferences

        public RecommendationPreferences getRecommendationPreferences()

        An object to specify the preferences for the Auto Scaling group recommendations to return in the response.

        Returns:
        An object to specify the preferences for the Auto Scaling group recommendations to return in the response.
      • withRecommendationPreferences

        public GetAutoScalingGroupRecommendationsRequest withRecommendationPreferences(RecommendationPreferences recommendationPreferences)

        An object to specify the preferences for the Auto Scaling group recommendations to return in the response.

        Parameters:
        recommendationPreferences - An object to specify the preferences for the Auto Scaling group recommendations to return in the response.
        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 によって変換されたページ (->オリジナル) /