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