Enum OfferSortBy
- java.lang.Object
-
- java.lang.Enum<OfferSortBy>
-
- software.amazon.awssdk.services.marketplacecatalog.model.OfferSortBy
-
- All Implemented Interfaces:
Serializable,Comparable<OfferSortBy>
@Generated("software.amazon.awssdk:codegen") public enum OfferSortBy extends Enum<OfferSortBy>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AVAILABILITY_END_DATEBUYER_ACCOUNTSENTITY_IDLAST_MODIFIED_DATENAMEPRODUCT_IDRELEASE_DATESTATETARGETINGUNKNOWN_TO_SDK_VERSION
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static OfferSortByfromValue(String value)Use this in place of valueOf to convert the raw string returned by the service into the enum value.static Set<OfferSortBy>knownValues()StringtoString()static OfferSortByvalueOf(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.
-
-
-
Enum Constant Detail
-
ENTITY_ID
public static final OfferSortBy ENTITY_ID
-
NAME
public static final OfferSortBy NAME
-
PRODUCT_ID
public static final OfferSortBy PRODUCT_ID
-
RELEASE_DATE
public static final OfferSortBy RELEASE_DATE
-
AVAILABILITY_END_DATE
public static final OfferSortBy AVAILABILITY_END_DATE
-
BUYER_ACCOUNTS
public static final OfferSortBy BUYER_ACCOUNTS
-
STATE
public static final OfferSortBy STATE
-
TARGETING
public static final OfferSortBy TARGETING
-
LAST_MODIFIED_DATE
public static final OfferSortBy LAST_MODIFIED_DATE
-
UNKNOWN_TO_SDK_VERSION
public static final OfferSortBy UNKNOWN_TO_SDK_VERSION
-
-
Method Detail
-
values
public static OfferSortBy[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (OfferSortBy c : OfferSortBy.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static OfferSortBy valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
toString
public String toString()
- Overrides:
toStringin classEnum<OfferSortBy>
-
fromValue
public static OfferSortBy fromValue(String value)
Use this in place of valueOf to convert the raw string returned by the service into the enum value.- Parameters:
value- real value- Returns:
- OfferSortBy corresponding to the value
-
knownValues
public static Set<OfferSortBy> knownValues()
Use this in place ofvalues()to return aSetof all values known to the SDK. This will return all known enum values exceptUNKNOWN_TO_SDK_VERSION.- Returns:
- a
Setof knownOfferSortBys
-
-