Interface BatchUpdateRecommendationStatusResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<BatchUpdateRecommendationStatusResponse.Builder,
,BatchUpdateRecommendationStatusResponse> ResiliencehubResponse.Builder
,SdkBuilder<BatchUpdateRecommendationStatusResponse.Builder,
,BatchUpdateRecommendationStatusResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
BatchUpdateRecommendationStatusResponse
-
Method Summary
Modifier and TypeMethodDescriptionAmazon Resource Name (ARN) of the Resilience Hub application.failedEntries
(Collection<BatchUpdateRecommendationStatusFailedEntry> failedEntries) A list of items with error details about each item, which could not be included or excluded.failedEntries
(Consumer<BatchUpdateRecommendationStatusFailedEntry.Builder>... failedEntries) A list of items with error details about each item, which could not be included or excluded.failedEntries
(BatchUpdateRecommendationStatusFailedEntry... failedEntries) A list of items with error details about each item, which could not be included or excluded.successfulEntries
(Collection<BatchUpdateRecommendationStatusSuccessfulEntry> successfulEntries) A list of items that were included or excluded.successfulEntries
(Consumer<BatchUpdateRecommendationStatusSuccessfulEntry.Builder>... successfulEntries) A list of items that were included or excluded.successfulEntries
(BatchUpdateRecommendationStatusSuccessfulEntry... successfulEntries) A list of items that were included or excluded.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.resiliencehub.model.ResiliencehubResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
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.
-
failedEntries
BatchUpdateRecommendationStatusResponse.Builder failedEntries(Collection<BatchUpdateRecommendationStatusFailedEntry> failedEntries) A list of items with error details about each item, which could not be included or excluded.
- Parameters:
failedEntries
- A list of items with error details about each item, which could not be included or excluded.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failedEntries
BatchUpdateRecommendationStatusResponse.Builder failedEntries(BatchUpdateRecommendationStatusFailedEntry... failedEntries) A list of items with error details about each item, which could not be included or excluded.
- Parameters:
failedEntries
- A list of items with error details about each item, which could not be included or excluded.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failedEntries
BatchUpdateRecommendationStatusResponse.Builder failedEntries(Consumer<BatchUpdateRecommendationStatusFailedEntry.Builder>... failedEntries) A list of items with error details about each item, which could not be included or excluded.
This is a convenience method that creates an instance of theBatchUpdateRecommendationStatusFailedEntry.Builder
avoiding the need to create one manually viaBatchUpdateRecommendationStatusFailedEntry.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tofailedEntries(List<BatchUpdateRecommendationStatusFailedEntry>)
.- Parameters:
failedEntries
- a consumer that will call methods onBatchUpdateRecommendationStatusFailedEntry.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
successfulEntries
BatchUpdateRecommendationStatusResponse.Builder successfulEntries(Collection<BatchUpdateRecommendationStatusSuccessfulEntry> successfulEntries) A list of items that were included or excluded.
- Parameters:
successfulEntries
- A list of items that were included or excluded.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
successfulEntries
BatchUpdateRecommendationStatusResponse.Builder successfulEntries(BatchUpdateRecommendationStatusSuccessfulEntry... successfulEntries) A list of items that were included or excluded.
- Parameters:
successfulEntries
- A list of items that were included or excluded.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
successfulEntries
BatchUpdateRecommendationStatusResponse.Builder successfulEntries(Consumer<BatchUpdateRecommendationStatusSuccessfulEntry.Builder>... successfulEntries) A list of items that were included or excluded.
This is a convenience method that creates an instance of theBatchUpdateRecommendationStatusSuccessfulEntry.Builder
avoiding the need to create one manually viaBatchUpdateRecommendationStatusSuccessfulEntry.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosuccessfulEntries(List<BatchUpdateRecommendationStatusSuccessfulEntry>)
.- Parameters:
successfulEntries
- a consumer that will call methods onBatchUpdateRecommendationStatusSuccessfulEntry.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-