Class GuardDutyFinding.AdditionalInfoItem.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.guardduty.events.GuardDutyFinding.AdditionalInfoItem.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<GuardDutyFinding.AdditionalInfoItem>
- Enclosing interface:
GuardDutyFinding.AdditionalInfoItem
@Stability(Experimental)
public static final class GuardDutyFinding.AdditionalInfoItem.Builder
extends Object
implements software.amazon.jsii.Builder<GuardDutyFinding.AdditionalInfoItem>
A builder for
GuardDutyFinding.AdditionalInfoItem-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofGuardDutyFinding.AdditionalInfoItem.getCount()Sets the value ofGuardDutyFinding.AdditionalInfoItem.getFirstSeen()Sets the value ofGuardDutyFinding.AdditionalInfoItem.getLastSeen()Sets the value ofGuardDutyFinding.AdditionalInfoItem.getName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
count
@Stability(Experimental) public GuardDutyFinding.AdditionalInfoItem.Builder count(List<String> count) Sets the value ofGuardDutyFinding.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 GuardDutyFinding.AdditionalInfoItem.Builder firstSeen(List<String> firstSeen) Sets the value ofGuardDutyFinding.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 GuardDutyFinding.AdditionalInfoItem.Builder lastSeen(List<String> lastSeen) Sets the value ofGuardDutyFinding.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
Sets the value ofGuardDutyFinding.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<GuardDutyFinding.AdditionalInfoItem>- Returns:
- a new instance of
GuardDutyFinding.AdditionalInfoItem - Throws:
NullPointerException- if any required attribute was not provided
-