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 GetEBSVolumeRecommendationsRequest

    • Constructor Detail

      • GetEBSVolumeRecommendationsRequest

        public GetEBSVolumeRecommendationsRequest()
    • Method Detail

      • getVolumeArns

        public List<String> getVolumeArns()

        The Amazon Resource Name (ARN) of the volumes for which to return recommendations.

        Returns:
        The Amazon Resource Name (ARN) of the volumes for which to return recommendations.
      • setVolumeArns

        public void setVolumeArns(Collection<String> volumeArns)

        The Amazon Resource Name (ARN) of the volumes for which to return recommendations.

        Parameters:
        volumeArns - The Amazon Resource Name (ARN) of the volumes for which to return recommendations.
      • withVolumeArns

        public GetEBSVolumeRecommendationsRequest withVolumeArns(String... volumeArns)

        The Amazon Resource Name (ARN) of the volumes for which to return recommendations.

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

        Parameters:
        volumeArns - The Amazon Resource Name (ARN) of the volumes for which to return recommendations.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • withVolumeArns

        public GetEBSVolumeRecommendationsRequest withVolumeArns(Collection<String> volumeArns)

        The Amazon Resource Name (ARN) of the volumes for which to return recommendations.

        Parameters:
        volumeArns - The Amazon Resource Name (ARN) of the volumes 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 volume recommendations.

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

        public String getNextToken()

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

        Returns:
        The token to advance to the next page of volume recommendations.
      • withNextToken

        public GetEBSVolumeRecommendationsRequest withNextToken(String nextToken)

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

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

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

      • withMaxResults

        public GetEBSVolumeRecommendationsRequest withMaxResults(Integer maxResults)

        The maximum number of volume 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 volume 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<EBSFilter> getFilters()

        An array of objects to specify a filter that returns a more specific list of volume recommendations.

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

        public void setFilters(Collection<EBSFilter> filters)

        An array of objects to specify a filter that returns a more specific list of volume recommendations.

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

        public GetEBSVolumeRecommendationsRequest withFilters(EBSFilter... filters)

        An array of objects to specify a filter that returns a more specific list of volume 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 volume recommendations.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • withFilters

        public GetEBSVolumeRecommendationsRequest withFilters(Collection<EBSFilter> filters)

        An array of objects to specify a filter that returns a more specific list of volume recommendations.

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

        public List<String> getAccountIds()

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

        Only one account ID can be specified per request.

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

        Only one account ID can be specified per request.

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

        Only one account ID can be specified per request.

      • withAccountIds

        public GetEBSVolumeRecommendationsRequest withAccountIds(String... accountIds)

        The ID of the Amazon Web Services account for which to return volume 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 volume 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 volume 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 volume 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 GetEBSVolumeRecommendationsRequest withAccountIds(Collection<String> accountIds)

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

        Only one account ID can be specified per request.

        Parameters:
        accountIds - The ID of the Amazon Web Services account for which to return volume 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 volume 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.
      • 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 によって変換されたページ (->オリジナル) /