Interface Detection.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<Detection.Builder,,Detection> SdkBuilder<Detection.Builder,,Detection> SdkPojo
- Enclosing class:
Detection
public static interface Detection.Builder
extends SdkPojo, CopyableBuilder<Detection.Builder,Detection>
-
Method Summary
Modifier and TypeMethodDescriptiondefault Detection.Builderanomaly(Consumer<Anomaly.Builder> anomaly) The details about the anomalous activity that caused GuardDuty to generate the finding.The details about the anomalous activity that caused GuardDuty to generate the finding.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
anomaly
The details about the anomalous activity that caused GuardDuty to generate the finding.
- Parameters:
anomaly- The details about the anomalous activity that caused GuardDuty to generate the finding.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
anomaly
The details about the anomalous activity that caused GuardDuty to generate the finding.
This is a convenience method that creates an instance of theAnomaly.Builderavoiding the need to create one manually viaAnomaly.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toanomaly(Anomaly).- Parameters:
anomaly- a consumer that will call methods onAnomaly.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-