Interface NotifyRecommendationsReceivedResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<NotifyRecommendationsReceivedResponse.Builder,
,NotifyRecommendationsReceivedResponse> SdkBuilder<NotifyRecommendationsReceivedResponse.Builder,
,NotifyRecommendationsReceivedResponse> SdkPojo
,SdkResponse.Builder
,WisdomResponse.Builder
- Enclosing class:
NotifyRecommendationsReceivedResponse
public static interface NotifyRecommendationsReceivedResponse.Builder
extends WisdomResponse.Builder, SdkPojo, CopyableBuilder<NotifyRecommendationsReceivedResponse.Builder,NotifyRecommendationsReceivedResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe identifiers of recommendations that are causing errors.errors
(Consumer<NotifyRecommendationsReceivedError.Builder>... errors) The identifiers of recommendations that are causing errors.errors
(NotifyRecommendationsReceivedError... errors) The identifiers of recommendations that are causing errors.recommendationIds
(String... recommendationIds) The identifiers of the recommendations.recommendationIds
(Collection<String> recommendationIds) The identifiers of the recommendations.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, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
Methods inherited from interface software.amazon.awssdk.services.wisdom.model.WisdomResponse.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
errors
NotifyRecommendationsReceivedResponse.Builder errors(Collection<NotifyRecommendationsReceivedError> errors) The identifiers of recommendations that are causing errors.
- Parameters:
errors
- The identifiers of recommendations that are causing errors.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errors
The identifiers of recommendations that are causing errors.
- Parameters:
errors
- The identifiers of recommendations that are causing errors.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errors
NotifyRecommendationsReceivedResponse.Builder errors(Consumer<NotifyRecommendationsReceivedError.Builder>... errors) The identifiers of recommendations that are causing errors.
This is a convenience method that creates an instance of theNotifyRecommendationsReceivedError.Builder
avoiding the need to create one manually viaNotifyRecommendationsReceivedError.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toerrors(List<NotifyRecommendationsReceivedError>)
.- Parameters:
errors
- a consumer that will call methods onNotifyRecommendationsReceivedError.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
recommendationIds
NotifyRecommendationsReceivedResponse.Builder recommendationIds(Collection<String> recommendationIds) The identifiers of the recommendations.
- Parameters:
recommendationIds
- The identifiers of the recommendations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
recommendationIds
The identifiers of the recommendations.
- Parameters:
recommendationIds
- The identifiers of the recommendations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-