public class Behavior extends Object implements Serializable
A Device Defender security profile behavior.
| Constructor and Description |
|---|
Behavior() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
BehaviorCriteria |
getCriteria()
The criteria that determine if a device is behaving normally in regard to
the
metric. |
String |
getMetric()
What is measured by the behavior.
|
String |
getName()
The name you have given to the behavior.
|
int |
hashCode() |
void |
setCriteria(BehaviorCriteria criteria)
The criteria that determine if a device is behaving normally in regard to
the
metric. |
void |
setMetric(String metric)
What is measured by the behavior.
|
void |
setName(String name)
The name you have given to the behavior.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
Behavior |
withCriteria(BehaviorCriteria criteria)
The criteria that determine if a device is behaving normally in regard to
the
metric. |
Behavior |
withMetric(String metric)
What is measured by the behavior.
|
Behavior |
withName(String name)
The name you have given to the behavior.
|
public String getName()
The name you have given to the behavior.
Constraints:
Length: 1 - 128
Pattern: [a-zA-Z0-9:_-]+
The name you have given to the behavior.
public void setName(String name)
The name you have given to the behavior.
Constraints:
Length: 1 - 128
Pattern: [a-zA-Z0-9:_-]+
name - The name you have given to the behavior.
public Behavior withName(String name)
The name you have given to the behavior.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 128
Pattern: [a-zA-Z0-9:_-]+
name - The name you have given to the behavior.
public String getMetric()
What is measured by the behavior.
What is measured by the behavior.
public void setMetric(String metric)
What is measured by the behavior.
metric - What is measured by the behavior.
public Behavior withMetric(String metric)
What is measured by the behavior.
Returns a reference to this object so that method calls can be chained together.
metric - What is measured by the behavior.
public BehaviorCriteria getCriteria()
The criteria that determine if a device is behaving normally in regard to
the metric.
The criteria that determine if a device is behaving normally in
regard to the metric.
public void setCriteria(BehaviorCriteria criteria)
The criteria that determine if a device is behaving normally in regard to
the metric.
criteria -
The criteria that determine if a device is behaving normally
in regard to the metric.
public Behavior withCriteria(BehaviorCriteria criteria)
The criteria that determine if a device is behaving normally in regard to
the metric.
Returns a reference to this object so that method calls can be chained together.
criteria -
The criteria that determine if a device is behaving normally
in regard to the metric.
public String toString()
toString in class ObjectObject.toString()Copyright © 2018. All rights reserved.