Interface Anomaly.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Anomaly.Builder,
,Anomaly> SdkBuilder<Anomaly.Builder,
,Anomaly> SdkPojo
- Enclosing class:
Anomaly
-
Method Summary
Modifier and TypeMethodDescriptionprofiles
(Map<String, ? extends Map<String, ? extends Collection<AnomalyObject>>> profiles) Information about the types of profiles.default Anomaly.Builder
unusual
(Consumer<AnomalyUnusual.Builder> unusual) Information about the behavior of the anomalies.unusual
(AnomalyUnusual unusual) Information about the behavior of the anomalies.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
profiles
Anomaly.Builder profiles(Map<String, ? extends Map<String, ? extends Collection<AnomalyObject>>> profiles) Information about the types of profiles.
- Parameters:
profiles
- Information about the types of profiles.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
unusual
Information about the behavior of the anomalies.
- Parameters:
unusual
- Information about the behavior of the anomalies.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
unusual
Information about the behavior of the anomalies.
This is a convenience method that creates an instance of theAnomalyUnusual.Builder
avoiding the need to create one manually viaAnomalyUnusual.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tounusual(AnomalyUnusual)
.- Parameters:
unusual
- a consumer that will call methods onAnomalyUnusual.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-