Interface MalwareScanDetails.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<MalwareScanDetails.Builder,,MalwareScanDetails> SdkBuilder<MalwareScanDetails.Builder,,MalwareScanDetails> SdkPojo
- Enclosing class:
MalwareScanDetails
public static interface MalwareScanDetails.Builder
extends SdkPojo, CopyableBuilder<MalwareScanDetails.Builder,MalwareScanDetails>
-
Method Summary
Modifier and TypeMethodDescriptionthreats(Collection<Threat> threats) Information about the detected threats associated with the generated GuardDuty finding.threats(Consumer<Threat.Builder>... threats) Information about the detected threats associated with the generated GuardDuty finding.Information about the detected threats associated with the generated GuardDuty 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
-
threats
Information about the detected threats associated with the generated GuardDuty finding.
- Parameters:
threats- Information about the detected threats associated with the generated GuardDuty finding.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
threats
Information about the detected threats associated with the generated GuardDuty finding.
- Parameters:
threats- Information about the detected threats associated with the generated GuardDuty finding.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
threats
Information about the detected threats associated with the generated GuardDuty finding.
This is a convenience method that creates an instance of theThreat.Builderavoiding the need to create one manually viaThreat.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tothreats(List<Threat>).- Parameters:
threats- a consumer that will call methods onThreat.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-