public static interface GetEbsVolumeRecommendationsResponse.Builder extends ComputeOptimizerResponse.Builder, SdkPojo, CopyableBuilder<GetEbsVolumeRecommendationsResponse.Builder,GetEbsVolumeRecommendationsResponse>
| Modifier and Type | Method and Description |
|---|---|
GetEbsVolumeRecommendationsResponse.Builder |
errors(Collection<GetRecommendationError> errors)
An array of objects that describe errors of the request.
|
GetEbsVolumeRecommendationsResponse.Builder |
errors(Consumer<GetRecommendationError.Builder>... errors)
An array of objects that describe errors of the request.
|
GetEbsVolumeRecommendationsResponse.Builder |
errors(GetRecommendationError... errors)
An array of objects that describe errors of the request.
|
GetEbsVolumeRecommendationsResponse.Builder |
nextToken(String nextToken)
The token to use to advance to the next page of volume recommendations.
|
GetEbsVolumeRecommendationsResponse.Builder |
volumeRecommendations(Collection<VolumeRecommendation> volumeRecommendations)
An array of objects that describe volume recommendations.
|
GetEbsVolumeRecommendationsResponse.Builder |
volumeRecommendations(Consumer<VolumeRecommendation.Builder>... volumeRecommendations)
An array of objects that describe volume recommendations.
|
GetEbsVolumeRecommendationsResponse.Builder |
volumeRecommendations(VolumeRecommendation... volumeRecommendations)
An array of objects that describe volume recommendations.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildGetEbsVolumeRecommendationsResponse.Builder nextToken(String nextToken)
The token to use to advance to the next page of volume recommendations.
This value is null when there are no more pages of volume recommendations to return.
nextToken - The token to use to advance to the next page of volume recommendations.
This value is null when there are no more pages of volume recommendations to return.
GetEbsVolumeRecommendationsResponse.Builder volumeRecommendations(Collection<VolumeRecommendation> volumeRecommendations)
An array of objects that describe volume recommendations.
volumeRecommendations - An array of objects that describe volume recommendations.GetEbsVolumeRecommendationsResponse.Builder volumeRecommendations(VolumeRecommendation... volumeRecommendations)
An array of objects that describe volume recommendations.
volumeRecommendations - An array of objects that describe volume recommendations.GetEbsVolumeRecommendationsResponse.Builder volumeRecommendations(Consumer<VolumeRecommendation.Builder>... volumeRecommendations)
An array of objects that describe volume recommendations.
This is a convenience method that creates an instance of theVolumeRecommendation.Builder avoiding the need
to create one manually via
VolumeRecommendation.builder().
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to #volumeRecommendations(List.
volumeRecommendations - a consumer that will call methods on
VolumeRecommendation.Builder#volumeRecommendations(java.util.Collection) GetEbsVolumeRecommendationsResponse.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 unsupported volume.
errors - An array of objects that describe errors of the request.
For example, an error is returned if you request recommendations for an unsupported volume.
GetEbsVolumeRecommendationsResponse.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 unsupported volume.
errors - An array of objects that describe errors of the request.
For example, an error is returned if you request recommendations for an unsupported volume.
GetEbsVolumeRecommendationsResponse.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 unsupported volume.
This is a convenience method that creates an instance of theGetRecommendationError.Builder avoiding the
need to create one manually via
GetRecommendationError.builder().
When the Consumer completes,
SdkBuilder.build() is
called immediately and its result is passed to #errors(List.
errors - a consumer that will call methods on
GetRecommendationError.Builder#errors(java.util.Collection) Copyright © 2023. All rights reserved.