Class CfnAllowListPropsMixin.S3WordsListProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.macie.CfnAllowListPropsMixin.S3WordsListProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAllowListPropsMixin.S3WordsListProperty>
- Enclosing interface:
CfnAllowListPropsMixin.S3WordsListProperty
@Stability(Stable)
public static final class CfnAllowListPropsMixin.S3WordsListProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAllowListPropsMixin.S3WordsListProperty>
A builder for
CfnAllowListPropsMixin.S3WordsListProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbucketName(String bucketName) Sets the value ofCfnAllowListPropsMixin.S3WordsListProperty.getBucketName()build()Builds the configured instance.Sets the value ofCfnAllowListPropsMixin.S3WordsListProperty.getObjectKey()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
bucketName
@Stability(Stable) public CfnAllowListPropsMixin.S3WordsListProperty.Builder bucketName(String bucketName) Sets the value ofCfnAllowListPropsMixin.S3WordsListProperty.getBucketName()- Parameters:
bucketName- The full name of the S3 bucket that contains the object. This value correlates to theNamefield of a bucket's properties in Amazon S3 .This value is case sensitive. In addition, don't use wildcard characters or specify partial values for the name.
- Returns:
this
-
objectKey
@Stability(Stable) public CfnAllowListPropsMixin.S3WordsListProperty.Builder objectKey(String objectKey) Sets the value ofCfnAllowListPropsMixin.S3WordsListProperty.getObjectKey()- Parameters:
objectKey- The full name of the S3 object. This value correlates to theKeyfield of an object's properties in Amazon S3 . If the name includes a path, include the complete path. For example,AllowLists/Macie/MyList.txt.This value is case sensitive. In addition, don't use wildcard characters or specify partial values for the name.
- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnAllowListPropsMixin.S3WordsListProperty>- Returns:
- a new instance of
CfnAllowListPropsMixin.S3WordsListProperty - Throws:
NullPointerException- if any required attribute was not provided
-