Interface DescribeSavingsPlanRatesResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribeSavingsPlanRatesResponse.Builder,DescribeSavingsPlanRatesResponse>,SavingsplansResponse.Builder,SdkBuilder<DescribeSavingsPlanRatesResponse.Builder,DescribeSavingsPlanRatesResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- DescribeSavingsPlanRatesResponse
public static interface DescribeSavingsPlanRatesResponse.Builder extends SavingsplansResponse.Builder, SdkPojo, CopyableBuilder<DescribeSavingsPlanRatesResponse.Builder,DescribeSavingsPlanRatesResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DescribeSavingsPlanRatesResponse.BuildernextToken(String nextToken)The token to use to retrieve the next page of results.DescribeSavingsPlanRatesResponse.BuildersavingsPlanId(String savingsPlanId)The ID of the Savings Plan.DescribeSavingsPlanRatesResponse.BuildersearchResults(Collection<SavingsPlanRate> searchResults)Information about the Savings Plan rates.DescribeSavingsPlanRatesResponse.BuildersearchResults(Consumer<SavingsPlanRate.Builder>... searchResults)Information about the Savings Plan rates.DescribeSavingsPlanRatesResponse.BuildersearchResults(SavingsPlanRate... searchResults)Information about the Savings Plan 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
-
savingsPlanId
DescribeSavingsPlanRatesResponse.Builder savingsPlanId(String savingsPlanId)
The ID of the Savings Plan.
- Parameters:
savingsPlanId- The ID of the Savings Plan.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
searchResults
DescribeSavingsPlanRatesResponse.Builder searchResults(Collection<SavingsPlanRate> searchResults)
Information about the Savings Plan rates.
- Parameters:
searchResults- Information about the Savings Plan rates.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
searchResults
DescribeSavingsPlanRatesResponse.Builder searchResults(SavingsPlanRate... searchResults)
Information about the Savings Plan rates.
- Parameters:
searchResults- Information about the Savings Plan rates.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
searchResults
DescribeSavingsPlanRatesResponse.Builder searchResults(Consumer<SavingsPlanRate.Builder>... searchResults)
Information about the Savings Plan rates.
This is a convenience method that creates an instance of theSavingsPlanRate.Builderavoiding the need to create one manually viaSavingsPlanRate.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 onSavingsPlanRate.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#searchResults(java.util.Collection)
-
nextToken
DescribeSavingsPlanRatesResponse.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.
-
-