Class DetectorEvents.GuardDutyFinding.EbsVolumeScanDetails.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.guardduty.events.DetectorEvents.GuardDutyFinding.EbsVolumeScanDetails.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<DetectorEvents.GuardDutyFinding.EbsVolumeScanDetails>
- Enclosing interface:
DetectorEvents.GuardDutyFinding.EbsVolumeScanDetails
@Stability(Experimental)
public static final class DetectorEvents.GuardDutyFinding.EbsVolumeScanDetails.Builder
extends Object
implements software.amazon.jsii.Builder<DetectorEvents.GuardDutyFinding.EbsVolumeScanDetails>
A builder for
DetectorEvents.GuardDutyFinding.EbsVolumeScanDetails-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.scanCompletedAt(List<String> scanCompletedAt) scanDetections(DetectorEvents.GuardDutyFinding.ScanDetections scanDetections) Sets the value ofDetectorEvents.GuardDutyFinding.EbsVolumeScanDetails.getScanDetections()Sets the value ofDetectorEvents.GuardDutyFinding.EbsVolumeScanDetails.getScanId()scanStartedAt(List<String> scanStartedAt) Sets the value ofDetectorEvents.GuardDutyFinding.EbsVolumeScanDetails.getScanStartedAt()Sets the value ofDetectorEvents.GuardDutyFinding.EbsVolumeScanDetails.getSources()triggerFindingId(List<String> triggerFindingId)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
scanCompletedAt
@Stability(Experimental) public DetectorEvents.GuardDutyFinding.EbsVolumeScanDetails.Builder scanCompletedAt(List<String> scanCompletedAt) - Parameters:
scanCompletedAt- scanCompletedAt property. Specify an array of string values to match this event if the actual value of scanCompletedAt is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
scanDetections
@Stability(Experimental) public DetectorEvents.GuardDutyFinding.EbsVolumeScanDetails.Builder scanDetections(DetectorEvents.GuardDutyFinding.ScanDetections scanDetections) Sets the value ofDetectorEvents.GuardDutyFinding.EbsVolumeScanDetails.getScanDetections()- Parameters:
scanDetections- scanDetections property. Specify an array of string values to match this event if the actual value of scanDetections is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
scanId
@Stability(Experimental) public DetectorEvents.GuardDutyFinding.EbsVolumeScanDetails.Builder scanId(List<String> scanId) Sets the value ofDetectorEvents.GuardDutyFinding.EbsVolumeScanDetails.getScanId()- Parameters:
scanId- scanId property. Specify an array of string values to match this event if the actual value of scanId is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
scanStartedAt
@Stability(Experimental) public DetectorEvents.GuardDutyFinding.EbsVolumeScanDetails.Builder scanStartedAt(List<String> scanStartedAt) Sets the value ofDetectorEvents.GuardDutyFinding.EbsVolumeScanDetails.getScanStartedAt()- Parameters:
scanStartedAt- scanStartedAt property. Specify an array of string values to match this event if the actual value of scanStartedAt is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
sources
@Stability(Experimental) public DetectorEvents.GuardDutyFinding.EbsVolumeScanDetails.Builder sources(List<String> sources) Sets the value ofDetectorEvents.GuardDutyFinding.EbsVolumeScanDetails.getSources()- Parameters:
sources- sources property. Specify an array of string values to match this event if the actual value of sources is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
triggerFindingId
@Stability(Experimental) public DetectorEvents.GuardDutyFinding.EbsVolumeScanDetails.Builder triggerFindingId(List<String> triggerFindingId) - Parameters:
triggerFindingId- triggerFindingId property. Specify an array of string values to match this event if the actual value of triggerFindingId is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<DetectorEvents.GuardDutyFinding.EbsVolumeScanDetails>- Returns:
- a new instance of
DetectorEvents.GuardDutyFinding.EbsVolumeScanDetails - Throws:
NullPointerException- if any required attribute was not provided
-