Interface ListPriceListsRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<ListPriceListsRequest.Builder,ListPriceListsRequest>,PricingRequest.Builder,SdkBuilder<ListPriceListsRequest.Builder,ListPriceListsRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- ListPriceListsRequest
public static interface ListPriceListsRequest.Builder extends PricingRequest.Builder, SdkPojo, CopyableBuilder<ListPriceListsRequest.Builder,ListPriceListsRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListPriceListsRequest.BuildercurrencyCode(String currencyCode)The three alphabetical character ISO-4217 currency code that the Price List files are denominated in.ListPriceListsRequest.BuildereffectiveDate(Instant effectiveDate)The date that the Price List file prices are effective from.ListPriceListsRequest.BuildermaxResults(Integer maxResults)The maximum number of results to return in the response.ListPriceListsRequest.BuildernextToken(String nextToken)The pagination token that indicates the next set of results that you want to retrieve.ListPriceListsRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)ListPriceListsRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)ListPriceListsRequest.BuilderregionCode(String regionCode)This is used to filter the Price List by Amazon Web Services Region.ListPriceListsRequest.BuilderserviceCode(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, sdkFields
-
-
-
-
Method Detail
-
serviceCode
ListPriceListsRequest.Builder serviceCode(String 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
ListPriceListsRequest.Builder effectiveDate(Instant 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
ListPriceListsRequest.Builder regionCode(String 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 availableRegionCodelist 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 availableRegionCodelist can be retrieved from GetAttributeValues API.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
currencyCode
ListPriceListsRequest.Builder currencyCode(String 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
ListPriceListsRequest.Builder nextToken(String 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
ListPriceListsRequest.Builder maxResults(Integer 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)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
ListPriceListsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-