Interface GetRdsDatabaseRecommendationsRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,ComputeOptimizerRequest.Builder,CopyableBuilder<GetRdsDatabaseRecommendationsRequest.Builder,GetRdsDatabaseRecommendationsRequest>,SdkBuilder<GetRdsDatabaseRecommendationsRequest.Builder,GetRdsDatabaseRecommendationsRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- GetRdsDatabaseRecommendationsRequest
public static interface GetRdsDatabaseRecommendationsRequest.Builder extends ComputeOptimizerRequest.Builder, SdkPojo, CopyableBuilder<GetRdsDatabaseRecommendationsRequest.Builder,GetRdsDatabaseRecommendationsRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description GetRdsDatabaseRecommendationsRequest.BuilderaccountIds(String... accountIds)Return the Amazon RDS recommendations to the specified Amazon Web Services account IDs.GetRdsDatabaseRecommendationsRequest.BuilderaccountIds(Collection<String> accountIds)Return the Amazon RDS recommendations to the specified Amazon Web Services account IDs.GetRdsDatabaseRecommendationsRequest.Builderfilters(Collection<RDSDBRecommendationFilter> filters)An array of objects to specify a filter that returns a more specific list of Amazon RDS recommendations.GetRdsDatabaseRecommendationsRequest.Builderfilters(Consumer<RDSDBRecommendationFilter.Builder>... filters)An array of objects to specify a filter that returns a more specific list of Amazon RDS recommendations.GetRdsDatabaseRecommendationsRequest.Builderfilters(RDSDBRecommendationFilter... filters)An array of objects to specify a filter that returns a more specific list of Amazon RDS recommendations.GetRdsDatabaseRecommendationsRequest.BuildermaxResults(Integer maxResults)The maximum number of Amazon RDS recommendations to return with a single request.GetRdsDatabaseRecommendationsRequest.BuildernextToken(String nextToken)The token to advance to the next page of Amazon RDS recommendations.GetRdsDatabaseRecommendationsRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)GetRdsDatabaseRecommendationsRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)default GetRdsDatabaseRecommendationsRequest.BuilderrecommendationPreferences(Consumer<RecommendationPreferences.Builder> recommendationPreferences)Sets the value of the RecommendationPreferences property for this object.GetRdsDatabaseRecommendationsRequest.BuilderrecommendationPreferences(RecommendationPreferences recommendationPreferences)Sets the value of the RecommendationPreferences property for this object.GetRdsDatabaseRecommendationsRequest.BuilderresourceArns(String... resourceArns)The ARN that identifies the Amazon RDS.GetRdsDatabaseRecommendationsRequest.BuilderresourceArns(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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
resourceArns
GetRdsDatabaseRecommendationsRequest.Builder resourceArns(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.
-
resourceArns
GetRdsDatabaseRecommendationsRequest.Builder resourceArns(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.
-
nextToken
GetRdsDatabaseRecommendationsRequest.Builder nextToken(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.
-
maxResults
GetRdsDatabaseRecommendationsRequest.Builder maxResults(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
nextTokenvalue.- 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
nextTokenvalue.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
GetRdsDatabaseRecommendationsRequest.Builder filters(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.
-
filters
GetRdsDatabaseRecommendationsRequest.Builder filters(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.
-
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.Builderavoiding the need to create one manually viaRDSDBRecommendationFilter.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#filters(List.) - 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:
#filters(java.util.Collection)
-
accountIds
GetRdsDatabaseRecommendationsRequest.Builder accountIds(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.
-
accountIds
GetRdsDatabaseRecommendationsRequest.Builder accountIds(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.
-
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.Builderavoiding the need to create one manually viaRecommendationPreferences.builder().When the
Consumercompletes,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:
recommendationPreferences(RecommendationPreferences)
-
overrideConfiguration
GetRdsDatabaseRecommendationsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
GetRdsDatabaseRecommendationsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-