public static enum ListAnnouncementsRequest.SortOrder extends Enum<ListAnnouncementsRequest.SortOrder> implements BmcEnum
The sort order to use. (Sorting by announcementType
orders the announcements list
according to importance.)
Modifier and Type | Method and Description |
---|---|
static ListAnnouncementsRequest.SortOrder |
create(String key) |
String |
getValue() |
static ListAnnouncementsRequest.SortOrder |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ListAnnouncementsRequest.SortOrder[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ListAnnouncementsRequest.SortOrder Asc
public static final ListAnnouncementsRequest.SortOrder Desc
public static ListAnnouncementsRequest.SortOrder[] values()
for (ListAnnouncementsRequest.SortOrder c : ListAnnouncementsRequest.SortOrder.values()) System.out.println(c);
public static ListAnnouncementsRequest.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 static ListAnnouncementsRequest.SortOrder create(String key)
Copyright © 2016–2024. All rights reserved.