public class HTTPNotificationEndpoint extends NotificationEndpoint
Modifier and Type | Class and Description |
---|---|
static class |
HTTPNotificationEndpoint.AuthMethodEnum
Gets or Sets authMethod
|
static class |
HTTPNotificationEndpoint.MethodEnum
Gets or Sets method
|
NotificationEndpointBase.StatusEnum
Modifier and Type | Field and Description |
---|---|
static String |
SERIALIZED_NAME_AUTH_METHOD |
static String |
SERIALIZED_NAME_CONTENT_TEMPLATE |
static String |
SERIALIZED_NAME_HEADERS |
static String |
SERIALIZED_NAME_METHOD |
static String |
SERIALIZED_NAME_PASSWORD |
static String |
SERIALIZED_NAME_TOKEN |
static String |
SERIALIZED_NAME_URL |
static String |
SERIALIZED_NAME_USERNAME |
SERIALIZED_NAME_CREATED_AT, SERIALIZED_NAME_DESCRIPTION, SERIALIZED_NAME_ID, SERIALIZED_NAME_LABELS, SERIALIZED_NAME_LINKS, SERIALIZED_NAME_NAME, SERIALIZED_NAME_ORG_I_D, SERIALIZED_NAME_STATUS, SERIALIZED_NAME_TYPE, SERIALIZED_NAME_UPDATED_AT, SERIALIZED_NAME_USER_I_D
Constructor and Description |
---|
HTTPNotificationEndpoint() |
addLabelsItem, description, getCreatedAt, getDescription, getId, getLabels, getLinks, getName, getOrgID, getStatus, getType, getUpdatedAt, getUserID, id, labels, links, name, orgID, setDescription, setId, setLabels, setLinks, setName, setOrgID, setStatus, setType, setUserID, status, type, userID
public static final String SERIALIZED_NAME_URL
public static final String SERIALIZED_NAME_USERNAME
public static final String SERIALIZED_NAME_PASSWORD
public static final String SERIALIZED_NAME_TOKEN
public static final String SERIALIZED_NAME_METHOD
public static final String SERIALIZED_NAME_AUTH_METHOD
public static final String SERIALIZED_NAME_CONTENT_TEMPLATE
public static final String SERIALIZED_NAME_HEADERS
public HTTPNotificationEndpoint url(String url)
public String getUrl()
public void setUrl(String url)
public HTTPNotificationEndpoint username(String username)
public String getUsername()
public void setUsername(String username)
public HTTPNotificationEndpoint password(String password)
public String getPassword()
public void setPassword(String password)
public HTTPNotificationEndpoint token(String token)
public String getToken()
public void setToken(String token)
public HTTPNotificationEndpoint method(HTTPNotificationEndpoint.MethodEnum method)
public HTTPNotificationEndpoint.MethodEnum getMethod()
public void setMethod(HTTPNotificationEndpoint.MethodEnum method)
public HTTPNotificationEndpoint authMethod(HTTPNotificationEndpoint.AuthMethodEnum authMethod)
public HTTPNotificationEndpoint.AuthMethodEnum getAuthMethod()
public void setAuthMethod(HTTPNotificationEndpoint.AuthMethodEnum authMethod)
public HTTPNotificationEndpoint contentTemplate(String contentTemplate)
public String getContentTemplate()
public void setContentTemplate(String contentTemplate)
public HTTPNotificationEndpoint headers(Map<String,String> headers)
public HTTPNotificationEndpoint putHeadersItem(String key, String headersItem)
public boolean equals(Object o)
equals
in class NotificationEndpoint
public int hashCode()
hashCode
in class NotificationEndpoint
public String toString()
toString
in class NotificationEndpoint
Copyright © 2018–2021 InfluxData, Inc.. All rights reserved.