public static interface BehaviorCriteria.Builder extends SdkPojo, CopyableBuilder<BehaviorCriteria.Builder,BehaviorCriteria>
Modifier and Type | Method and Description |
---|---|
BehaviorCriteria.Builder |
comparisonOperator(ComparisonOperator comparisonOperator)
The operator that relates the thing measured (
metric ) to the criteria (value ). |
BehaviorCriteria.Builder |
comparisonOperator(String comparisonOperator)
The operator that relates the thing measured (
metric ) to the criteria (value ). |
BehaviorCriteria.Builder |
durationSeconds(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 ). |
default BehaviorCriteria.Builder |
value(Consumer<MetricValue.Builder> value)
The value to be compared with the
metric . |
BehaviorCriteria.Builder |
value(MetricValue value)
The value to be compared with the
metric . |
copy
applyMutation, build
BehaviorCriteria.Builder comparisonOperator(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
,
ComparisonOperator
BehaviorCriteria.Builder comparisonOperator(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
,
ComparisonOperator
BehaviorCriteria.Builder value(MetricValue value)
The value to be compared with the metric
.
value
- The value to be compared with the metric
.default BehaviorCriteria.Builder value(Consumer<MetricValue.Builder> value)
The value to be compared with the metric
.
MetricValue.Builder
avoiding the need to create
one manually via MetricValue.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its result
is passed to value(MetricValue)
.value
- a consumer that will call methods on MetricValue.Builder
value(MetricValue)
BehaviorCriteria.Builder durationSeconds(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
).Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.