Interface ModifyDbRecommendationRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<ModifyDbRecommendationRequest.Builder,,ModifyDbRecommendationRequest> RdsRequest.Builder,SdkBuilder<ModifyDbRecommendationRequest.Builder,,ModifyDbRecommendationRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
ModifyDbRecommendationRequest
public static interface ModifyDbRecommendationRequest.Builder
extends RdsRequest.Builder, SdkPojo, CopyableBuilder<ModifyDbRecommendationRequest.Builder,ModifyDbRecommendationRequest>
-
Method Summary
Modifier and TypeMethodDescriptionThe language of the modified recommendation.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.recommendationId(String recommendationId) The identifier of the recommendation to update.recommendedActionUpdates(Collection<RecommendedActionUpdate> recommendedActionUpdates) The list of recommended action status to update.recommendedActionUpdates(Consumer<RecommendedActionUpdate.Builder>... recommendedActionUpdates) The list of recommended action status to update.recommendedActionUpdates(RecommendedActionUpdate... recommendedActionUpdates) The list of recommended action status to update.The recommendation status to update.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.rds.model.RdsRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
recommendationId
The identifier of the recommendation to update.
- Parameters:
recommendationId- The identifier of the recommendation to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
locale
The language of the modified recommendation.
- Parameters:
locale- The language of the modified recommendation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The recommendation status to update.
Valid values:
-
active
-
dismissed
- Parameters:
status- The recommendation status to update.Valid values:
-
active
-
dismissed
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
recommendedActionUpdates
ModifyDbRecommendationRequest.Builder recommendedActionUpdates(Collection<RecommendedActionUpdate> recommendedActionUpdates) The list of recommended action status to update. You can update multiple recommended actions at one time.
- Parameters:
recommendedActionUpdates- The list of recommended action status to update. You can update multiple recommended actions at one time.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
recommendedActionUpdates
ModifyDbRecommendationRequest.Builder recommendedActionUpdates(RecommendedActionUpdate... recommendedActionUpdates) The list of recommended action status to update. You can update multiple recommended actions at one time.
- Parameters:
recommendedActionUpdates- The list of recommended action status to update. You can update multiple recommended actions at one time.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
recommendedActionUpdates
ModifyDbRecommendationRequest.Builder recommendedActionUpdates(Consumer<RecommendedActionUpdate.Builder>... recommendedActionUpdates) The list of recommended action status to update. You can update multiple recommended actions at one time.
This is a convenience method that creates an instance of theRecommendedActionUpdate.Builderavoiding the need to create one manually viaRecommendedActionUpdate.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed torecommendedActionUpdates(List<RecommendedActionUpdate>).- Parameters:
recommendedActionUpdates- a consumer that will call methods onRecommendedActionUpdate.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
ModifyDbRecommendationRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
ModifyDbRecommendationRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-