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