Interface ListRecommendationsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListRecommendationsResponse.Builder,ListRecommendationsResponse>,SdkBuilder<ListRecommendationsResponse.Builder,ListRecommendationsResponse>,SdkPojo,SdkResponse.Builder,SesV2Response.Builder
- Enclosing class:
- ListRecommendationsResponse
public static interface ListRecommendationsResponse.Builder extends SesV2Response.Builder, SdkPojo, CopyableBuilder<ListRecommendationsResponse.Builder,ListRecommendationsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListRecommendationsResponse.BuildernextToken(String nextToken)A string token indicating that there might be additional recommendations available to be listed.ListRecommendationsResponse.Builderrecommendations(Collection<Recommendation> recommendations)The recommendations applicable to your account.ListRecommendationsResponse.Builderrecommendations(Consumer<Recommendation.Builder>... recommendations)The recommendations applicable to your account.ListRecommendationsResponse.Builderrecommendations(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, 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 Detail
-
recommendations
ListRecommendationsResponse.Builder recommendations(Collection<Recommendation> 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(Recommendation... 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 to#recommendations(List.) - 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:
#recommendations(java.util.Collection)
-
nextToken
ListRecommendationsResponse.Builder nextToken(String 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.
-
-