Interface BatchUpdateRecommendationStatusRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<BatchUpdateRecommendationStatusRequest.Builder,
,BatchUpdateRecommendationStatusRequest> ResiliencehubRequest.Builder
,SdkBuilder<BatchUpdateRecommendationStatusRequest.Builder,
,BatchUpdateRecommendationStatusRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
BatchUpdateRecommendationStatusRequest
@Mutable
@NotThreadSafe
public static interface BatchUpdateRecommendationStatusRequest.Builder
extends ResiliencehubRequest.Builder, SdkPojo, CopyableBuilder<BatchUpdateRecommendationStatusRequest.Builder,BatchUpdateRecommendationStatusRequest>
-
Method Summary
Modifier and TypeMethodDescriptionAmazon Resource Name (ARN) of the Resilience Hub application.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.requestEntries
(Collection<UpdateRecommendationStatusRequestEntry> requestEntries) Defines the list of operational recommendations that need to be included or excluded.requestEntries
(Consumer<UpdateRecommendationStatusRequestEntry.Builder>... requestEntries) Defines the list of operational recommendations that need to be included or excluded.requestEntries
(UpdateRecommendationStatusRequestEntry... requestEntries) Defines the list of operational recommendations that need to be included or excluded.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.resiliencehub.model.ResiliencehubRequest.Builder
build
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 Details
-
appArn
Amazon Resource Name (ARN) of the Resilience Hub application. The format for this ARN is: arn:
partition
:resiliencehub:region
:account
:app/app-id
. For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference guide.- Parameters:
appArn
- Amazon Resource Name (ARN) of the Resilience Hub application. The format for this ARN is: arn:partition
:resiliencehub:region
:account
:app/app-id
. For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
requestEntries
BatchUpdateRecommendationStatusRequest.Builder requestEntries(Collection<UpdateRecommendationStatusRequestEntry> requestEntries) Defines the list of operational recommendations that need to be included or excluded.
- Parameters:
requestEntries
- Defines the list of operational recommendations that need to be included or excluded.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
requestEntries
BatchUpdateRecommendationStatusRequest.Builder requestEntries(UpdateRecommendationStatusRequestEntry... requestEntries) Defines the list of operational recommendations that need to be included or excluded.
- Parameters:
requestEntries
- Defines the list of operational recommendations that need to be included or excluded.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
requestEntries
BatchUpdateRecommendationStatusRequest.Builder requestEntries(Consumer<UpdateRecommendationStatusRequestEntry.Builder>... requestEntries) Defines the list of operational recommendations that need to be included or excluded.
This is a convenience method that creates an instance of theUpdateRecommendationStatusRequestEntry.Builder
avoiding the need to create one manually viaUpdateRecommendationStatusRequestEntry.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed torequestEntries(List<UpdateRecommendationStatusRequestEntry>)
.- Parameters:
requestEntries
- a consumer that will call methods onUpdateRecommendationStatusRequestEntry.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
BatchUpdateRecommendationStatusRequest.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
BatchUpdateRecommendationStatusRequest.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.
-