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 GetRDSDatabaseRecommendationsRequest

    • Constructor Detail

      • GetRDSDatabaseRecommendationsRequest

        public GetRDSDatabaseRecommendationsRequest()
    • Method Detail

      • getResourceArns

        public List<String> getResourceArns()

        The ARN that identifies the Amazon RDS.

        The following is the format of the ARN:

        arn:aws:rds:{region}:{accountId}:db:{resourceName}

        The following is the format of a DB Cluster ARN:

        arn:aws:rds:{region}:{accountId}:cluster:{resourceName}

        Returns:
        The ARN that identifies the Amazon RDS.

        The following is the format of the ARN:

        arn:aws:rds:{region}:{accountId}:db:{resourceName}

        The following is the format of a DB Cluster ARN:

        arn:aws:rds:{region}:{accountId}:cluster:{resourceName}

      • setResourceArns

        public void setResourceArns(Collection<String> resourceArns)

        The ARN that identifies the Amazon RDS.

        The following is the format of the ARN:

        arn:aws:rds:{region}:{accountId}:db:{resourceName}

        The following is the format of a DB Cluster ARN:

        arn:aws:rds:{region}:{accountId}:cluster:{resourceName}

        Parameters:
        resourceArns - The ARN that identifies the Amazon RDS.

        The following is the format of the ARN:

        arn:aws:rds:{region}:{accountId}:db:{resourceName}

        The following is the format of a DB Cluster ARN:

        arn:aws:rds:{region}:{accountId}:cluster:{resourceName}

      • withResourceArns

        public GetRDSDatabaseRecommendationsRequest withResourceArns(String... resourceArns)

        The ARN that identifies the Amazon RDS.

        The following is the format of the ARN:

        arn:aws:rds:{region}:{accountId}:db:{resourceName}

        The following is the format of a DB Cluster ARN:

        arn:aws:rds:{region}:{accountId}:cluster:{resourceName}

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

        Parameters:
        resourceArns - The ARN that identifies the Amazon RDS.

        The following is the format of the ARN:

        arn:aws:rds:{region}:{accountId}:db:{resourceName}

        The following is the format of a DB Cluster ARN:

        arn:aws:rds:{region}:{accountId}:cluster:{resourceName}

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

        public GetRDSDatabaseRecommendationsRequest withResourceArns(Collection<String> resourceArns)

        The ARN that identifies the Amazon RDS.

        The following is the format of the ARN:

        arn:aws:rds:{region}:{accountId}:db:{resourceName}

        The following is the format of a DB Cluster ARN:

        arn:aws:rds:{region}:{accountId}:cluster:{resourceName}

        Parameters:
        resourceArns - The ARN that identifies the Amazon RDS.

        The following is the format of the ARN:

        arn:aws:rds:{region}:{accountId}:db:{resourceName}

        The following is the format of a DB Cluster ARN:

        arn:aws:rds:{region}:{accountId}:cluster:{resourceName}

        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 Amazon RDS recommendations.

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

        public String getNextToken()

        The token to advance to the next page of Amazon RDS recommendations.

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

        public GetRDSDatabaseRecommendationsRequest withNextToken(String nextToken)

        The token to advance to the next page of Amazon RDS recommendations.

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

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

      • withMaxResults

        public GetRDSDatabaseRecommendationsRequest withMaxResults(Integer maxResults)

        The maximum number of Amazon RDS 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 Amazon RDS 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<RDSDBRecommendationFilter> getFilters()

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

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

        public void setFilters(Collection<RDSDBRecommendationFilter> filters)

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

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

        public GetRDSDatabaseRecommendationsRequest withFilters(Collection<RDSDBRecommendationFilter> filters)

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

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

        public List<String> getAccountIds()

        Return the Amazon RDS recommendations to the specified Amazon Web Services account IDs.

        If your account is the management account or the delegated administrator of an organization, use this parameter to return the Amazon RDS recommendations to specific member accounts.

        You can only specify one account ID per request.

        Returns:
        Return the Amazon RDS recommendations to the specified Amazon Web Services account IDs.

        If your account is the management account or the delegated administrator of an organization, use this parameter to return the Amazon RDS recommendations to specific member accounts.

        You can only specify one account ID per request.

      • setAccountIds

        public void setAccountIds(Collection<String> accountIds)

        Return the Amazon RDS recommendations to the specified Amazon Web Services account IDs.

        If your account is the management account or the delegated administrator of an organization, use this parameter to return the Amazon RDS recommendations to specific member accounts.

        You can only specify one account ID per request.

        Parameters:
        accountIds - Return the Amazon RDS recommendations to the specified Amazon Web Services account IDs.

        If your account is the management account or the delegated administrator of an organization, use this parameter to return the Amazon RDS recommendations to specific member accounts.

        You can only specify one account ID per request.

      • withAccountIds

        public GetRDSDatabaseRecommendationsRequest withAccountIds(String... accountIds)

        Return the Amazon RDS recommendations to the specified Amazon Web Services account IDs.

        If your account is the management account or the delegated administrator of an organization, use this parameter to return the Amazon RDS recommendations to specific member accounts.

        You can only specify one account ID 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 - Return the Amazon RDS recommendations to the specified Amazon Web Services account IDs.

        If your account is the management account or the delegated administrator of an organization, use this parameter to return the Amazon RDS recommendations to specific member accounts.

        You can only specify one account ID per request.

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

        public GetRDSDatabaseRecommendationsRequest withAccountIds(Collection<String> accountIds)

        Return the Amazon RDS recommendations to the specified Amazon Web Services account IDs.

        If your account is the management account or the delegated administrator of an organization, use this parameter to return the Amazon RDS recommendations to specific member accounts.

        You can only specify one account ID per request.

        Parameters:
        accountIds - Return the Amazon RDS recommendations to the specified Amazon Web Services account IDs.

        If your account is the management account or the delegated administrator of an organization, use this parameter to return the Amazon RDS recommendations to specific member accounts.

        You can only specify one account ID per request.

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

        public void setRecommendationPreferences(RecommendationPreferences recommendationPreferences)
        Parameters:
        recommendationPreferences -
      • 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 によって変換されたページ (->オリジナル) /