Interface NotifyRecommendationsReceivedResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<NotifyRecommendationsReceivedResponse.Builder,,NotifyRecommendationsReceivedResponse> QConnectResponse.Builder,SdkBuilder<NotifyRecommendationsReceivedResponse.Builder,,NotifyRecommendationsReceivedResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
NotifyRecommendationsReceivedResponse
public static interface NotifyRecommendationsReceivedResponse.Builder
extends QConnectResponse.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
copyMethods inherited from interface software.amazon.awssdk.services.qconnect.model.QConnectResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
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.Builderavoiding the need to create one manually viaNotifyRecommendationsReceivedError.builder().When the
Consumercompletes,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.
-