public static enum ListAnnouncementSubscriptionsRequest.SortBy extends Enum<ListAnnouncementSubscriptionsRequest.SortBy> implements BmcEnum
The criteria to sort by. You can specify only one sort order. The default sort order for the creation date of resources is descending. The default sort order for display names is ascending.
Enum Constant and Description |
---|
DisplayName |
TimeCreated |
Modifier and Type | Method and Description |
---|---|
static ListAnnouncementSubscriptionsRequest.SortBy |
create(String key) |
String |
getValue() |
static ListAnnouncementSubscriptionsRequest.SortBy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ListAnnouncementSubscriptionsRequest.SortBy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ListAnnouncementSubscriptionsRequest.SortBy TimeCreated
public static final ListAnnouncementSubscriptionsRequest.SortBy DisplayName
public static ListAnnouncementSubscriptionsRequest.SortBy[] values()
for (ListAnnouncementSubscriptionsRequest.SortBy c : ListAnnouncementSubscriptionsRequest.SortBy.values()) System.out.println(c);
public static ListAnnouncementSubscriptionsRequest.SortBy 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 ListAnnouncementSubscriptionsRequest.SortBy create(String key)
Copyright © 2016–2024. All rights reserved.