Interface DescribeSavingsPlansOfferingRatesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribeSavingsPlansOfferingRatesResponse.Builder,,DescribeSavingsPlansOfferingRatesResponse> SavingsplansResponse.Builder,SdkBuilder<DescribeSavingsPlansOfferingRatesResponse.Builder,,DescribeSavingsPlansOfferingRatesResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
DescribeSavingsPlansOfferingRatesResponse
public static interface DescribeSavingsPlansOfferingRatesResponse.Builder
extends SavingsplansResponse.Builder, SdkPojo, CopyableBuilder<DescribeSavingsPlansOfferingRatesResponse.Builder,DescribeSavingsPlansOfferingRatesResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe token to use to retrieve the next page of results.searchResults(Collection<SavingsPlanOfferingRate> searchResults) Information about the Savings Plans offering rates.searchResults(Consumer<SavingsPlanOfferingRate.Builder>... searchResults) Information about the Savings Plans offering rates.searchResults(SavingsPlanOfferingRate... searchResults) Information about the Savings Plans offering rates.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.savingsplans.model.SavingsplansResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
searchResults
DescribeSavingsPlansOfferingRatesResponse.Builder searchResults(Collection<SavingsPlanOfferingRate> searchResults) Information about the Savings Plans offering rates.
- Parameters:
searchResults- Information about the Savings Plans offering rates.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
searchResults
DescribeSavingsPlansOfferingRatesResponse.Builder searchResults(SavingsPlanOfferingRate... searchResults) Information about the Savings Plans offering rates.
- Parameters:
searchResults- Information about the Savings Plans offering rates.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
searchResults
DescribeSavingsPlansOfferingRatesResponse.Builder searchResults(Consumer<SavingsPlanOfferingRate.Builder>... searchResults) Information about the Savings Plans offering rates.
This is a convenience method that creates an instance of theSavingsPlanOfferingRate.Builderavoiding the need to create one manually viaSavingsPlanOfferingRate.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosearchResults(List<SavingsPlanOfferingRate>).- Parameters:
searchResults- a consumer that will call methods onSavingsPlanOfferingRate.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The token to use to retrieve the next page of results. This value is null when there are no more results to return.
- Parameters:
nextToken- The token to use to retrieve the next page of results. This value is null when there are no more results to return.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-