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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DescribeSavingsPlansOfferingRatesResponse.BuildernextToken(String nextToken)The token to use to retrieve the next page of results.DescribeSavingsPlansOfferingRatesResponse.BuildersearchResults(Collection<SavingsPlanOfferingRate> searchResults)Information about the Savings Plans offering rates.DescribeSavingsPlansOfferingRatesResponse.BuildersearchResults(Consumer<SavingsPlanOfferingRate.Builder>... searchResults)Information about the Savings Plans offering rates.DescribeSavingsPlansOfferingRatesResponse.BuildersearchResults(SavingsPlanOfferingRate... searchResults)Information about the Savings Plans offering rates.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.savingsplans.model.SavingsplansResponse.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
-
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 to#searchResults(List.) - 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:
#searchResults(java.util.Collection)
-
nextToken
DescribeSavingsPlansOfferingRatesResponse.Builder nextToken(String 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.
-
-