public static interface Behavior.Builder extends SdkPojo, CopyableBuilder<Behavior.Builder,Behavior>
| Modifier and Type | Method and Description |
|---|---|
Behavior.Builder |
criteria(BehaviorCriteria criteria)
The criteria that determine if a device is behaving normally in regard to the
metric. |
default Behavior.Builder |
criteria(Consumer<BehaviorCriteria.Builder> criteria)
The criteria that determine if a device is behaving normally in regard to the
metric. |
Behavior.Builder |
metric(String metric)
What is measured by the behavior.
|
Behavior.Builder |
name(String name)
The name you have given to the behavior.
|
copyapplyMutation, buildBehavior.Builder name(String name)
The name you have given to the behavior.
name - The name you have given to the behavior.Behavior.Builder metric(String metric)
What is measured by the behavior.
metric - What is measured by the behavior.Behavior.Builder criteria(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.default Behavior.Builder criteria(Consumer<BehaviorCriteria.Builder> criteria)
The criteria that determine if a device is behaving normally in regard to the metric.
BehaviorCriteria.Builder avoiding the need to
create one manually via BehaviorCriteria.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to criteria(BehaviorCriteria).criteria - a consumer that will call methods on BehaviorCriteria.Buildercriteria(BehaviorCriteria)Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.