Interface GetRdsDatabaseRecommendationsRequest.Builder

All Superinterfaces:
AwsRequest.Builder, Buildable, ComputeOptimizerRequest.Builder, CopyableBuilder<GetRdsDatabaseRecommendationsRequest.Builder,GetRdsDatabaseRecommendationsRequest>, SdkBuilder<GetRdsDatabaseRecommendationsRequest.Builder,GetRdsDatabaseRecommendationsRequest>, SdkPojo, SdkRequest.Builder
Enclosing class:
GetRdsDatabaseRecommendationsRequest

  • Method Details

    • 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.
    • 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.
    • 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.
    • 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.
    • 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.
    • 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.
    • filters

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

      This is a convenience method that creates an instance of the RDSDBRecommendationFilter.Builder avoiding the need to create one manually via RDSDBRecommendationFilter.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to filters(List<RDSDBRecommendationFilter>).

      Parameters:
      filters - a consumer that will call methods on RDSDBRecommendationFilter.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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.
    • 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.
    • recommendationPreferences

      GetRdsDatabaseRecommendationsRequest.Builder recommendationPreferences(RecommendationPreferences recommendationPreferences)
      Sets the value of the RecommendationPreferences property for this object.
      Parameters:
      recommendationPreferences - The new value for the RecommendationPreferences property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • recommendationPreferences

      default GetRdsDatabaseRecommendationsRequest.Builder recommendationPreferences(Consumer<RecommendationPreferences.Builder> recommendationPreferences)
      Sets the value of the RecommendationPreferences property for this object. This is a convenience method that creates an instance of the RecommendationPreferences.Builder avoiding the need to create one manually via RecommendationPreferences.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to recommendationPreferences(RecommendationPreferences).

      Parameters:
      recommendationPreferences - a consumer that will call methods on RecommendationPreferences.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.