@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public enum OfferSortBy extends Enum<OfferSortBy>
Enum Constant and Description |
---|
AvailabilityEndDate |
BuyerAccounts |
EntityId |
LastModifiedDate |
Name |
ProductId |
ReleaseDate |
ResaleAuthorizationId |
State |
Targeting |
Modifier and Type | Method and Description |
---|---|
static OfferSortBy |
fromValue(String value)
Use this in place of valueOf.
|
String |
toString() |
static OfferSortBy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OfferSortBy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OfferSortBy EntityId
public static final OfferSortBy Name
public static final OfferSortBy ProductId
public static final OfferSortBy ResaleAuthorizationId
public static final OfferSortBy ReleaseDate
public static final OfferSortBy AvailabilityEndDate
public static final OfferSortBy BuyerAccounts
public static final OfferSortBy State
public static final OfferSortBy Targeting
public static final OfferSortBy LastModifiedDate
public static OfferSortBy[] values()
for (OfferSortBy c : OfferSortBy.values()) System.out.println(c);
public static OfferSortBy valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String toString()
toString
in class Enum<OfferSortBy>
public static OfferSortBy fromValue(String value)
value
- real valueIllegalArgumentException
- If the specified value does not map to one of the known values in this enum.