public static enum ListKnowledgeBasesRequest.SortBy extends Enum<ListKnowledgeBasesRequest.SortBy> implements BmcEnum
The field used to sort Knowledge Bases. Only one sort order is allowed. Default order for displayName is ascending alphabetical order. Default order for lifecyleState is the following sequence: CREATING, ACTIVE, UPDATING, FAILED, DELETING, and DELETED.Default order for timeCreated is descending. Default order for timeUpdated is descending.
Enum Constant and Description |
---|
DisplayName |
LifecycleState |
TimeCreated |
TimeUpdated |
Modifier and Type | Method and Description |
---|---|
static ListKnowledgeBasesRequest.SortBy |
create(String key) |
String |
getValue() |
static ListKnowledgeBasesRequest.SortBy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ListKnowledgeBasesRequest.SortBy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ListKnowledgeBasesRequest.SortBy DisplayName
public static final ListKnowledgeBasesRequest.SortBy LifecycleState
public static final ListKnowledgeBasesRequest.SortBy TimeCreated
public static final ListKnowledgeBasesRequest.SortBy TimeUpdated
public static ListKnowledgeBasesRequest.SortBy[] values()
for (ListKnowledgeBasesRequest.SortBy c : ListKnowledgeBasesRequest.SortBy.values()) System.out.println(c);
public static ListKnowledgeBasesRequest.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 ListKnowledgeBasesRequest.SortBy create(String key)
Copyright © 2016–2024. All rights reserved.