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