@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Behavior extends Object implements Serializable, Cloneable, StructuredPojo
A Device Defender security profile behavior.
Constructor and Description |
---|
Behavior() |
Modifier and Type | Method and Description |
---|---|
Behavior |
clone() |
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.
|
MetricDimension |
getMetricDimension()
The dimension for a metric in your behavior.
|
String |
getName()
The name you have given to the behavior.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
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 |
setMetricDimension(MetricDimension metricDimension)
The dimension for a metric in your behavior.
|
void |
setName(String name)
The name you have given to the behavior.
|
String |
toString()
Returns a string representation of this object.
|
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 |
withMetricDimension(MetricDimension metricDimension)
The dimension for a metric in your behavior.
|
Behavior |
withName(String name)
The name you have given to the behavior.
|
public void setName(String name)
The name you have given to the behavior.
name
- The name you have given to the behavior.public String getName()
The name you have given to the behavior.
public Behavior withName(String name)
The name you have given to the behavior.
name
- The name you have given to the behavior.public void setMetric(String metric)
What is measured by the behavior.
metric
- What is measured by the behavior.public String getMetric()
What is measured by the behavior.
public Behavior withMetric(String metric)
What is measured by the behavior.
metric
- What is measured by the behavior.public void setMetricDimension(MetricDimension metricDimension)
The dimension for a metric in your behavior. For example, using a TOPIC_FILTER
dimension, you can
narrow down the scope of the metric only to MQTT topics whose name match the pattern specified in the dimension.
metricDimension
- The dimension for a metric in your behavior. For example, using a TOPIC_FILTER
dimension, you
can narrow down the scope of the metric only to MQTT topics whose name match the pattern specified in the
dimension.public MetricDimension getMetricDimension()
The dimension for a metric in your behavior. For example, using a TOPIC_FILTER
dimension, you can
narrow down the scope of the metric only to MQTT topics whose name match the pattern specified in the dimension.
TOPIC_FILTER
dimension,
you can narrow down the scope of the metric only to MQTT topics whose name match the pattern specified in
the dimension.public Behavior withMetricDimension(MetricDimension metricDimension)
The dimension for a metric in your behavior. For example, using a TOPIC_FILTER
dimension, you can
narrow down the scope of the metric only to MQTT topics whose name match the pattern specified in the dimension.
metricDimension
- The dimension for a metric in your behavior. For example, using a TOPIC_FILTER
dimension, you
can narrow down the scope of the metric only to MQTT topics whose name match the pattern specified in the
dimension.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 BehaviorCriteria getCriteria()
The criteria that determine if a device is behaving normally in regard to the metric
.
metric
.public Behavior withCriteria(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 String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.