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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description NotifyRecommendationsReceivedResponse.Buildererrors(Collection<NotifyRecommendationsReceivedError> errors)The identifiers of recommendations that are causing errors.NotifyRecommendationsReceivedResponse.Buildererrors(Consumer<NotifyRecommendationsReceivedError.Builder>... errors)The identifiers of recommendations that are causing errors.NotifyRecommendationsReceivedResponse.Buildererrors(NotifyRecommendationsReceivedError... errors)The identifiers of recommendations that are causing errors.NotifyRecommendationsReceivedResponse.BuilderrecommendationIds(String... recommendationIds)The identifiers of the recommendations.NotifyRecommendationsReceivedResponse.BuilderrecommendationIds(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, sdkFieldNameToField, 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 Detail
-
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
NotifyRecommendationsReceivedResponse.Builder errors(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
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.Builderavoiding the need to create one manually viaNotifyRecommendationsReceivedError.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#errors(List.) - 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:
#errors(java.util.Collection)
-
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
NotifyRecommendationsReceivedResponse.Builder recommendationIds(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.
-
-