Class CfnTable.S3BucketSourceProperty.Builder
java.lang.Object
software.amazon.awscdk.services.dynamodb.CfnTable.S3BucketSourceProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTable.S3BucketSourceProperty>
- Enclosing interface:
CfnTable.S3BucketSourceProperty
@Stability(Stable)
public static final class CfnTable.S3BucketSourceProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTable.S3BucketSourceProperty>
A builder for
CfnTable.S3BucketSourceProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnTable.S3BucketSourceProperty.getS3Bucket()
s3BucketOwner
(String s3BucketOwner) Sets the value ofCfnTable.S3BucketSourceProperty.getS3BucketOwner()
s3KeyPrefix
(String s3KeyPrefix) Sets the value ofCfnTable.S3BucketSourceProperty.getS3KeyPrefix()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
s3Bucket
Sets the value ofCfnTable.S3BucketSourceProperty.getS3Bucket()
- Parameters:
s3Bucket
- The S3 bucket that is being imported from. This parameter is required.- Returns:
this
-
s3BucketOwner
@Stability(Stable) public CfnTable.S3BucketSourceProperty.Builder s3BucketOwner(String s3BucketOwner) Sets the value ofCfnTable.S3BucketSourceProperty.getS3BucketOwner()
- Parameters:
s3BucketOwner
- The account number of the S3 bucket that is being imported from. If the bucket is owned by the requester this is optional.- Returns:
this
-
s3KeyPrefix
Sets the value ofCfnTable.S3BucketSourceProperty.getS3KeyPrefix()
- Parameters:
s3KeyPrefix
- The key prefix shared by all S3 Objects that are being imported.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnTable.S3BucketSourceProperty>
- Returns:
- a new instance of
CfnTable.S3BucketSourceProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-