Interface DescribeSavingsPlansRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<DescribeSavingsPlansRequest.Builder,DescribeSavingsPlansRequest>,SavingsplansRequest.Builder,SdkBuilder<DescribeSavingsPlansRequest.Builder,DescribeSavingsPlansRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- DescribeSavingsPlansRequest
public static interface DescribeSavingsPlansRequest.Builder extends SavingsplansRequest.Builder, SdkPojo, CopyableBuilder<DescribeSavingsPlansRequest.Builder,DescribeSavingsPlansRequest>
-
-
Method Summary
-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.savingsplans.model.SavingsplansRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
savingsPlanArns
DescribeSavingsPlansRequest.Builder savingsPlanArns(Collection<String> savingsPlanArns)
The Amazon Resource Names (ARN) of the Savings Plans.
- Parameters:
savingsPlanArns- The Amazon Resource Names (ARN) of the Savings Plans.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
savingsPlanArns
DescribeSavingsPlansRequest.Builder savingsPlanArns(String... savingsPlanArns)
The Amazon Resource Names (ARN) of the Savings Plans.
- Parameters:
savingsPlanArns- The Amazon Resource Names (ARN) of the Savings Plans.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
savingsPlanIds
DescribeSavingsPlansRequest.Builder savingsPlanIds(Collection<String> savingsPlanIds)
The IDs of the Savings Plans.
- Parameters:
savingsPlanIds- The IDs of the Savings Plans.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
savingsPlanIds
DescribeSavingsPlansRequest.Builder savingsPlanIds(String... savingsPlanIds)
The IDs of the Savings Plans.
- Parameters:
savingsPlanIds- The IDs of the Savings Plans.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
DescribeSavingsPlansRequest.Builder nextToken(String nextToken)
The token for the next page of results.
- Parameters:
nextToken- The token for the next page of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxResults
DescribeSavingsPlansRequest.Builder maxResults(Integer maxResults)
The maximum number of results to return with a single call. To retrieve additional results, make another call with the returned token value.
- Parameters:
maxResults- The maximum number of results to return with a single call. To retrieve additional results, make another call with the returned token value.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
statesWithStrings
DescribeSavingsPlansRequest.Builder statesWithStrings(Collection<String> states)
The states.
- Parameters:
states- The states.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
statesWithStrings
DescribeSavingsPlansRequest.Builder statesWithStrings(String... states)
The states.
- Parameters:
states- The states.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
states
DescribeSavingsPlansRequest.Builder states(Collection<SavingsPlanState> states)
The states.
- Parameters:
states- The states.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
states
DescribeSavingsPlansRequest.Builder states(SavingsPlanState... states)
The states.
- Parameters:
states- The states.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
DescribeSavingsPlansRequest.Builder filters(Collection<SavingsPlanFilter> filters)
The filters.
- Parameters:
filters- The filters.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
DescribeSavingsPlansRequest.Builder filters(SavingsPlanFilter... filters)
The filters.
- Parameters:
filters- The filters.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
DescribeSavingsPlansRequest.Builder filters(Consumer<SavingsPlanFilter.Builder>... filters)
The filters.
This is a convenience method that creates an instance of theSavingsPlanFilter.Builderavoiding the need to create one manually viaSavingsPlanFilter.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#filters(List.) - Parameters:
filters- a consumer that will call methods onSavingsPlanFilter.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#filters(java.util.Collection)
-
overrideConfiguration
DescribeSavingsPlansRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
DescribeSavingsPlansRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-