org.mongodb.awscdk.resources.mongodbatlas.NotificationView Maven / Gradle / Ivy
Show all versions of awscdk-resources-mongodbatlas Show documentation
package org.mongodb.awscdk.resources.mongodbatlas;
/**
*/
@javax.annotation.Generated(value = "jsii-pacmak/1.101.0 (build b95fe5d)", date = "2024-07-30T09:54:29.032Z")
@software.amazon.jsii.Jsii(module = org.mongodb.awscdk.resources.mongodbatlas.$Module.class, fqn = "awscdk-resources-mongodbatlas.NotificationView")
@software.amazon.jsii.Jsii.Proxy(NotificationView.Jsii$Proxy.class)
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public interface NotificationView extends software.amazon.jsii.JsiiSerializable {
/**
* Slack API token or Bot token that MongoDB Cloud needs to send alert notifications via Slack.
*
* The resource requires this parameter when '"notifications.typeName" : "SLACK"'. If the token later becomes invalid, MongoDB Cloud sends an email to the project owners. If the token remains invalid, MongoDB Cloud removes the token.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
default @org.jetbrains.annotations.Nullable java.lang.String getApiToken() {
return null;
}
/**
* Name of the Slack channel to which MongoDB Cloud sends alert notifications.
*
* The resource requires this parameter when '"notifications.typeName" : "SLACK"'.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
default @org.jetbrains.annotations.Nullable java.lang.String getChannelName() {
return null;
}
/**
* Datadog API Key that MongoDB Cloud needs to send alert notifications to Datadog.
*
* You can find this API key in the Datadog dashboard. The resource requires this parameter when '"notifications.typeName" : "DATADOG"'.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
default @org.jetbrains.annotations.Nullable java.lang.String getDatadogApiKey() {
return null;
}
/**
* Datadog region that indicates which API Uniform Resource Locator (URL) to use.
*
* The resource requires this parameter when '"notifications.typeName" : "DATADOG"'.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
default @org.jetbrains.annotations.Nullable org.mongodb.awscdk.resources.mongodbatlas.NotificationViewDatadogRegion getDatadogRegion() {
return null;
}
/**
* Number of minutes that MongoDB Cloud waits after detecting an alert condition before it sends out the first notification.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
default @org.jetbrains.annotations.Nullable java.lang.Number getDelayMin() {
return null;
}
/**
* Email address to which MongoDB Cloud sends alert notifications.
*
* The resource requires this parameter when '"notifications.typeName" : "EMAIL"'. You don't need to set this value to send emails to individual or groups of MongoDB Cloud users including:
*
*
* - specific MongoDB Cloud users ('"notifications.typeName" : "USER"')
* - MongoDB Cloud users with specific project roles ('"notifications.typeName" : "GROUP"')
* - MongoDB Cloud users with specific organization roles ('"notifications.typeName" : "ORG"')
* - MongoDB Cloud teams ('"notifications.typeName" : "TEAM"')
*
*
* To send emails to one MongoDB Cloud user or grouping of users, set the notifications.emailEnabled parameter.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
default @org.jetbrains.annotations.Nullable java.lang.String getEmailAddress() {
return null;
}
/**
* Flag that indicates whether MongoDB Cloud should send email notifications.
*
* The resource requires this parameter when one of the following values have been set:
*
*
* - '"notifications.typeName" : "ORG"'
* - '"notifications.typeName" : "GROUP"'
* - '"notifications.typeName" : "USER"'
*
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
default @org.jetbrains.annotations.Nullable java.lang.Boolean getEmailEnabled() {
return null;
}
/**
* Number of minutes to wait between successive notifications. MongoDB Cloud sends notifications until someone acknowledges the unacknowledged alert.
*
* PagerDuty, VictorOps, and OpsGenie notifications don't return this element. Configure and manage the notification interval within each of those services.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
default @org.jetbrains.annotations.Nullable java.lang.Number getIntervalMin() {
return null;
}
/**
* Microsoft Teams Webhook Uniform Resource Locator (URL) that MongoDB Cloud needs to send this notification via Microsoft Teams.
*
* The resource requires this parameter when '"notifications.typeName" : "MICROSOFT_TEAMS"'. If the URL later becomes invalid, MongoDB Cloud sends an email to the project owners. If the key remains invalid, MongoDB Cloud removes it.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
default @org.jetbrains.annotations.Nullable java.lang.String getMicrosoftTeamsWebhookUrl() {
return null;
}
/**
* Mobile phone number to which MongoDB Cloud sends alert notifications.
*
* The resource requires this parameter when '"notifications.typeName" : "SMS"'.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
default @org.jetbrains.annotations.Nullable java.lang.String getMobileNumber() {
return null;
}
/**
* HipChat API token that MongoDB Cloud needs to send alert notifications to HipChat.
*
* The resource requires this parameter when '"notifications.typeName" : "HIP_CHAT"'". If the token later becomes invalid, MongoDB Cloud sends an email to the project owners. If the token remains invalid, MongoDB Cloud removes it.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
default @org.jetbrains.annotations.Nullable java.lang.String getNotificationToken() {
return null;
}
/**
* API Key that MongoDB Cloud needs to send this notification via Opsgenie.
*
* The resource requires this parameter when '"notifications.typeName" : "OPS_GENIE"'. If the key later becomes invalid, MongoDB Cloud sends an email to the project owners. If the key remains invalid, MongoDB Cloud removes it.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
default @org.jetbrains.annotations.Nullable java.lang.String getOpsGenieApiKey() {
return null;
}
/**
* Opsgenie region that indicates which API Uniform Resource Locator (URL) to use.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
default @org.jetbrains.annotations.Nullable org.mongodb.awscdk.resources.mongodbatlas.NotificationViewOpsGenieRegion getOpsGenieRegion() {
return null;
}
/**
* Flowdock organization name to which MongoDB Cloud sends alert notifications.
*
* This name appears after 'www.flowdock.com/app/' in the Uniform Resource Locator (URL) path. The resource requires this parameter when '"notifications.typeName" : "FLOWDOCK"'.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
default @org.jetbrains.annotations.Nullable java.lang.String getOrgName() {
return null;
}
/**
* List that contains the one or more organization or project roles that receive the configured alert.
*
* The resource requires this parameter when '"notifications.typeName" : "GROUP"' or '"notifications.typeName" : "ORG"'. If you include this parameter, MongoDB Cloud sends alerts only to users assigned the roles you specify in the array. If you omit this parameter, MongoDB Cloud sends alerts to users assigned any role.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
default @org.jetbrains.annotations.Nullable java.util.List getRoles() {
return null;
}
/**
* HipChat API room name to which MongoDB Cloud sends alert notifications.
*
* The resource requires this parameter when '"notifications.typeName" : "HIP_CHAT"'".
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
default @org.jetbrains.annotations.Nullable java.lang.String getRoomName() {
return null;
}
/**
* PagerDuty service key that MongoDB Cloud needs to send notifications via PagerDuty.
*
* The resource requires this parameter when '"notifications.typeName" : "PAGER_DUTY"'. If the key later becomes invalid, MongoDB Cloud sends an email to the project owners. If the key remains invalid, MongoDB Cloud removes it.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
default @org.jetbrains.annotations.Nullable java.lang.String getServiceKey() {
return null;
}
/**
* Degree of seriousness given to this notification.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
default @org.jetbrains.annotations.Nullable org.mongodb.awscdk.resources.mongodbatlas.NotificationViewSeverity getSeverity() {
return null;
}
/**
* Flag that indicates whether MongoDB Cloud should send text message notifications.
*
* The resource requires this parameter when one of the following values have been set:
*
*
* - '"notifications.typeName" : "ORG"'
* - '"notifications.typeName" : "GROUP"'
* - '"notifications.typeName" : "USER"'
*
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
default @org.jetbrains.annotations.Nullable java.lang.Boolean getSmsEnabled() {
return null;
}
/**
* Unique 24-hexadecimal digit string that identifies one MongoDB Cloud team.
*
* The resource requires this parameter when '"notifications.typeName" : "TEAM"'.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
default @org.jetbrains.annotations.Nullable java.lang.String getTeamId() {
return null;
}
/**
* Name of the MongoDB Cloud team that receives this notification.
*
* The resource requires this parameter when '"notifications.typeName" : "TEAM"'.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
default @org.jetbrains.annotations.Nullable java.lang.String getTeamName() {
return null;
}
/**
* Human-readable label that displays the alert notification type.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
default @org.jetbrains.annotations.Nullable org.mongodb.awscdk.resources.mongodbatlas.NotificationViewTypeName getTypeName() {
return null;
}
/**
* MongoDB Cloud username of the person to whom MongoDB Cloud sends notifications.
*
* Specify only MongoDB Cloud users who belong to the project that owns the alert configuration. The resource requires this parameter when '"notifications.typeName" : "USER"'.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
default @org.jetbrains.annotations.Nullable java.lang.String getUsername() {
return null;
}
/**
* API key that MongoDB Cloud needs to send alert notifications to Splunk On-Call.
*
* The resource requires this parameter when '"notifications.typeName" : "VICTOR_OPS"'. If the key later becomes invalid, MongoDB Cloud sends an email to the project owners. If the key remains invalid, MongoDB Cloud removes it.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
default @org.jetbrains.annotations.Nullable java.lang.String getVictorOpsApiKey() {
return null;
}
/**
* Routing key that MongoDB Cloud needs to send alert notifications to Splunk On-Call.
*
* The resource requires this parameter when '"notifications.typeName" : "VICTOR_OPS"'. If the key later becomes invalid, MongoDB Cloud sends an email to the project owners. If the key remains invalid, MongoDB Cloud removes it.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
default @org.jetbrains.annotations.Nullable java.lang.String getVictorOpsRoutingKey() {
return null;
}
/**
* An optional field for your webhook secret.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
default @org.jetbrains.annotations.Nullable java.lang.String getWebhookSecret() {
return null;
}
/**
* Your webhook URL.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
default @org.jetbrains.annotations.Nullable java.lang.String getWebhookUrl() {
return null;
}
/**
* @return a {@link Builder} of {@link NotificationView}
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
static Builder builder() {
return new Builder();
}
/**
* A builder for {@link NotificationView}
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public static final class Builder implements software.amazon.jsii.Builder {
java.lang.String apiToken;
java.lang.String channelName;
java.lang.String datadogApiKey;
org.mongodb.awscdk.resources.mongodbatlas.NotificationViewDatadogRegion datadogRegion;
java.lang.Number delayMin;
java.lang.String emailAddress;
java.lang.Boolean emailEnabled;
java.lang.Number intervalMin;
java.lang.String microsoftTeamsWebhookUrl;
java.lang.String mobileNumber;
java.lang.String notificationToken;
java.lang.String opsGenieApiKey;
org.mongodb.awscdk.resources.mongodbatlas.NotificationViewOpsGenieRegion opsGenieRegion;
java.lang.String orgName;
java.util.List roles;
java.lang.String roomName;
java.lang.String serviceKey;
org.mongodb.awscdk.resources.mongodbatlas.NotificationViewSeverity severity;
java.lang.Boolean smsEnabled;
java.lang.String teamId;
java.lang.String teamName;
org.mongodb.awscdk.resources.mongodbatlas.NotificationViewTypeName typeName;
java.lang.String username;
java.lang.String victorOpsApiKey;
java.lang.String victorOpsRoutingKey;
java.lang.String webhookSecret;
java.lang.String webhookUrl;
/**
* Sets the value of {@link NotificationView#getApiToken}
* @param apiToken Slack API token or Bot token that MongoDB Cloud needs to send alert notifications via Slack.
* The resource requires this parameter when '"notifications.typeName" : "SLACK"'. If the token later becomes invalid, MongoDB Cloud sends an email to the project owners. If the token remains invalid, MongoDB Cloud removes the token.
* @return {@code this}
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public Builder apiToken(java.lang.String apiToken) {
this.apiToken = apiToken;
return this;
}
/**
* Sets the value of {@link NotificationView#getChannelName}
* @param channelName Name of the Slack channel to which MongoDB Cloud sends alert notifications.
* The resource requires this parameter when '"notifications.typeName" : "SLACK"'.
* @return {@code this}
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public Builder channelName(java.lang.String channelName) {
this.channelName = channelName;
return this;
}
/**
* Sets the value of {@link NotificationView#getDatadogApiKey}
* @param datadogApiKey Datadog API Key that MongoDB Cloud needs to send alert notifications to Datadog.
* You can find this API key in the Datadog dashboard. The resource requires this parameter when '"notifications.typeName" : "DATADOG"'.
* @return {@code this}
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public Builder datadogApiKey(java.lang.String datadogApiKey) {
this.datadogApiKey = datadogApiKey;
return this;
}
/**
* Sets the value of {@link NotificationView#getDatadogRegion}
* @param datadogRegion Datadog region that indicates which API Uniform Resource Locator (URL) to use.
* The resource requires this parameter when '"notifications.typeName" : "DATADOG"'.
* @return {@code this}
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public Builder datadogRegion(org.mongodb.awscdk.resources.mongodbatlas.NotificationViewDatadogRegion datadogRegion) {
this.datadogRegion = datadogRegion;
return this;
}
/**
* Sets the value of {@link NotificationView#getDelayMin}
* @param delayMin Number of minutes that MongoDB Cloud waits after detecting an alert condition before it sends out the first notification.
* @return {@code this}
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public Builder delayMin(java.lang.Number delayMin) {
this.delayMin = delayMin;
return this;
}
/**
* Sets the value of {@link NotificationView#getEmailAddress}
* @param emailAddress Email address to which MongoDB Cloud sends alert notifications.
* The resource requires this parameter when '"notifications.typeName" : "EMAIL"'. You don't need to set this value to send emails to individual or groups of MongoDB Cloud users including:
*
*
* - specific MongoDB Cloud users ('"notifications.typeName" : "USER"')
* - MongoDB Cloud users with specific project roles ('"notifications.typeName" : "GROUP"')
* - MongoDB Cloud users with specific organization roles ('"notifications.typeName" : "ORG"')
* - MongoDB Cloud teams ('"notifications.typeName" : "TEAM"')
*
*
* To send emails to one MongoDB Cloud user or grouping of users, set the notifications.emailEnabled parameter.
* @return {@code this}
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public Builder emailAddress(java.lang.String emailAddress) {
this.emailAddress = emailAddress;
return this;
}
/**
* Sets the value of {@link NotificationView#getEmailEnabled}
* @param emailEnabled Flag that indicates whether MongoDB Cloud should send email notifications.
* The resource requires this parameter when one of the following values have been set:
*
*
* - '"notifications.typeName" : "ORG"'
* - '"notifications.typeName" : "GROUP"'
* - '"notifications.typeName" : "USER"'
*
* @return {@code this}
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public Builder emailEnabled(java.lang.Boolean emailEnabled) {
this.emailEnabled = emailEnabled;
return this;
}
/**
* Sets the value of {@link NotificationView#getIntervalMin}
* @param intervalMin Number of minutes to wait between successive notifications. MongoDB Cloud sends notifications until someone acknowledges the unacknowledged alert.
* PagerDuty, VictorOps, and OpsGenie notifications don't return this element. Configure and manage the notification interval within each of those services.
* @return {@code this}
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public Builder intervalMin(java.lang.Number intervalMin) {
this.intervalMin = intervalMin;
return this;
}
/**
* Sets the value of {@link NotificationView#getMicrosoftTeamsWebhookUrl}
* @param microsoftTeamsWebhookUrl Microsoft Teams Webhook Uniform Resource Locator (URL) that MongoDB Cloud needs to send this notification via Microsoft Teams.
* The resource requires this parameter when '"notifications.typeName" : "MICROSOFT_TEAMS"'. If the URL later becomes invalid, MongoDB Cloud sends an email to the project owners. If the key remains invalid, MongoDB Cloud removes it.
* @return {@code this}
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public Builder microsoftTeamsWebhookUrl(java.lang.String microsoftTeamsWebhookUrl) {
this.microsoftTeamsWebhookUrl = microsoftTeamsWebhookUrl;
return this;
}
/**
* Sets the value of {@link NotificationView#getMobileNumber}
* @param mobileNumber Mobile phone number to which MongoDB Cloud sends alert notifications.
* The resource requires this parameter when '"notifications.typeName" : "SMS"'.
* @return {@code this}
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public Builder mobileNumber(java.lang.String mobileNumber) {
this.mobileNumber = mobileNumber;
return this;
}
/**
* Sets the value of {@link NotificationView#getNotificationToken}
* @param notificationToken HipChat API token that MongoDB Cloud needs to send alert notifications to HipChat.
* The resource requires this parameter when '"notifications.typeName" : "HIP_CHAT"'". If the token later becomes invalid, MongoDB Cloud sends an email to the project owners. If the token remains invalid, MongoDB Cloud removes it.
* @return {@code this}
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public Builder notificationToken(java.lang.String notificationToken) {
this.notificationToken = notificationToken;
return this;
}
/**
* Sets the value of {@link NotificationView#getOpsGenieApiKey}
* @param opsGenieApiKey API Key that MongoDB Cloud needs to send this notification via Opsgenie.
* The resource requires this parameter when '"notifications.typeName" : "OPS_GENIE"'. If the key later becomes invalid, MongoDB Cloud sends an email to the project owners. If the key remains invalid, MongoDB Cloud removes it.
* @return {@code this}
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public Builder opsGenieApiKey(java.lang.String opsGenieApiKey) {
this.opsGenieApiKey = opsGenieApiKey;
return this;
}
/**
* Sets the value of {@link NotificationView#getOpsGenieRegion}
* @param opsGenieRegion Opsgenie region that indicates which API Uniform Resource Locator (URL) to use.
* @return {@code this}
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public Builder opsGenieRegion(org.mongodb.awscdk.resources.mongodbatlas.NotificationViewOpsGenieRegion opsGenieRegion) {
this.opsGenieRegion = opsGenieRegion;
return this;
}
/**
* Sets the value of {@link NotificationView#getOrgName}
* @param orgName Flowdock organization name to which MongoDB Cloud sends alert notifications.
* This name appears after 'www.flowdock.com/app/' in the Uniform Resource Locator (URL) path. The resource requires this parameter when '"notifications.typeName" : "FLOWDOCK"'.
* @return {@code this}
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public Builder orgName(java.lang.String orgName) {
this.orgName = orgName;
return this;
}
/**
* Sets the value of {@link NotificationView#getRoles}
* @param roles List that contains the one or more organization or project roles that receive the configured alert.
* The resource requires this parameter when '"notifications.typeName" : "GROUP"' or '"notifications.typeName" : "ORG"'. If you include this parameter, MongoDB Cloud sends alerts only to users assigned the roles you specify in the array. If you omit this parameter, MongoDB Cloud sends alerts to users assigned any role.
* @return {@code this}
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
@SuppressWarnings("unchecked")
public Builder roles(java.util.List extends org.mongodb.awscdk.resources.mongodbatlas.NotificationViewRoles> roles) {
this.roles = (java.util.List)roles;
return this;
}
/**
* Sets the value of {@link NotificationView#getRoomName}
* @param roomName HipChat API room name to which MongoDB Cloud sends alert notifications.
* The resource requires this parameter when '"notifications.typeName" : "HIP_CHAT"'".
* @return {@code this}
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public Builder roomName(java.lang.String roomName) {
this.roomName = roomName;
return this;
}
/**
* Sets the value of {@link NotificationView#getServiceKey}
* @param serviceKey PagerDuty service key that MongoDB Cloud needs to send notifications via PagerDuty.
* The resource requires this parameter when '"notifications.typeName" : "PAGER_DUTY"'. If the key later becomes invalid, MongoDB Cloud sends an email to the project owners. If the key remains invalid, MongoDB Cloud removes it.
* @return {@code this}
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public Builder serviceKey(java.lang.String serviceKey) {
this.serviceKey = serviceKey;
return this;
}
/**
* Sets the value of {@link NotificationView#getSeverity}
* @param severity Degree of seriousness given to this notification.
* @return {@code this}
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public Builder severity(org.mongodb.awscdk.resources.mongodbatlas.NotificationViewSeverity severity) {
this.severity = severity;
return this;
}
/**
* Sets the value of {@link NotificationView#getSmsEnabled}
* @param smsEnabled Flag that indicates whether MongoDB Cloud should send text message notifications.
* The resource requires this parameter when one of the following values have been set:
*
*
* - '"notifications.typeName" : "ORG"'
* - '"notifications.typeName" : "GROUP"'
* - '"notifications.typeName" : "USER"'
*
* @return {@code this}
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public Builder smsEnabled(java.lang.Boolean smsEnabled) {
this.smsEnabled = smsEnabled;
return this;
}
/**
* Sets the value of {@link NotificationView#getTeamId}
* @param teamId Unique 24-hexadecimal digit string that identifies one MongoDB Cloud team.
* The resource requires this parameter when '"notifications.typeName" : "TEAM"'.
* @return {@code this}
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public Builder teamId(java.lang.String teamId) {
this.teamId = teamId;
return this;
}
/**
* Sets the value of {@link NotificationView#getTeamName}
* @param teamName Name of the MongoDB Cloud team that receives this notification.
* The resource requires this parameter when '"notifications.typeName" : "TEAM"'.
* @return {@code this}
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public Builder teamName(java.lang.String teamName) {
this.teamName = teamName;
return this;
}
/**
* Sets the value of {@link NotificationView#getTypeName}
* @param typeName Human-readable label that displays the alert notification type.
* @return {@code this}
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public Builder typeName(org.mongodb.awscdk.resources.mongodbatlas.NotificationViewTypeName typeName) {
this.typeName = typeName;
return this;
}
/**
* Sets the value of {@link NotificationView#getUsername}
* @param username MongoDB Cloud username of the person to whom MongoDB Cloud sends notifications.
* Specify only MongoDB Cloud users who belong to the project that owns the alert configuration. The resource requires this parameter when '"notifications.typeName" : "USER"'.
* @return {@code this}
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public Builder username(java.lang.String username) {
this.username = username;
return this;
}
/**
* Sets the value of {@link NotificationView#getVictorOpsApiKey}
* @param victorOpsApiKey API key that MongoDB Cloud needs to send alert notifications to Splunk On-Call.
* The resource requires this parameter when '"notifications.typeName" : "VICTOR_OPS"'. If the key later becomes invalid, MongoDB Cloud sends an email to the project owners. If the key remains invalid, MongoDB Cloud removes it.
* @return {@code this}
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public Builder victorOpsApiKey(java.lang.String victorOpsApiKey) {
this.victorOpsApiKey = victorOpsApiKey;
return this;
}
/**
* Sets the value of {@link NotificationView#getVictorOpsRoutingKey}
* @param victorOpsRoutingKey Routing key that MongoDB Cloud needs to send alert notifications to Splunk On-Call.
* The resource requires this parameter when '"notifications.typeName" : "VICTOR_OPS"'. If the key later becomes invalid, MongoDB Cloud sends an email to the project owners. If the key remains invalid, MongoDB Cloud removes it.
* @return {@code this}
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public Builder victorOpsRoutingKey(java.lang.String victorOpsRoutingKey) {
this.victorOpsRoutingKey = victorOpsRoutingKey;
return this;
}
/**
* Sets the value of {@link NotificationView#getWebhookSecret}
* @param webhookSecret An optional field for your webhook secret.
* @return {@code this}
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public Builder webhookSecret(java.lang.String webhookSecret) {
this.webhookSecret = webhookSecret;
return this;
}
/**
* Sets the value of {@link NotificationView#getWebhookUrl}
* @param webhookUrl Your webhook URL.
* @return {@code this}
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public Builder webhookUrl(java.lang.String webhookUrl) {
this.webhookUrl = webhookUrl;
return this;
}
/**
* Builds the configured instance.
* @return a new instance of {@link NotificationView}
* @throws NullPointerException if any required attribute was not provided
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
@Override
public NotificationView build() {
return new Jsii$Proxy(this);
}
}
/**
* An implementation for {@link NotificationView}
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
@software.amazon.jsii.Internal
final class Jsii$Proxy extends software.amazon.jsii.JsiiObject implements NotificationView {
private final java.lang.String apiToken;
private final java.lang.String channelName;
private final java.lang.String datadogApiKey;
private final org.mongodb.awscdk.resources.mongodbatlas.NotificationViewDatadogRegion datadogRegion;
private final java.lang.Number delayMin;
private final java.lang.String emailAddress;
private final java.lang.Boolean emailEnabled;
private final java.lang.Number intervalMin;
private final java.lang.String microsoftTeamsWebhookUrl;
private final java.lang.String mobileNumber;
private final java.lang.String notificationToken;
private final java.lang.String opsGenieApiKey;
private final org.mongodb.awscdk.resources.mongodbatlas.NotificationViewOpsGenieRegion opsGenieRegion;
private final java.lang.String orgName;
private final java.util.List roles;
private final java.lang.String roomName;
private final java.lang.String serviceKey;
private final org.mongodb.awscdk.resources.mongodbatlas.NotificationViewSeverity severity;
private final java.lang.Boolean smsEnabled;
private final java.lang.String teamId;
private final java.lang.String teamName;
private final org.mongodb.awscdk.resources.mongodbatlas.NotificationViewTypeName typeName;
private final java.lang.String username;
private final java.lang.String victorOpsApiKey;
private final java.lang.String victorOpsRoutingKey;
private final java.lang.String webhookSecret;
private final java.lang.String webhookUrl;
/**
* Constructor that initializes the object based on values retrieved from the JsiiObject.
* @param objRef Reference to the JSII managed object.
*/
protected Jsii$Proxy(final software.amazon.jsii.JsiiObjectRef objRef) {
super(objRef);
this.apiToken = software.amazon.jsii.Kernel.get(this, "apiToken", software.amazon.jsii.NativeType.forClass(java.lang.String.class));
this.channelName = software.amazon.jsii.Kernel.get(this, "channelName", software.amazon.jsii.NativeType.forClass(java.lang.String.class));
this.datadogApiKey = software.amazon.jsii.Kernel.get(this, "datadogApiKey", software.amazon.jsii.NativeType.forClass(java.lang.String.class));
this.datadogRegion = software.amazon.jsii.Kernel.get(this, "datadogRegion", software.amazon.jsii.NativeType.forClass(org.mongodb.awscdk.resources.mongodbatlas.NotificationViewDatadogRegion.class));
this.delayMin = software.amazon.jsii.Kernel.get(this, "delayMin", software.amazon.jsii.NativeType.forClass(java.lang.Number.class));
this.emailAddress = software.amazon.jsii.Kernel.get(this, "emailAddress", software.amazon.jsii.NativeType.forClass(java.lang.String.class));
this.emailEnabled = software.amazon.jsii.Kernel.get(this, "emailEnabled", software.amazon.jsii.NativeType.forClass(java.lang.Boolean.class));
this.intervalMin = software.amazon.jsii.Kernel.get(this, "intervalMin", software.amazon.jsii.NativeType.forClass(java.lang.Number.class));
this.microsoftTeamsWebhookUrl = software.amazon.jsii.Kernel.get(this, "microsoftTeamsWebhookUrl", software.amazon.jsii.NativeType.forClass(java.lang.String.class));
this.mobileNumber = software.amazon.jsii.Kernel.get(this, "mobileNumber", software.amazon.jsii.NativeType.forClass(java.lang.String.class));
this.notificationToken = software.amazon.jsii.Kernel.get(this, "notificationToken", software.amazon.jsii.NativeType.forClass(java.lang.String.class));
this.opsGenieApiKey = software.amazon.jsii.Kernel.get(this, "opsGenieApiKey", software.amazon.jsii.NativeType.forClass(java.lang.String.class));
this.opsGenieRegion = software.amazon.jsii.Kernel.get(this, "opsGenieRegion", software.amazon.jsii.NativeType.forClass(org.mongodb.awscdk.resources.mongodbatlas.NotificationViewOpsGenieRegion.class));
this.orgName = software.amazon.jsii.Kernel.get(this, "orgName", software.amazon.jsii.NativeType.forClass(java.lang.String.class));
this.roles = software.amazon.jsii.Kernel.get(this, "roles", software.amazon.jsii.NativeType.listOf(software.amazon.jsii.NativeType.forClass(org.mongodb.awscdk.resources.mongodbatlas.NotificationViewRoles.class)));
this.roomName = software.amazon.jsii.Kernel.get(this, "roomName", software.amazon.jsii.NativeType.forClass(java.lang.String.class));
this.serviceKey = software.amazon.jsii.Kernel.get(this, "serviceKey", software.amazon.jsii.NativeType.forClass(java.lang.String.class));
this.severity = software.amazon.jsii.Kernel.get(this, "severity", software.amazon.jsii.NativeType.forClass(org.mongodb.awscdk.resources.mongodbatlas.NotificationViewSeverity.class));
this.smsEnabled = software.amazon.jsii.Kernel.get(this, "smsEnabled", software.amazon.jsii.NativeType.forClass(java.lang.Boolean.class));
this.teamId = software.amazon.jsii.Kernel.get(this, "teamId", software.amazon.jsii.NativeType.forClass(java.lang.String.class));
this.teamName = software.amazon.jsii.Kernel.get(this, "teamName", software.amazon.jsii.NativeType.forClass(java.lang.String.class));
this.typeName = software.amazon.jsii.Kernel.get(this, "typeName", software.amazon.jsii.NativeType.forClass(org.mongodb.awscdk.resources.mongodbatlas.NotificationViewTypeName.class));
this.username = software.amazon.jsii.Kernel.get(this, "username", software.amazon.jsii.NativeType.forClass(java.lang.String.class));
this.victorOpsApiKey = software.amazon.jsii.Kernel.get(this, "victorOpsApiKey", software.amazon.jsii.NativeType.forClass(java.lang.String.class));
this.victorOpsRoutingKey = software.amazon.jsii.Kernel.get(this, "victorOpsRoutingKey", software.amazon.jsii.NativeType.forClass(java.lang.String.class));
this.webhookSecret = software.amazon.jsii.Kernel.get(this, "webhookSecret", software.amazon.jsii.NativeType.forClass(java.lang.String.class));
this.webhookUrl = software.amazon.jsii.Kernel.get(this, "webhookUrl", software.amazon.jsii.NativeType.forClass(java.lang.String.class));
}
/**
* Constructor that initializes the object based on literal property values passed by the {@link Builder}.
*/
@SuppressWarnings("unchecked")
protected Jsii$Proxy(final Builder builder) {
super(software.amazon.jsii.JsiiObject.InitializationMode.JSII);
this.apiToken = builder.apiToken;
this.channelName = builder.channelName;
this.datadogApiKey = builder.datadogApiKey;
this.datadogRegion = builder.datadogRegion;
this.delayMin = builder.delayMin;
this.emailAddress = builder.emailAddress;
this.emailEnabled = builder.emailEnabled;
this.intervalMin = builder.intervalMin;
this.microsoftTeamsWebhookUrl = builder.microsoftTeamsWebhookUrl;
this.mobileNumber = builder.mobileNumber;
this.notificationToken = builder.notificationToken;
this.opsGenieApiKey = builder.opsGenieApiKey;
this.opsGenieRegion = builder.opsGenieRegion;
this.orgName = builder.orgName;
this.roles = (java.util.List)builder.roles;
this.roomName = builder.roomName;
this.serviceKey = builder.serviceKey;
this.severity = builder.severity;
this.smsEnabled = builder.smsEnabled;
this.teamId = builder.teamId;
this.teamName = builder.teamName;
this.typeName = builder.typeName;
this.username = builder.username;
this.victorOpsApiKey = builder.victorOpsApiKey;
this.victorOpsRoutingKey = builder.victorOpsRoutingKey;
this.webhookSecret = builder.webhookSecret;
this.webhookUrl = builder.webhookUrl;
}
@Override
public final java.lang.String getApiToken() {
return this.apiToken;
}
@Override
public final java.lang.String getChannelName() {
return this.channelName;
}
@Override
public final java.lang.String getDatadogApiKey() {
return this.datadogApiKey;
}
@Override
public final org.mongodb.awscdk.resources.mongodbatlas.NotificationViewDatadogRegion getDatadogRegion() {
return this.datadogRegion;
}
@Override
public final java.lang.Number getDelayMin() {
return this.delayMin;
}
@Override
public final java.lang.String getEmailAddress() {
return this.emailAddress;
}
@Override
public final java.lang.Boolean getEmailEnabled() {
return this.emailEnabled;
}
@Override
public final java.lang.Number getIntervalMin() {
return this.intervalMin;
}
@Override
public final java.lang.String getMicrosoftTeamsWebhookUrl() {
return this.microsoftTeamsWebhookUrl;
}
@Override
public final java.lang.String getMobileNumber() {
return this.mobileNumber;
}
@Override
public final java.lang.String getNotificationToken() {
return this.notificationToken;
}
@Override
public final java.lang.String getOpsGenieApiKey() {
return this.opsGenieApiKey;
}
@Override
public final org.mongodb.awscdk.resources.mongodbatlas.NotificationViewOpsGenieRegion getOpsGenieRegion() {
return this.opsGenieRegion;
}
@Override
public final java.lang.String getOrgName() {
return this.orgName;
}
@Override
public final java.util.List getRoles() {
return this.roles;
}
@Override
public final java.lang.String getRoomName() {
return this.roomName;
}
@Override
public final java.lang.String getServiceKey() {
return this.serviceKey;
}
@Override
public final org.mongodb.awscdk.resources.mongodbatlas.NotificationViewSeverity getSeverity() {
return this.severity;
}
@Override
public final java.lang.Boolean getSmsEnabled() {
return this.smsEnabled;
}
@Override
public final java.lang.String getTeamId() {
return this.teamId;
}
@Override
public final java.lang.String getTeamName() {
return this.teamName;
}
@Override
public final org.mongodb.awscdk.resources.mongodbatlas.NotificationViewTypeName getTypeName() {
return this.typeName;
}
@Override
public final java.lang.String getUsername() {
return this.username;
}
@Override
public final java.lang.String getVictorOpsApiKey() {
return this.victorOpsApiKey;
}
@Override
public final java.lang.String getVictorOpsRoutingKey() {
return this.victorOpsRoutingKey;
}
@Override
public final java.lang.String getWebhookSecret() {
return this.webhookSecret;
}
@Override
public final java.lang.String getWebhookUrl() {
return this.webhookUrl;
}
@Override
@software.amazon.jsii.Internal
public com.fasterxml.jackson.databind.JsonNode $jsii$toJson() {
final com.fasterxml.jackson.databind.ObjectMapper om = software.amazon.jsii.JsiiObjectMapper.INSTANCE;
final com.fasterxml.jackson.databind.node.ObjectNode data = com.fasterxml.jackson.databind.node.JsonNodeFactory.instance.objectNode();
if (this.getApiToken() != null) {
data.set("apiToken", om.valueToTree(this.getApiToken()));
}
if (this.getChannelName() != null) {
data.set("channelName", om.valueToTree(this.getChannelName()));
}
if (this.getDatadogApiKey() != null) {
data.set("datadogApiKey", om.valueToTree(this.getDatadogApiKey()));
}
if (this.getDatadogRegion() != null) {
data.set("datadogRegion", om.valueToTree(this.getDatadogRegion()));
}
if (this.getDelayMin() != null) {
data.set("delayMin", om.valueToTree(this.getDelayMin()));
}
if (this.getEmailAddress() != null) {
data.set("emailAddress", om.valueToTree(this.getEmailAddress()));
}
if (this.getEmailEnabled() != null) {
data.set("emailEnabled", om.valueToTree(this.getEmailEnabled()));
}
if (this.getIntervalMin() != null) {
data.set("intervalMin", om.valueToTree(this.getIntervalMin()));
}
if (this.getMicrosoftTeamsWebhookUrl() != null) {
data.set("microsoftTeamsWebhookUrl", om.valueToTree(this.getMicrosoftTeamsWebhookUrl()));
}
if (this.getMobileNumber() != null) {
data.set("mobileNumber", om.valueToTree(this.getMobileNumber()));
}
if (this.getNotificationToken() != null) {
data.set("notificationToken", om.valueToTree(this.getNotificationToken()));
}
if (this.getOpsGenieApiKey() != null) {
data.set("opsGenieApiKey", om.valueToTree(this.getOpsGenieApiKey()));
}
if (this.getOpsGenieRegion() != null) {
data.set("opsGenieRegion", om.valueToTree(this.getOpsGenieRegion()));
}
if (this.getOrgName() != null) {
data.set("orgName", om.valueToTree(this.getOrgName()));
}
if (this.getRoles() != null) {
data.set("roles", om.valueToTree(this.getRoles()));
}
if (this.getRoomName() != null) {
data.set("roomName", om.valueToTree(this.getRoomName()));
}
if (this.getServiceKey() != null) {
data.set("serviceKey", om.valueToTree(this.getServiceKey()));
}
if (this.getSeverity() != null) {
data.set("severity", om.valueToTree(this.getSeverity()));
}
if (this.getSmsEnabled() != null) {
data.set("smsEnabled", om.valueToTree(this.getSmsEnabled()));
}
if (this.getTeamId() != null) {
data.set("teamId", om.valueToTree(this.getTeamId()));
}
if (this.getTeamName() != null) {
data.set("teamName", om.valueToTree(this.getTeamName()));
}
if (this.getTypeName() != null) {
data.set("typeName", om.valueToTree(this.getTypeName()));
}
if (this.getUsername() != null) {
data.set("username", om.valueToTree(this.getUsername()));
}
if (this.getVictorOpsApiKey() != null) {
data.set("victorOpsApiKey", om.valueToTree(this.getVictorOpsApiKey()));
}
if (this.getVictorOpsRoutingKey() != null) {
data.set("victorOpsRoutingKey", om.valueToTree(this.getVictorOpsRoutingKey()));
}
if (this.getWebhookSecret() != null) {
data.set("webhookSecret", om.valueToTree(this.getWebhookSecret()));
}
if (this.getWebhookUrl() != null) {
data.set("webhookUrl", om.valueToTree(this.getWebhookUrl()));
}
final com.fasterxml.jackson.databind.node.ObjectNode struct = com.fasterxml.jackson.databind.node.JsonNodeFactory.instance.objectNode();
struct.set("fqn", om.valueToTree("awscdk-resources-mongodbatlas.NotificationView"));
struct.set("data", data);
final com.fasterxml.jackson.databind.node.ObjectNode obj = com.fasterxml.jackson.databind.node.JsonNodeFactory.instance.objectNode();
obj.set("$jsii.struct", struct);
return obj;
}
@Override
public final boolean equals(final Object o) {
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
NotificationView.Jsii$Proxy that = (NotificationView.Jsii$Proxy) o;
if (this.apiToken != null ? !this.apiToken.equals(that.apiToken) : that.apiToken != null) return false;
if (this.channelName != null ? !this.channelName.equals(that.channelName) : that.channelName != null) return false;
if (this.datadogApiKey != null ? !this.datadogApiKey.equals(that.datadogApiKey) : that.datadogApiKey != null) return false;
if (this.datadogRegion != null ? !this.datadogRegion.equals(that.datadogRegion) : that.datadogRegion != null) return false;
if (this.delayMin != null ? !this.delayMin.equals(that.delayMin) : that.delayMin != null) return false;
if (this.emailAddress != null ? !this.emailAddress.equals(that.emailAddress) : that.emailAddress != null) return false;
if (this.emailEnabled != null ? !this.emailEnabled.equals(that.emailEnabled) : that.emailEnabled != null) return false;
if (this.intervalMin != null ? !this.intervalMin.equals(that.intervalMin) : that.intervalMin != null) return false;
if (this.microsoftTeamsWebhookUrl != null ? !this.microsoftTeamsWebhookUrl.equals(that.microsoftTeamsWebhookUrl) : that.microsoftTeamsWebhookUrl != null) return false;
if (this.mobileNumber != null ? !this.mobileNumber.equals(that.mobileNumber) : that.mobileNumber != null) return false;
if (this.notificationToken != null ? !this.notificationToken.equals(that.notificationToken) : that.notificationToken != null) return false;
if (this.opsGenieApiKey != null ? !this.opsGenieApiKey.equals(that.opsGenieApiKey) : that.opsGenieApiKey != null) return false;
if (this.opsGenieRegion != null ? !this.opsGenieRegion.equals(that.opsGenieRegion) : that.opsGenieRegion != null) return false;
if (this.orgName != null ? !this.orgName.equals(that.orgName) : that.orgName != null) return false;
if (this.roles != null ? !this.roles.equals(that.roles) : that.roles != null) return false;
if (this.roomName != null ? !this.roomName.equals(that.roomName) : that.roomName != null) return false;
if (this.serviceKey != null ? !this.serviceKey.equals(that.serviceKey) : that.serviceKey != null) return false;
if (this.severity != null ? !this.severity.equals(that.severity) : that.severity != null) return false;
if (this.smsEnabled != null ? !this.smsEnabled.equals(that.smsEnabled) : that.smsEnabled != null) return false;
if (this.teamId != null ? !this.teamId.equals(that.teamId) : that.teamId != null) return false;
if (this.teamName != null ? !this.teamName.equals(that.teamName) : that.teamName != null) return false;
if (this.typeName != null ? !this.typeName.equals(that.typeName) : that.typeName != null) return false;
if (this.username != null ? !this.username.equals(that.username) : that.username != null) return false;
if (this.victorOpsApiKey != null ? !this.victorOpsApiKey.equals(that.victorOpsApiKey) : that.victorOpsApiKey != null) return false;
if (this.victorOpsRoutingKey != null ? !this.victorOpsRoutingKey.equals(that.victorOpsRoutingKey) : that.victorOpsRoutingKey != null) return false;
if (this.webhookSecret != null ? !this.webhookSecret.equals(that.webhookSecret) : that.webhookSecret != null) return false;
return this.webhookUrl != null ? this.webhookUrl.equals(that.webhookUrl) : that.webhookUrl == null;
}
@Override
public final int hashCode() {
int result = this.apiToken != null ? this.apiToken.hashCode() : 0;
result = 31 * result + (this.channelName != null ? this.channelName.hashCode() : 0);
result = 31 * result + (this.datadogApiKey != null ? this.datadogApiKey.hashCode() : 0);
result = 31 * result + (this.datadogRegion != null ? this.datadogRegion.hashCode() : 0);
result = 31 * result + (this.delayMin != null ? this.delayMin.hashCode() : 0);
result = 31 * result + (this.emailAddress != null ? this.emailAddress.hashCode() : 0);
result = 31 * result + (this.emailEnabled != null ? this.emailEnabled.hashCode() : 0);
result = 31 * result + (this.intervalMin != null ? this.intervalMin.hashCode() : 0);
result = 31 * result + (this.microsoftTeamsWebhookUrl != null ? this.microsoftTeamsWebhookUrl.hashCode() : 0);
result = 31 * result + (this.mobileNumber != null ? this.mobileNumber.hashCode() : 0);
result = 31 * result + (this.notificationToken != null ? this.notificationToken.hashCode() : 0);
result = 31 * result + (this.opsGenieApiKey != null ? this.opsGenieApiKey.hashCode() : 0);
result = 31 * result + (this.opsGenieRegion != null ? this.opsGenieRegion.hashCode() : 0);
result = 31 * result + (this.orgName != null ? this.orgName.hashCode() : 0);
result = 31 * result + (this.roles != null ? this.roles.hashCode() : 0);
result = 31 * result + (this.roomName != null ? this.roomName.hashCode() : 0);
result = 31 * result + (this.serviceKey != null ? this.serviceKey.hashCode() : 0);
result = 31 * result + (this.severity != null ? this.severity.hashCode() : 0);
result = 31 * result + (this.smsEnabled != null ? this.smsEnabled.hashCode() : 0);
result = 31 * result + (this.teamId != null ? this.teamId.hashCode() : 0);
result = 31 * result + (this.teamName != null ? this.teamName.hashCode() : 0);
result = 31 * result + (this.typeName != null ? this.typeName.hashCode() : 0);
result = 31 * result + (this.username != null ? this.username.hashCode() : 0);
result = 31 * result + (this.victorOpsApiKey != null ? this.victorOpsApiKey.hashCode() : 0);
result = 31 * result + (this.victorOpsRoutingKey != null ? this.victorOpsRoutingKey.hashCode() : 0);
result = 31 * result + (this.webhookSecret != null ? this.webhookSecret.hashCode() : 0);
result = 31 * result + (this.webhookUrl != null ? this.webhookUrl.hashCode() : 0);
return result;
}
}
}