@Generated(value="software.amazon.awssdk:codegen") public final class GetProductsResponse extends PricingResponse implements ToCopyableBuilder<GetProductsResponse.Builder,GetProductsResponse>
| Modifier and Type | Class and Description |
|---|---|
static interface |
GetProductsResponse.Builder |
| Modifier and Type | Method and Description |
|---|---|
static GetProductsResponse.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
String |
formatVersion()
The format version of the response.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasPriceList()
Returns true if the PriceList property was specified by the sender (it may be empty), or false if the sender did
not specify the value (it will be empty).
|
String |
nextToken()
The pagination token that indicates the next set of results to retrieve.
|
List<String> |
priceList()
The list of products that match your filters.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends GetProductsResponse.Builder> |
serializableBuilderClass() |
GetProductsResponse.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
responseMetadatasdkHttpResponseclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String formatVersion()
The format version of the response. For example, aws_v1.
public final boolean hasPriceList()
public final List<String> priceList()
The list of products that match your filters. The list contains both the product metadata and the price information.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasPriceList() to see if a value was sent in this field.
public final String nextToken()
The pagination token that indicates the next set of results to retrieve.
public GetProductsResponse.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<GetProductsResponse.Builder,GetProductsResponse>toBuilder in class AwsResponsepublic static GetProductsResponse.Builder builder()
public static Class<? extends GetProductsResponse.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsResponsepublic final boolean equals(Object obj)
equals in class AwsResponsepublic 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 SdkResponseCopyright © 2021. All rights reserved.