Class GuardDutyFinding.EbsVolumeScanDetails.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.guardduty.events.GuardDutyFinding.EbsVolumeScanDetails.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<GuardDutyFinding.EbsVolumeScanDetails>
- Enclosing interface:
GuardDutyFinding.EbsVolumeScanDetails
@Stability(Experimental)
public static final class GuardDutyFinding.EbsVolumeScanDetails.Builder
extends Object
implements software.amazon.jsii.Builder<GuardDutyFinding.EbsVolumeScanDetails>
A builder for
GuardDutyFinding.EbsVolumeScanDetails-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.scanCompletedAt(List<String> scanCompletedAt) Sets the value ofGuardDutyFinding.EbsVolumeScanDetails.getScanCompletedAt()scanDetections(GuardDutyFinding.ScanDetections scanDetections) Sets the value ofGuardDutyFinding.EbsVolumeScanDetails.getScanDetections()Sets the value ofGuardDutyFinding.EbsVolumeScanDetails.getScanId()scanStartedAt(List<String> scanStartedAt) Sets the value ofGuardDutyFinding.EbsVolumeScanDetails.getScanStartedAt()Sets the value ofGuardDutyFinding.EbsVolumeScanDetails.getSources()triggerFindingId(List<String> triggerFindingId) Sets the value ofGuardDutyFinding.EbsVolumeScanDetails.getTriggerFindingId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
scanCompletedAt
@Stability(Experimental) public GuardDutyFinding.EbsVolumeScanDetails.Builder scanCompletedAt(List<String> scanCompletedAt) Sets the value ofGuardDutyFinding.EbsVolumeScanDetails.getScanCompletedAt()- 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 GuardDutyFinding.EbsVolumeScanDetails.Builder scanDetections(GuardDutyFinding.ScanDetections scanDetections) Sets the value ofGuardDutyFinding.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 GuardDutyFinding.EbsVolumeScanDetails.Builder scanId(List<String> scanId) Sets the value ofGuardDutyFinding.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 GuardDutyFinding.EbsVolumeScanDetails.Builder scanStartedAt(List<String> scanStartedAt) Sets the value ofGuardDutyFinding.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 GuardDutyFinding.EbsVolumeScanDetails.Builder sources(List<String> sources) Sets the value ofGuardDutyFinding.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 GuardDutyFinding.EbsVolumeScanDetails.Builder triggerFindingId(List<String> triggerFindingId) Sets the value ofGuardDutyFinding.EbsVolumeScanDetails.getTriggerFindingId()- 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<GuardDutyFinding.EbsVolumeScanDetails>- Returns:
- a new instance of
GuardDutyFinding.EbsVolumeScanDetails - Throws:
NullPointerException- if any required attribute was not provided
-