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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description MalwareScanDetails.Builderthreats(Collection<Threat> threats)Information about the detected threats associated with the generated GuardDuty finding.MalwareScanDetails.Builderthreats(Consumer<Threat.Builder>... threats)Information about the detected threats associated with the generated GuardDuty finding.MalwareScanDetails.Builderthreats(Threat... threats)Information about the detected threats associated with the generated GuardDuty finding.-
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 Detail
-
threats
MalwareScanDetails.Builder threats(Collection<Threat> 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
MalwareScanDetails.Builder threats(Threat... 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
MalwareScanDetails.Builder threats(Consumer<Threat.Builder>... 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 to#threats(List.) - 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:
#threats(java.util.Collection)
-
-