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