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
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.rds.model.RdsRequest.Builder
build
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
-
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.Builder
avoiding the need to create one manually viaRecommendedActionUpdate.builder()
.When the
Consumer
completes,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.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
ModifyDbRecommendationRequest.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.
-