Interface DescribeSavingsPlansResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribeSavingsPlansResponse.Builder,DescribeSavingsPlansResponse>,SavingsplansResponse.Builder,SdkBuilder<DescribeSavingsPlansResponse.Builder,DescribeSavingsPlansResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- DescribeSavingsPlansResponse
public static interface DescribeSavingsPlansResponse.Builder extends SavingsplansResponse.Builder, SdkPojo, CopyableBuilder<DescribeSavingsPlansResponse.Builder,DescribeSavingsPlansResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DescribeSavingsPlansResponse.BuildernextToken(String nextToken)The token to use to retrieve the next page of results.DescribeSavingsPlansResponse.BuildersavingsPlans(Collection<SavingsPlan> savingsPlans)Information about the Savings Plans.DescribeSavingsPlansResponse.BuildersavingsPlans(Consumer<SavingsPlan.Builder>... savingsPlans)Information about the Savings Plans.DescribeSavingsPlansResponse.BuildersavingsPlans(SavingsPlan... savingsPlans)Information about the Savings Plans.-
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
-
savingsPlans
DescribeSavingsPlansResponse.Builder savingsPlans(Collection<SavingsPlan> savingsPlans)
Information about the Savings Plans.
- Parameters:
savingsPlans- Information about the Savings Plans.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
savingsPlans
DescribeSavingsPlansResponse.Builder savingsPlans(SavingsPlan... savingsPlans)
Information about the Savings Plans.
- Parameters:
savingsPlans- Information about the Savings Plans.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
savingsPlans
DescribeSavingsPlansResponse.Builder savingsPlans(Consumer<SavingsPlan.Builder>... savingsPlans)
Information about the Savings Plans.
This is a convenience method that creates an instance of theSavingsPlan.Builderavoiding the need to create one manually viaSavingsPlan.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#savingsPlans(List.) - Parameters:
savingsPlans- a consumer that will call methods onSavingsPlan.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#savingsPlans(java.util.Collection)
-
nextToken
DescribeSavingsPlansResponse.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.
-
-