public static enum HTTPNotificationEndpoint.AuthMethodEnum extends Enum<HTTPNotificationEndpoint.AuthMethodEnum>
Modifier and Type | Class and Description |
---|---|
static class |
HTTPNotificationEndpoint.AuthMethodEnum.Adapter |
Modifier and Type | Method and Description |
---|---|
static HTTPNotificationEndpoint.AuthMethodEnum |
fromValue(String text) |
String |
getValue() |
String |
toString() |
static HTTPNotificationEndpoint.AuthMethodEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HTTPNotificationEndpoint.AuthMethodEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HTTPNotificationEndpoint.AuthMethodEnum NONE
public static final HTTPNotificationEndpoint.AuthMethodEnum BASIC
public static final HTTPNotificationEndpoint.AuthMethodEnum BEARER
public static HTTPNotificationEndpoint.AuthMethodEnum[] values()
for (HTTPNotificationEndpoint.AuthMethodEnum c : HTTPNotificationEndpoint.AuthMethodEnum.values()) System.out.println(c);
public static HTTPNotificationEndpoint.AuthMethodEnum 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 String toString()
toString
in class Enum<HTTPNotificationEndpoint.AuthMethodEnum>
public static HTTPNotificationEndpoint.AuthMethodEnum fromValue(String text)
Copyright © 2018–2020 InfluxData, Inc.. All rights reserved.