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 Summary
Modifier and TypeMethodDescriptionaccountIds
(String... accountIds) Return the Amazon RDS recommendations to the specified Amazon Web Services account IDs.accountIds
(Collection<String> accountIds) Return the Amazon RDS recommendations to the specified Amazon Web Services account IDs.filters
(Collection<RDSDBRecommendationFilter> filters) An array of objects to specify a filter that returns a more specific list of Amazon RDS recommendations.filters
(Consumer<RDSDBRecommendationFilter.Builder>... filters) An array of objects to specify a filter that returns a more specific list of Amazon RDS recommendations.filters
(RDSDBRecommendationFilter... filters) An array of objects to specify a filter that returns a more specific list of Amazon RDS recommendations.maxResults
(Integer maxResults) The maximum number of Amazon RDS recommendations to return with a single request.The token to advance to the next page of Amazon RDS recommendations.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.recommendationPreferences
(Consumer<RecommendationPreferences.Builder> recommendationPreferences) Sets the value of the RecommendationPreferences property for this object.recommendationPreferences
(RecommendationPreferences recommendationPreferences) Sets the value of the RecommendationPreferences property for this object.resourceArns
(String... resourceArns) The ARN that identifies the Amazon RDS.resourceArns
(Collection<String> resourceArns) The ARN that identifies the Amazon RDS.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.services.computeoptimizer.model.ComputeOptimizerRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
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
GetRdsDatabaseRecommendationsRequest.Builder filters(Consumer<RDSDBRecommendationFilter.Builder>... 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 theRDSDBRecommendationFilter.Builder
avoiding the need to create one manually viaRDSDBRecommendationFilter.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tofilters(List<RDSDBRecommendationFilter>)
.- Parameters:
filters
- a consumer that will call methods onRDSDBRecommendationFilter.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 theRecommendationPreferences.Builder
avoiding the need to create one manually viaRecommendationPreferences.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed torecommendationPreferences(RecommendationPreferences)
.- Parameters:
recommendationPreferences
- a consumer that will call methods onRecommendationPreferences.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
GetRdsDatabaseRecommendationsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
GetRdsDatabaseRecommendationsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-