public enum TenantCategory extends Enum<TenantCategory>
| Enum Constant and Description |
|---|
HOME
Enum value Home.
|
MANAGED_BY
Enum value ManagedBy.
|
PROJECTED_BY
Enum value ProjectedBy.
|
| Modifier and Type | Method and Description |
|---|---|
static TenantCategory |
fromString(String value)
Parses a serialized value to a TenantCategory instance.
|
String |
toString() |
static TenantCategory |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TenantCategory[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TenantCategory HOME
public static final TenantCategory PROJECTED_BY
public static final TenantCategory MANAGED_BY
public static TenantCategory[] values()
for (TenantCategory c : TenantCategory.values()) System.out.println(c);
public static TenantCategory 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 TenantCategory fromString(String value)
value - the serialized value to parse.public String toString()
toString in class Enum<TenantCategory>/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/