@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class BehaviorCriteria extends Object implements Serializable, Cloneable, StructuredPojo
The criteria by which the behavior is determined to be normal.
| Constructor and Description |
|---|
BehaviorCriteria() |
| Modifier and Type | Method and Description |
|---|---|
BehaviorCriteria |
clone() |
boolean |
equals(Object obj) |
String |
getComparisonOperator()
The operator that relates the thing measured (
metric) to the criteria (value). |
Integer |
getDurationSeconds()
Use this to specify the period of time over which the behavior is evaluated, for those criteria which have a time
dimension (for example,
NUM_MESSAGES_SENT). |
MetricValue |
getValue()
The value to be compared with the
metric. |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setComparisonOperator(String comparisonOperator)
The operator that relates the thing measured (
metric) to the criteria (value). |
void |
setDurationSeconds(Integer durationSeconds)
Use this to specify the period of time over which the behavior is evaluated, for those criteria which have a time
dimension (for example,
NUM_MESSAGES_SENT). |
void |
setValue(MetricValue value)
The value to be compared with the
metric. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
BehaviorCriteria |
withComparisonOperator(ComparisonOperator comparisonOperator)
The operator that relates the thing measured (
metric) to the criteria (value). |
BehaviorCriteria |
withComparisonOperator(String comparisonOperator)
The operator that relates the thing measured (
metric) to the criteria (value). |
BehaviorCriteria |
withDurationSeconds(Integer durationSeconds)
Use this to specify the period of time over which the behavior is evaluated, for those criteria which have a time
dimension (for example,
NUM_MESSAGES_SENT). |
BehaviorCriteria |
withValue(MetricValue value)
The value to be compared with the
metric. |
public void setComparisonOperator(String comparisonOperator)
The operator that relates the thing measured (metric) to the criteria (value).
comparisonOperator - The operator that relates the thing measured (metric) to the criteria (value).ComparisonOperatorpublic String getComparisonOperator()
The operator that relates the thing measured (metric) to the criteria (value).
metric) to the criteria (value).ComparisonOperatorpublic BehaviorCriteria withComparisonOperator(String comparisonOperator)
The operator that relates the thing measured (metric) to the criteria (value).
comparisonOperator - The operator that relates the thing measured (metric) to the criteria (value).ComparisonOperatorpublic BehaviorCriteria withComparisonOperator(ComparisonOperator comparisonOperator)
The operator that relates the thing measured (metric) to the criteria (value).
comparisonOperator - The operator that relates the thing measured (metric) to the criteria (value).ComparisonOperatorpublic void setValue(MetricValue value)
The value to be compared with the metric.
value - The value to be compared with the metric.public MetricValue getValue()
The value to be compared with the metric.
metric.public BehaviorCriteria withValue(MetricValue value)
The value to be compared with the metric.
value - The value to be compared with the metric.public void setDurationSeconds(Integer durationSeconds)
Use this to specify the period of time over which the behavior is evaluated, for those criteria which have a time
dimension (for example, NUM_MESSAGES_SENT).
durationSeconds - Use this to specify the period of time over which the behavior is evaluated, for those criteria which have
a time dimension (for example, NUM_MESSAGES_SENT).public Integer getDurationSeconds()
Use this to specify the period of time over which the behavior is evaluated, for those criteria which have a time
dimension (for example, NUM_MESSAGES_SENT).
NUM_MESSAGES_SENT).public BehaviorCriteria withDurationSeconds(Integer durationSeconds)
Use this to specify the period of time over which the behavior is evaluated, for those criteria which have a time
dimension (for example, NUM_MESSAGES_SENT).
durationSeconds - Use this to specify the period of time over which the behavior is evaluated, for those criteria which have
a time dimension (for example, NUM_MESSAGES_SENT).public String toString()
toString in class ObjectObject.toString()public BehaviorCriteria clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2018. All rights reserved.