
com.ocadotechnology.newrelic.apiclient.model.conditions.AlertsCondition Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of newrelic-api-client Show documentation
Show all versions of newrelic-api-client Show documentation
NewRelic Alerts Configurator can be used to configure NewRelic alerts for your application. Instead of defining alerts through UI you can define them in code. It allows you to automatize alerts configuration, easily recover them in case of wipe out and have full history of changes in your version control system.
package com.ocadotechnology.newrelic.apiclient.model.conditions;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Singular;
import lombok.Value;
import lombok.experimental.NonFinal;
import java.util.Collection;
/**
* See Doc
*
* Field {@link #conditionScope} is not documented in New Relic api explorer but it exists according to:
* See Link
*/
@Value
@Builder
@AllArgsConstructor
@NonFinal
public class AlertsCondition {
@JsonProperty
Integer id;
@JsonProperty
String type;
@JsonProperty
String name;
@JsonProperty
Boolean enabled;
@JsonProperty
@Singular
Collection entities;
@JsonProperty
String metric;
@JsonProperty("condition_scope")
String conditionScope;
@JsonProperty("runbook_url")
String runbookUrl;
@JsonProperty
@Singular
Collection terms;
@JsonProperty("user_defined")
UserDefined userDefined;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy