@Generated(value="software.amazon.awssdk:codegen") public final class PriceList extends Object implements SdkPojo, Serializable, ToCopyableBuilder<PriceList.Builder,PriceList>
This feature is in preview release and is subject to change. Your use of Amazon Web Services Price List API is subject to the Beta Service Participation terms of the Amazon Web Services Service Terms (Section 1.10).
This is the type of price list references that match your request.
| Modifier and Type | Class and Description |
|---|---|
static interface |
PriceList.Builder |
| Modifier and Type | Method and Description |
|---|---|
static PriceList.Builder |
builder() |
String |
currencyCode()
The three alphabetical character ISO-4217 currency code the Price List files are denominated in.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
List<String> |
fileFormats()
The format you want to retrieve your Price List files.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasFileFormats()
For responses, this returns true if the service returned a value for the FileFormats property.
|
int |
hashCode() |
String |
priceListArn()
The unique identifier that maps to where your Price List files are located.
|
String |
regionCode()
This is used to filter the Price List by Amazon Web Services Region.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends PriceList.Builder> |
serializableBuilderClass() |
PriceList.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String priceListArn()
The unique identifier that maps to where your Price List files are located. PriceListArn can be
obtained from the
ListPriceList response.
PriceListArn can
be obtained from the
ListPriceList response.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 the Price List files are denominated in.
public final boolean hasFileFormats()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.public final List<String> fileFormats()
The format you want to retrieve your Price List files. The FileFormat can be obtained from the
ListPriceList response.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasFileFormats() method.
FileFormat can be obtained from
the
ListPriceList response.public PriceList.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<PriceList.Builder,PriceList>public static PriceList.Builder builder()
public static Class<? extends PriceList.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.