Interface EbsVolumeScanDetails.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<EbsVolumeScanDetails.Builder,EbsVolumeScanDetails>,SdkBuilder<EbsVolumeScanDetails.Builder,EbsVolumeScanDetails>,SdkPojo
- Enclosing class:
- EbsVolumeScanDetails
public static interface EbsVolumeScanDetails.Builder extends SdkPojo, CopyableBuilder<EbsVolumeScanDetails.Builder,EbsVolumeScanDetails>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description EbsVolumeScanDetails.BuilderscanCompletedAt(Instant scanCompletedAt)Returns the completion date and time of the malware scan.default EbsVolumeScanDetails.BuilderscanDetections(Consumer<ScanDetections.Builder> scanDetections)Contains a complete view providing malware scan result details.EbsVolumeScanDetails.BuilderscanDetections(ScanDetections scanDetections)Contains a complete view providing malware scan result details.EbsVolumeScanDetails.BuilderscanId(String scanId)Unique Id of the malware scan that generated the finding.EbsVolumeScanDetails.BuilderscanStartedAt(Instant scanStartedAt)Returns the start date and time of the malware scan.EbsVolumeScanDetails.BuilderscanType(String scanType)Specifies the scan type that invoked the malware scan.EbsVolumeScanDetails.BuilderscanType(ScanType scanType)Specifies the scan type that invoked the malware scan.EbsVolumeScanDetails.Buildersources(String... sources)Contains list of threat intelligence sources used to detect threats.EbsVolumeScanDetails.Buildersources(Collection<String> sources)Contains list of threat intelligence sources used to detect threats.EbsVolumeScanDetails.BuildertriggerFindingId(String triggerFindingId)GuardDuty finding ID that triggered a malware scan.-
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
-
scanId
EbsVolumeScanDetails.Builder scanId(String scanId)
Unique Id of the malware scan that generated the finding.
- Parameters:
scanId- Unique Id of the malware scan that generated the finding.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scanStartedAt
EbsVolumeScanDetails.Builder scanStartedAt(Instant scanStartedAt)
Returns the start date and time of the malware scan.
- Parameters:
scanStartedAt- Returns the start date and time of the malware scan.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scanCompletedAt
EbsVolumeScanDetails.Builder scanCompletedAt(Instant scanCompletedAt)
Returns the completion date and time of the malware scan.
- Parameters:
scanCompletedAt- Returns the completion date and time of the malware scan.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
triggerFindingId
EbsVolumeScanDetails.Builder triggerFindingId(String triggerFindingId)
GuardDuty finding ID that triggered a malware scan.
- Parameters:
triggerFindingId- GuardDuty finding ID that triggered a malware scan.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sources
EbsVolumeScanDetails.Builder sources(Collection<String> sources)
Contains list of threat intelligence sources used to detect threats.
- Parameters:
sources- Contains list of threat intelligence sources used to detect threats.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sources
EbsVolumeScanDetails.Builder sources(String... sources)
Contains list of threat intelligence sources used to detect threats.
- Parameters:
sources- Contains list of threat intelligence sources used to detect threats.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scanDetections
EbsVolumeScanDetails.Builder scanDetections(ScanDetections scanDetections)
Contains a complete view providing malware scan result details.
- Parameters:
scanDetections- Contains a complete view providing malware scan result details.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scanDetections
default EbsVolumeScanDetails.Builder scanDetections(Consumer<ScanDetections.Builder> scanDetections)
Contains a complete view providing malware scan result details.
This is a convenience method that creates an instance of theScanDetections.Builderavoiding the need to create one manually viaScanDetections.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toscanDetections(ScanDetections).- Parameters:
scanDetections- a consumer that will call methods onScanDetections.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
scanDetections(ScanDetections)
-
scanType
EbsVolumeScanDetails.Builder scanType(String scanType)
Specifies the scan type that invoked the malware scan.
-
scanType
EbsVolumeScanDetails.Builder scanType(ScanType scanType)
Specifies the scan type that invoked the malware scan.
-
-