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
Nested ClassesModifier and TypeClassDescriptionstatic enumGets or Sets authMethodstatic enumGets or Sets methodNested classes/interfaces inherited from class com.influxdb.client.domain.NotificationEndpointBase
NotificationEndpointBase.StatusEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final StringFields 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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionauthMethod(HTTPNotificationEndpoint.AuthMethodEnum authMethod) contentTemplate(String contentTemplate) booleanGet authMethodGet contentTemplateCustomized headers.Get methodGet passwordgetToken()Get tokengetUrl()Get urlGet usernameinthashCode()putHeadersItem(String key, String headersItem) voidsetAuthMethod(HTTPNotificationEndpoint.AuthMethodEnum authMethod) voidsetContentTemplate(String contentTemplate) voidsetHeaders(Map<String, String> headers) voidvoidsetPassword(String password) voidvoidvoidsetUsername(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:
equalsin classNotificationEndpoint
-
hashCode
public int hashCode()- Overrides:
hashCodein classNotificationEndpoint
-
toString
- Overrides:
toStringin classNotificationEndpoint
-