Interface GetAutoScalingGroupRecommendationsResponse.Builder

    • Method Detail

      • nextToken

        GetAutoScalingGroupRecommendationsResponse.Builder nextToken​(String nextToken)

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

        This value is null when there are no more pages of Auto Scaling group recommendations to return.

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

        This value is null when there are no more pages of Auto Scaling group recommendations to return.

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

        GetAutoScalingGroupRecommendationsResponse.Builder autoScalingGroupRecommendations​(Collection<AutoScalingGroupRecommendation> autoScalingGroupRecommendations)

        An array of objects that describe Auto Scaling group recommendations.

        Parameters:
        autoScalingGroupRecommendations - An array of objects that describe Auto Scaling group recommendations.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • autoScalingGroupRecommendations

        GetAutoScalingGroupRecommendationsResponse.Builder autoScalingGroupRecommendations​(AutoScalingGroupRecommendation... autoScalingGroupRecommendations)

        An array of objects that describe Auto Scaling group recommendations.

        Parameters:
        autoScalingGroupRecommendations - An array of objects that describe Auto Scaling group recommendations.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • errors

        GetAutoScalingGroupRecommendationsResponse.Builder errors​(Collection<GetRecommendationError> errors)

        An array of objects that describe errors of the request.

        For example, an error is returned if you request recommendations for an unsupported Auto Scaling group.

        Parameters:
        errors - An array of objects that describe errors of the request.

        For example, an error is returned if you request recommendations for an unsupported Auto Scaling group.

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

        GetAutoScalingGroupRecommendationsResponse.Builder errors​(GetRecommendationError... errors)

        An array of objects that describe errors of the request.

        For example, an error is returned if you request recommendations for an unsupported Auto Scaling group.

        Parameters:
        errors - An array of objects that describe errors of the request.

        For example, an error is returned if you request recommendations for an unsupported Auto Scaling group.

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