Package com.influxdb.client.domain
Class HTTPNotificationEndpoint
java.lang.Object
com.influxdb.client.domain.NotificationEndpointBase
com.influxdb.client.domain.NotificationEndpointDiscriminator
com.influxdb.client.domain.NotificationEndpoint
com.influxdb.client.domain.HTTPNotificationEndpoint
HTTPNotificationEndpoint
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Gets or Sets authMethodstatic enum
Gets or Sets methodNested classes/interfaces inherited from class com.influxdb.client.domain.NotificationEndpointBase
NotificationEndpointBase.StatusEnum
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
Fields inherited from class com.influxdb.client.domain.NotificationEndpointBase
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 Summary
-
Method Summary
Modifier and TypeMethodDescriptionauthMethod
(HTTPNotificationEndpoint.AuthMethodEnum authMethod) contentTemplate
(String contentTemplate) boolean
Get authMethodGet contentTemplateCustomized headers.Get methodGet passwordgetToken()
Get tokengetUrl()
Get urlGet usernameint
hashCode()
putHeadersItem
(String key, String headersItem) void
setAuthMethod
(HTTPNotificationEndpoint.AuthMethodEnum authMethod) void
setContentTemplate
(String contentTemplate) void
setHeaders
(Map<String, String> headers) void
void
setPassword
(String password) void
void
void
setUsername
(String username) toString()
Methods inherited from class com.influxdb.client.domain.NotificationEndpointBase
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
-
Field Details
-
SERIALIZED_NAME_URL
- See Also:
-
SERIALIZED_NAME_USERNAME
- See Also:
-
SERIALIZED_NAME_PASSWORD
- See Also:
-
SERIALIZED_NAME_TOKEN
- See Also:
-
SERIALIZED_NAME_METHOD
- See Also:
-
SERIALIZED_NAME_AUTH_METHOD
- See Also:
-
SERIALIZED_NAME_CONTENT_TEMPLATE
- See Also:
-
SERIALIZED_NAME_HEADERS
- See Also:
-
-
Constructor Details
-
HTTPNotificationEndpoint
public HTTPNotificationEndpoint()
-
-
Method Details
-
url
-
getUrl
Get url- Returns:
- url
-
setUrl
-
username
-
getUsername
Get username- Returns:
- username
-
setUsername
-
password
-
getPassword
Get password- Returns:
- password
-
setPassword
-
token
-
getToken
Get token- Returns:
- token
-
setToken
-
method
-
getMethod
Get method- Returns:
- method
-
setMethod
-
authMethod
-
getAuthMethod
Get authMethod- Returns:
- authMethod
-
setAuthMethod
-
contentTemplate
-
getContentTemplate
Get contentTemplate- Returns:
- contentTemplate
-
setContentTemplate
-
headers
-
putHeadersItem
-
getHeaders
Customized headers.- Returns:
- headers
-
setHeaders
-
equals
- Overrides:
equals
in classNotificationEndpoint
-
hashCode
public int hashCode()- Overrides:
hashCode
in classNotificationEndpoint
-
toString
- Overrides:
toString
in classNotificationEndpoint
-