Class GuardDutyFinding.ThreatDetectedByNameItemItem.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.guardduty.events.GuardDutyFinding.ThreatDetectedByNameItemItem.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<GuardDutyFinding.ThreatDetectedByNameItemItem>
- Enclosing interface:
GuardDutyFinding.ThreatDetectedByNameItemItem
@Stability(Experimental)
public static final class GuardDutyFinding.ThreatDetectedByNameItemItem.Builder
extends Object
implements software.amazon.jsii.Builder<GuardDutyFinding.ThreatDetectedByNameItemItem>
A builder for
GuardDutyFinding.ThreatDetectedByNameItemItem-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofGuardDutyFinding.ThreatDetectedByNameItemItem.getFileName()Sets the value ofGuardDutyFinding.ThreatDetectedByNameItemItem.getFilePath()Sets the value ofGuardDutyFinding.ThreatDetectedByNameItemItem.getHash()Sets the value ofGuardDutyFinding.ThreatDetectedByNameItemItem.getVolumeArn()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
fileName
@Stability(Experimental) public GuardDutyFinding.ThreatDetectedByNameItemItem.Builder fileName(List<String> fileName) Sets the value ofGuardDutyFinding.ThreatDetectedByNameItemItem.getFileName()- Parameters:
fileName- fileName property. Specify an array of string values to match this event if the actual value of fileName is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
filePath
@Stability(Experimental) public GuardDutyFinding.ThreatDetectedByNameItemItem.Builder filePath(List<String> filePath) Sets the value ofGuardDutyFinding.ThreatDetectedByNameItemItem.getFilePath()- Parameters:
filePath- filePath property. Specify an array of string values to match this event if the actual value of filePath is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
hash
@Stability(Experimental) public GuardDutyFinding.ThreatDetectedByNameItemItem.Builder hash(List<String> hash) Sets the value ofGuardDutyFinding.ThreatDetectedByNameItemItem.getHash()- Parameters:
hash- hash property. Specify an array of string values to match this event if the actual value of hash is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
volumeArn
@Stability(Experimental) public GuardDutyFinding.ThreatDetectedByNameItemItem.Builder volumeArn(List<String> volumeArn) Sets the value ofGuardDutyFinding.ThreatDetectedByNameItemItem.getVolumeArn()- Parameters:
volumeArn- volumeArn property. Specify an array of string values to match this event if the actual value of volumeArn 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.ThreatDetectedByNameItemItem>- Returns:
- a new instance of
GuardDutyFinding.ThreatDetectedByNameItemItem - Throws:
NullPointerException- if any required attribute was not provided
-