Interface ListPriceListsRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<ListPriceListsRequest.Builder,
,ListPriceListsRequest> PricingRequest.Builder
,SdkBuilder<ListPriceListsRequest.Builder,
,ListPriceListsRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
ListPriceListsRequest
-
Method Summary
Modifier and TypeMethodDescriptioncurrencyCode
(String currencyCode) The three alphabetical character ISO-4217 currency code that the Price List files are denominated in.effectiveDate
(Instant effectiveDate) The date that the Price List file prices are effective from.maxResults
(Integer maxResults) The maximum number of results to return in the response.The pagination token that indicates the next set of results that you want to retrieve.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.regionCode
(String regionCode) This is used to filter the Price List by Amazon Web Services Region.serviceCode
(String serviceCode) The service code or the Savings Plan service code for the attributes that you want to retrieve.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.pricing.model.PricingRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
serviceCode
The service code or the Savings Plan service code for the attributes that you want to retrieve. For example, to get the list of applicable Amazon EC2 price lists, use
AmazonEC2
. For a full list of service codes containing On-Demand and Reserved Instance (RI) pricing, use the DescribeServices API.To retrieve the Reserved Instance and Compute Savings Plan price lists, use
ComputeSavingsPlans
.To retrieve Machine Learning Savings Plans price lists, use
MachineLearningSavingsPlans
.- Parameters:
serviceCode
- The service code or the Savings Plan service code for the attributes that you want to retrieve. For example, to get the list of applicable Amazon EC2 price lists, useAmazonEC2
. For a full list of service codes containing On-Demand and Reserved Instance (RI) pricing, use the DescribeServices API.To retrieve the Reserved Instance and Compute Savings Plan price lists, use
ComputeSavingsPlans
.To retrieve Machine Learning Savings Plans price lists, use
MachineLearningSavingsPlans
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
effectiveDate
The date that the Price List file prices are effective from.
- Parameters:
effectiveDate
- The date that the Price List file prices are effective from.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
regionCode
This is used to filter the Price List by Amazon Web Services Region. For example, to get the price list only for the
US East (N. Virginia)
Region, useus-east-1
. If nothing is specified, you retrieve price lists for all applicable Regions. The availableRegionCode
list can be retrieved from GetAttributeValues API.- Parameters:
regionCode
- This is used to filter the Price List by Amazon Web Services Region. For example, to get the price list only for theUS East (N. Virginia)
Region, useus-east-1
. If nothing is specified, you retrieve price lists for all applicable Regions. The availableRegionCode
list can be retrieved from GetAttributeValues API.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
currencyCode
The three alphabetical character ISO-4217 currency code that the Price List files are denominated in.
- Parameters:
currencyCode
- The three alphabetical character ISO-4217 currency code that the Price List files are denominated in.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
The pagination token that indicates the next set of results that you want to retrieve.
- Parameters:
nextToken
- The pagination token that indicates the next set of results that you want to retrieve.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxResults
The maximum number of results to return in the response.
- Parameters:
maxResults
- The maximum number of results to return in the response.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
ListPriceListsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
ListPriceListsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-