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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default Detection.Builderanomaly(Consumer<Anomaly.Builder> anomaly)The details about the anomalous activity that caused GuardDuty to generate the finding.Detection.Builderanomaly(Anomaly anomaly)The details about the anomalous activity that caused GuardDuty to generate the finding.default Detection.Buildersequence(Consumer<Sequence.Builder> sequence)The details about the attack sequence.Detection.Buildersequence(Sequence sequence)The details about the attack sequence.-
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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
anomaly
Detection.Builder anomaly(Anomaly 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
default Detection.Builder anomaly(Consumer<Anomaly.Builder> 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:
anomaly(Anomaly)
-
sequence
Detection.Builder sequence(Sequence sequence)
The details about the attack sequence.
- Parameters:
sequence- The details about the attack sequence.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sequence
default Detection.Builder sequence(Consumer<Sequence.Builder> sequence)
The details about the attack sequence.
This is a convenience method that creates an instance of theSequence.Builderavoiding the need to create one manually viaSequence.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosequence(Sequence).- Parameters:
sequence- a consumer that will call methods onSequence.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
sequence(Sequence)
-
-