Interface ListRecommendationsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListRecommendationsResponse.Builder,,ListRecommendationsResponse> SdkBuilder<ListRecommendationsResponse.Builder,,ListRecommendationsResponse> SdkPojo,SdkResponse.Builder,SesV2Response.Builder
- Enclosing class:
ListRecommendationsResponse
@Mutable
@NotThreadSafe
public static interface ListRecommendationsResponse.Builder
extends SesV2Response.Builder, SdkPojo, CopyableBuilder<ListRecommendationsResponse.Builder,ListRecommendationsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionA string token indicating that there might be additional recommendations available to be listed.recommendations(Collection<Recommendation> recommendations) The recommendations applicable to your account.recommendations(Consumer<Recommendation.Builder>... recommendations) The recommendations applicable to your account.recommendations(Recommendation... recommendations) The recommendations applicable to your account.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods 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, sdkHttpResponseMethods inherited from interface software.amazon.awssdk.services.sesv2.model.SesV2Response.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
recommendations
The recommendations applicable to your account.
- Parameters:
recommendations- The recommendations applicable to your account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
recommendations
The recommendations applicable to your account.
- Parameters:
recommendations- The recommendations applicable to your account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
recommendations
ListRecommendationsResponse.Builder recommendations(Consumer<Recommendation.Builder>... recommendations) The recommendations applicable to your account.
This is a convenience method that creates an instance of theRecommendation.Builderavoiding the need to create one manually viaRecommendation.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed torecommendations(List<Recommendation>).- Parameters:
recommendations- a consumer that will call methods onRecommendation.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
A string token indicating that there might be additional recommendations available to be listed. Use the token provided in the
ListRecommendationsResponseto use in the subsequent call toListRecommendationswith the same parameters to retrieve the next page of recommendations.- Parameters:
nextToken- A string token indicating that there might be additional recommendations available to be listed. Use the token provided in theListRecommendationsResponseto use in the subsequent call toListRecommendationswith the same parameters to retrieve the next page of recommendations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-