Class ListPriceListsRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.pricing.model.PricingRequest
-
- software.amazon.awssdk.services.pricing.model.ListPriceListsRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<ListPriceListsRequest.Builder,ListPriceListsRequest>
@Generated("software.amazon.awssdk:codegen") public final class ListPriceListsRequest extends PricingRequest implements ToCopyableBuilder<ListPriceListsRequest.Builder,ListPriceListsRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceListPriceListsRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ListPriceListsRequest.Builderbuilder()StringcurrencyCode()The three alphabetical character ISO-4217 currency code that the Price List files are denominated in.InstanteffectiveDate()The date that the Price List file prices are effective from.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()IntegermaxResults()The maximum number of results to return in the response.StringnextToken()The pagination token that indicates the next set of results that you want to retrieve.StringregionCode()This is used to filter the Price List by Amazon Web Services Region.List<SdkField<?>>sdkFields()static Class<? extends ListPriceListsRequest.Builder>serializableBuilderClass()StringserviceCode()The service code or the Savings Plan service code for the attributes that you want to retrieve.ListPriceListsRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
serviceCode
public 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 Reserved Instance and Compute Savings Plan price lists, use
ComputeSavingsPlans.To retrieve Machine Learning Savings Plans price lists, use
MachineLearningSavingsPlans.- Returns:
- 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.
-
effectiveDate
public final Instant effectiveDate()
The date that the Price List file prices are effective from.
- Returns:
- The date that the Price List file prices are effective from.
-
regionCode
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, useus-east-1. If nothing is specified, you retrieve price lists for all applicable Regions. The availableRegionCodelist can be retrieved from GetAttributeValues API.- Returns:
- 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.
-
currencyCode
public final String currencyCode()
The three alphabetical character ISO-4217 currency code that the Price List files are denominated in.
- Returns:
- The three alphabetical character ISO-4217 currency code that the Price List files are denominated in.
-
nextToken
public final String nextToken()
The pagination token that indicates the next set of results that you want to retrieve.
- Returns:
- The pagination token that indicates the next set of results that you want to retrieve.
-
maxResults
public final Integer maxResults()
The maximum number of results to return in the response.
- Returns:
- The maximum number of results to return in the response.
-
toBuilder
public ListPriceListsRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ListPriceListsRequest.Builder,ListPriceListsRequest>- Specified by:
toBuilderin classPricingRequest
-
builder
public static ListPriceListsRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends ListPriceListsRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkRequest
-
-