Class GuardDutyFinding.BucketLevelPermissions.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.guardduty.events.GuardDutyFinding.BucketLevelPermissions.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<GuardDutyFinding.BucketLevelPermissions>
- Enclosing interface:
GuardDutyFinding.BucketLevelPermissions
@Stability(Experimental)
public static final class GuardDutyFinding.BucketLevelPermissions.Builder
extends Object
implements software.amazon.jsii.Builder<GuardDutyFinding.BucketLevelPermissions>
A builder for
GuardDutyFinding.BucketLevelPermissions-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaccessControlList(GuardDutyFinding.AccessControlList accessControlList) Sets the value ofGuardDutyFinding.BucketLevelPermissions.getAccessControlList()blockPublicAccess(GuardDutyFinding.BlockPublicAccess blockPublicAccess) Sets the value ofGuardDutyFinding.BucketLevelPermissions.getBlockPublicAccess()bucketPolicy(GuardDutyFinding.AccessControlList bucketPolicy) Sets the value ofGuardDutyFinding.BucketLevelPermissions.getBucketPolicy()build()Builds the configured instance.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
accessControlList
@Stability(Experimental) public GuardDutyFinding.BucketLevelPermissions.Builder accessControlList(GuardDutyFinding.AccessControlList accessControlList) Sets the value ofGuardDutyFinding.BucketLevelPermissions.getAccessControlList()- 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 GuardDutyFinding.BucketLevelPermissions.Builder blockPublicAccess(GuardDutyFinding.BlockPublicAccess blockPublicAccess) Sets the value ofGuardDutyFinding.BucketLevelPermissions.getBlockPublicAccess()- 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 GuardDutyFinding.BucketLevelPermissions.Builder bucketPolicy(GuardDutyFinding.AccessControlList bucketPolicy) Sets the value ofGuardDutyFinding.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<GuardDutyFinding.BucketLevelPermissions>- Returns:
- a new instance of
GuardDutyFinding.BucketLevelPermissions - Throws:
NullPointerException- if any required attribute was not provided
-