Interface AnomalyObject.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<AnomalyObject.Builder,
,AnomalyObject> SdkBuilder<AnomalyObject.Builder,
,AnomalyObject> SdkPojo
- Enclosing class:
AnomalyObject
public static interface AnomalyObject.Builder
extends SdkPojo, CopyableBuilder<AnomalyObject.Builder,AnomalyObject>
-
Method Summary
Modifier and TypeMethodDescriptiondefault AnomalyObject.Builder
observations
(Consumer<Observations.Builder> observations) The recorded value.observations
(Observations observations) The recorded value.profileSubtype
(String profileSubtype) The frequency of the anomaly.profileSubtype
(ProfileSubtype profileSubtype) The frequency of the anomaly.profileType
(String profileType) The type of behavior of the profile.profileType
(ProfileType profileType) The type of behavior of the profile.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
-
profileType
The type of behavior of the profile.
- Parameters:
profileType
- The type of behavior of the profile.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
profileType
The type of behavior of the profile.
- Parameters:
profileType
- The type of behavior of the profile.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
profileSubtype
The frequency of the anomaly.
- Parameters:
profileSubtype
- The frequency of the anomaly.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
profileSubtype
The frequency of the anomaly.
- Parameters:
profileSubtype
- The frequency of the anomaly.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
observations
The recorded value.
- Parameters:
observations
- The recorded value.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
observations
The recorded value.
This is a convenience method that creates an instance of theObservations.Builder
avoiding the need to create one manually viaObservations.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toobservations(Observations)
.- Parameters:
observations
- a consumer that will call methods onObservations.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-