@Generated(value="software.amazon.awssdk:codegen") public final class ListPriceListsRequest extends PricingRequest implements ToCopyableBuilder<ListPriceListsRequest.Builder,ListPriceListsRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
ListPriceListsRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static ListPriceListsRequest.Builder |
builder() |
String |
currencyCode()
The three alphabetical character ISO-4217 currency code that the Price List files are denominated in.
|
Instant |
effectiveDate()
The date that the Price List file prices are effective from.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Integer |
maxResults()
The maximum number of results to return in the response.
|
String |
nextToken()
The pagination token that indicates the next set of results that you want to retrieve.
|
String |
regionCode()
This is used to filter the Price List by Amazon Web Services Region.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ListPriceListsRequest.Builder> |
serializableBuilderClass() |
String |
serviceCode()
The service code or the Savings Plan service code for the attributes that you want to retrieve.
|
ListPriceListsRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final 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 Compute Savings Plan price lists, use ComputeSavingsPlans. To retrieve Machine
Learning Savings Plans price lists, use MachineLearningSavingsPlans.
AmazonEC2. For a full
list of service codes containing On-Demand and Reserved Instance (RI) pricing, use the DescribeServices API.
To retrieve the Compute Savings Plan price lists, use ComputeSavingsPlans. To retrieve
Machine Learning Savings Plans price lists, use MachineLearningSavingsPlans.
public final Instant effectiveDate()
The date that the Price List file prices are effective from.
public final 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, use us-east-1. If nothing is specified, you retrieve
price lists for all applicable Regions. The available RegionCode list can be retrieved from
GetAttributeValues API.
US East (N. Virginia) Region, use us-east-1. If nothing is
specified, you retrieve price lists for all applicable Regions. The available RegionCode
list can be retrieved from GetAttributeValues API.public final String currencyCode()
The three alphabetical character ISO-4217 currency code that the Price List files are denominated in.
public final String nextToken()
The pagination token that indicates the next set of results that you want to retrieve.
public final Integer maxResults()
The maximum number of results to return in the response.
public ListPriceListsRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ListPriceListsRequest.Builder,ListPriceListsRequest>toBuilder in class PricingRequestpublic static ListPriceListsRequest.Builder builder()
public static Class<? extends ListPriceListsRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2023. All rights reserved.