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