Interface GetEbsVolumeRecommendationsResponse.Builder

    • Method Detail

      • nextToken

        GetEbsVolumeRecommendationsResponse.Builder nextToken​(String nextToken)

        The token to use to advance to the next page of volume recommendations.

        This value is null when there are no more pages of volume recommendations to return.

        Parameters:
        nextToken - The token to use to advance to the next page of volume recommendations.

        This value is null when there are no more pages of volume recommendations to return.

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

        GetEbsVolumeRecommendationsResponse.Builder volumeRecommendations​(Collection<VolumeRecommendation> volumeRecommendations)

        An array of objects that describe volume recommendations.

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

        GetEbsVolumeRecommendationsResponse.Builder volumeRecommendations​(VolumeRecommendation... volumeRecommendations)

        An array of objects that describe volume recommendations.

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

        GetEbsVolumeRecommendationsResponse.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 volume.

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

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

        GetEbsVolumeRecommendationsResponse.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 volume.

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

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