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