public abstract class AbstractResourceAlertRequest extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
protected String |
action |
protected int |
breachPeriod |
protected String |
equalityRelation |
protected String |
group |
protected String |
name |
protected String |
type |
Constructor and Description |
---|
AbstractResourceAlertRequest(String group,
String name,
String type,
String equalityRelation,
int breachPeriod,
String action) |
Modifier and Type | Method and Description |
---|---|
String |
getAction()
Get the alert action.
|
int |
getBreachPeriod()
Get the breach period that is required in order for the alert to be
triggered.
|
String |
getGroup()
Get the performance counter group attached to this alert.
|
String |
getName()
Get the performance counter name attached to this alert.
|
String |
getRelation()
Get equality relation.
|
String |
getType()
Get the performance counter type attached to this alert.
|
@Since(value=1.0) @Expose protected String group
@Since(value=1.0) @Expose protected String name
@Since(value=1.0) @Expose protected String type
@Since(value=1.0) @Expose @SerializedName(value="equality") protected String equalityRelation
@Since(value=1.0) @Expose @SerializedName(value="breach") protected int breachPeriod
@Since(value=1.0) @Expose protected String action
public String getGroup()
String
performance counter grouppublic String getName()
String
performance counter namepublic String getType()
String
performance counter typepublic String getRelation()
e.g. '<=' or '>='
String
equality relationpublic int getBreachPeriod()
i.e. the number of consecutive periods in which the threshold must be met before alert is sent.
Copyright © 2023 iland Internet Solutions, Corp. All rights reserved.