Interface ListRecommendationsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListRecommendationsResponse.Builder,ListRecommendationsResponse>,CostOptimizationHubResponse.Builder,SdkBuilder<ListRecommendationsResponse.Builder,ListRecommendationsResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListRecommendationsResponse
public static interface ListRecommendationsResponse.Builder extends CostOptimizationHubResponse.Builder, SdkPojo, CopyableBuilder<ListRecommendationsResponse.Builder,ListRecommendationsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListRecommendationsResponse.Builderitems(Collection<Recommendation> items)List of all savings recommendations.ListRecommendationsResponse.Builderitems(Consumer<Recommendation.Builder>... items)List of all savings recommendations.ListRecommendationsResponse.Builderitems(Recommendation... items)List of all savings recommendations.ListRecommendationsResponse.BuildernextToken(String nextToken)The token to retrieve the next set of results.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.costoptimizationhub.model.CostOptimizationHubResponse.Builder
build, responseMetadata, responseMetadata
-
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
-
-
-
-
Method Detail
-
items
ListRecommendationsResponse.Builder items(Collection<Recommendation> items)
List of all savings recommendations.
- Parameters:
items- List of all savings recommendations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
ListRecommendationsResponse.Builder items(Recommendation... items)
List of all savings recommendations.
- Parameters:
items- List of all savings recommendations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
ListRecommendationsResponse.Builder items(Consumer<Recommendation.Builder>... items)
List of all savings recommendations.
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#items(List.) - Parameters:
items- 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:
#items(java.util.Collection)
-
nextToken
ListRecommendationsResponse.Builder nextToken(String nextToken)
The token to retrieve the next set of results.
- Parameters:
nextToken- The token to retrieve the next set of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-