@Generated(value="software.amazon.awssdk:codegen") public final class BehaviorCriteria extends Object implements SdkPojo, Serializable, ToCopyableBuilder<BehaviorCriteria.Builder,BehaviorCriteria>
The criteria by which the behavior is determined to be normal.
| Modifier and Type | Class and Description |
|---|---|
static interface |
BehaviorCriteria.Builder |
| Modifier and Type | Method and Description |
|---|---|
static BehaviorCriteria.Builder |
builder() |
ComparisonOperator |
comparisonOperator()
The operator that relates the thing measured (
metric) to the criteria (value). |
String |
comparisonOperatorAsString()
The operator that relates the thing measured (
metric) to the criteria (value). |
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). |
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends BehaviorCriteria.Builder> |
serializableBuilderClass() |
BehaviorCriteria.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
MetricValue |
value()
The value to be compared with the
metric. |
copypublic ComparisonOperator comparisonOperator()
The operator that relates the thing measured (metric) to the criteria (value).
If the service returns an enum value that is not available in the current SDK version,
comparisonOperator will return ComparisonOperator.UNKNOWN_TO_SDK_VERSION. The raw value returned
by the service is available from comparisonOperatorAsString().
metric) to the criteria (value).ComparisonOperatorpublic String comparisonOperatorAsString()
The operator that relates the thing measured (metric) to the criteria (value).
If the service returns an enum value that is not available in the current SDK version,
comparisonOperator will return ComparisonOperator.UNKNOWN_TO_SDK_VERSION. The raw value returned
by the service is available from comparisonOperatorAsString().
metric) to the criteria (value).ComparisonOperatorpublic MetricValue value()
The value to be compared with the metric.
metric.public 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).
NUM_MESSAGES_SENT).public BehaviorCriteria.Builder toBuilder()
ToCopyableBuildertoBuilder in interface ToCopyableBuilder<BehaviorCriteria.Builder,BehaviorCriteria>public static BehaviorCriteria.Builder builder()
public static Class<? extends BehaviorCriteria.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.