@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)
Marshalls this structured data using the given
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
).ComparisonOperator
public String getComparisonOperator()
The operator that relates the thing measured (metric
) to the criteria (value
).
metric
) to the criteria (value
).ComparisonOperator
public 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
).ComparisonOperator
public 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
).ComparisonOperator
public 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 Object
Object.toString()
public BehaviorCriteria clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.