Interface GetAutoScalingGroupRecommendationsRequest.Builder

    • Method Detail

      • accountIds

        GetAutoScalingGroupRecommendationsRequest.Builder accountIds​(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.
      • accountIds

        GetAutoScalingGroupRecommendationsRequest.Builder accountIds​(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.
      • autoScalingGroupArns

        GetAutoScalingGroupRecommendationsRequest.Builder autoScalingGroupArns​(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.
      • autoScalingGroupArns

        GetAutoScalingGroupRecommendationsRequest.Builder autoScalingGroupArns​(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.
      • nextToken

        GetAutoScalingGroupRecommendationsRequest.Builder nextToken​(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.
      • maxResults

        GetAutoScalingGroupRecommendationsRequest.Builder maxResults​(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.
      • filters

        GetAutoScalingGroupRecommendationsRequest.Builder filters​(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.
      • filters

        GetAutoScalingGroupRecommendationsRequest.Builder filters​(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.
      • recommendationPreferences

        GetAutoScalingGroupRecommendationsRequest.Builder recommendationPreferences​(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.