public static interface GetEc2InstanceRecommendationsResponse.Builder extends ComputeOptimizerResponse.Builder, SdkPojo, CopyableBuilder<GetEc2InstanceRecommendationsResponse.Builder,GetEc2InstanceRecommendationsResponse>
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildGetEc2InstanceRecommendationsResponse.Builder nextToken(String nextToken)
The token to use to advance to the next page of instance recommendations.
This value is null when there are no more pages of instance recommendations to return.
nextToken - The token to use to advance to the next page of instance recommendations.
This value is null when there are no more pages of instance recommendations to return.
GetEc2InstanceRecommendationsResponse.Builder instanceRecommendations(Collection<InstanceRecommendation> instanceRecommendations)
An array of objects that describe instance recommendations.
instanceRecommendations - An array of objects that describe instance recommendations.GetEc2InstanceRecommendationsResponse.Builder instanceRecommendations(InstanceRecommendation... instanceRecommendations)
An array of objects that describe instance recommendations.
instanceRecommendations - An array of objects that describe instance recommendations.GetEc2InstanceRecommendationsResponse.Builder instanceRecommendations(Consumer<InstanceRecommendation.Builder>... instanceRecommendations)
An array of objects that describe instance recommendations.
This is a convenience that creates an instance of theList.Builder avoiding
the need to create one manually via List#builder() .
When the Consumer completes, List.Builder#build() is called
immediately and its result is passed to #instanceRecommendations(List) .instanceRecommendations - a consumer that will call methods on List.Builder #instanceRecommendations(List) GetEc2InstanceRecommendationsResponse.Builder errors(Collection<GetRecommendationError> errors)
An array of objects that describe errors of the request.
For example, an error is returned if you request recommendations for an instance of an unsupported instance family.
errors - An array of objects that describe errors of the request.
For example, an error is returned if you request recommendations for an instance of an unsupported instance family.
GetEc2InstanceRecommendationsResponse.Builder errors(GetRecommendationError... errors)
An array of objects that describe errors of the request.
For example, an error is returned if you request recommendations for an instance of an unsupported instance family.
errors - An array of objects that describe errors of the request.
For example, an error is returned if you request recommendations for an instance of an unsupported instance family.
GetEc2InstanceRecommendationsResponse.Builder errors(Consumer<GetRecommendationError.Builder>... errors)
An array of objects that describe errors of the request.
For example, an error is returned if you request recommendations for an instance of an unsupported instance family.
This is a convenience that creates an instance of theList.Builder avoiding
the need to create one manually via List#builder() .
When the Consumer completes, List.Builder#build() is called
immediately and its result is passed to #errors(List) .errors - a consumer that will call methods on List.Builder #errors(List) Copyright © 2021. All rights reserved.