public abstract class AbstractResourceAlertResponse extends Object implements Serializable
| Modifier and Type | Field and Description | 
|---|---|
| protected String | action | 
| protected int | breachPeriod | 
| protected boolean | enabled | 
| protected String | equalityRelation | 
| protected String | group | 
| protected String | name | 
| protected String | type | 
| protected String | username | 
| Constructor and Description | 
|---|
| AbstractResourceAlertResponse(String group,
                             String name,
                             String type,
                             String username,
                             String action,
                             String equalityRelation,
                             boolean enabled,
                             int breachPeriod) | 
| Modifier and Type | Method and Description | 
|---|---|
| String | getAction()Get action to perform when alert is triggered. | 
| 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. | 
| String | getUsername()Get the username associated with the alert. | 
| boolean | isEnabled()Set whether the alert is enabled. | 
@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 protected String username
@Since(value=1.0) @Expose protected String action
@Since(value=1.0) @Expose @SerializedName(value="equality") protected String equalityRelation
@Since(value=1.0) @Expose protected boolean enabled
@Since(value=1.0) @Expose @SerializedName(value="breach") protected int breachPeriod
public String getGroup()
String performance counter grouppublic String getName()
String performance counter namepublic String getType()
String performance counter typepublic String getUsername()
String usernamepublic String getRelation()
e.g. '<=' or '>='
String equality relationpublic String getAction()
String actionpublic int getBreachPeriod()
i.e. the number of consecutive periods in which the threshold must be met before alert is sent.
public boolean isEnabled()
Copyright © 2020 iland Internet Solutions, Corp. All rights reserved.