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
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.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.Builder
avoiding the need to create one manually viaRecommendation.builder()
.When the
Consumer
completes,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
ListRecommendationsResponse
to use in the subsequent call toListRecommendations
with 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 theListRecommendationsResponse
to use in the subsequent call toListRecommendations
with 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.
-