Interface ListRecommendationsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListRecommendationsResponse.Builder,ListRecommendationsResponse>,RedshiftResponse.Builder,SdkBuilder<ListRecommendationsResponse.Builder,ListRecommendationsResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListRecommendationsResponse
public static interface ListRecommendationsResponse.Builder extends RedshiftResponse.Builder, SdkPojo, CopyableBuilder<ListRecommendationsResponse.Builder,ListRecommendationsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListRecommendationsResponse.Buildermarker(String marker)A value that indicates the starting point for the next set of response records in a subsequent request.ListRecommendationsResponse.Builderrecommendations(Collection<Recommendation> recommendations)The Advisor recommendations for action on the Amazon Redshift cluster.ListRecommendationsResponse.Builderrecommendations(Consumer<Recommendation.Builder>... recommendations)The Advisor recommendations for action on the Amazon Redshift cluster.ListRecommendationsResponse.Builderrecommendations(Recommendation... recommendations)The Advisor recommendations for action on the Amazon Redshift cluster.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.redshift.model.RedshiftResponse.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, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
recommendations
ListRecommendationsResponse.Builder recommendations(Collection<Recommendation> recommendations)
The Advisor recommendations for action on the Amazon Redshift cluster.
- Parameters:
recommendations- The Advisor recommendations for action on the Amazon Redshift cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
recommendations
ListRecommendationsResponse.Builder recommendations(Recommendation... recommendations)
The Advisor recommendations for action on the Amazon Redshift cluster.
- Parameters:
recommendations- The Advisor recommendations for action on the Amazon Redshift cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
recommendations
ListRecommendationsResponse.Builder recommendations(Consumer<Recommendation.Builder>... recommendations)
The Advisor recommendations for action on the Amazon Redshift cluster.
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)
-
marker
ListRecommendationsResponse.Builder marker(String marker)
A value that indicates the starting point for the next set of response records in a subsequent request. If a value is returned in a response, you can retrieve the next set of records by providing this returned marker value in the Marker parameter and retrying the command. If the Marker field is empty, all response records have been retrieved for the request.
- Parameters:
marker- A value that indicates the starting point for the next set of response records in a subsequent request. If a value is returned in a response, you can retrieve the next set of records by providing this returned marker value in the Marker parameter and retrying the command. If the Marker field is empty, all response records have been retrieved for the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-