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