public class AlertViolation extends IdResource
Constructor and Description |
---|
AlertViolation()
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
long |
getClosedAt()
Returns the date the violation was closed.
|
String |
getConditionName()
Returns the condition name of the violation.
|
int |
getDuration()
Returns the duration of the violation.
|
AlertEntity |
getEntity()
Returns the entity of the violation.
|
String |
getLabel()
Returns the label of the violation.
|
ViolationLinks |
getLinks()
Returns the links of the violation.
|
long |
getOpenedAt()
Returns the date the violation was opened.
|
String |
getPolicyName()
Returns the policy name of the violation.
|
String |
getPriority()
Returns the priority of the violation.
|
void |
setConditionName(String conditionName)
Sets the condition name of the violation.
|
void |
setDuration(int duration)
Sets the duration of the violation.
|
void |
setLabel(String label)
Sets the label of the violation.
|
void |
setPolicyName(String policyName)
Sets the policy name of the violation.
|
void |
setPriority(Priority priority)
Sets the priority of the violation.
|
void |
setPriority(String priority)
Sets the priority of the violation.
|
String |
toString()
Returns a string representation of the object.
|
getId, setId
public void setLabel(String label)
label
- The label of the violationpublic String getLabel()
public void setDuration(int duration)
duration
- The duration of the violationpublic int getDuration()
public void setPolicyName(String policyName)
policyName
- The policy name of the violationpublic String getPolicyName()
public void setConditionName(String conditionName)
conditionName
- The condition name of the violationpublic String getConditionName()
public void setPriority(String priority)
priority
- The priority of the violationpublic void setPriority(Priority priority)
priority
- The priority of the violationpublic String getPriority()
public long getOpenedAt()
public long getClosedAt()
public AlertEntity getEntity()
public ViolationLinks getLinks()
public String toString()
toString
in class IdResource
Copyright © 2018. All rights reserved.