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