public static enum ListSendersRequest.SortOrder extends Enum<ListSendersRequest.SortOrder>
The sort order to use, either ascending or descending order.
Modifier and Type | Method and Description |
---|---|
static ListSendersRequest.SortOrder |
create(String key) |
String |
getValue() |
static ListSendersRequest.SortOrder |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ListSendersRequest.SortOrder[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ListSendersRequest.SortOrder Asc
public static final ListSendersRequest.SortOrder Desc
public static ListSendersRequest.SortOrder[] values()
for (ListSendersRequest.SortOrder c : ListSendersRequest.SortOrder.values()) System.out.println(c);
public static ListSendersRequest.SortOrder 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 getValue()
public static ListSendersRequest.SortOrder create(String key)
Copyright © 2016–2019. All rights reserved.