@Stability(value=Experimental) public static final class S3DownloadOptions.Builder extends Object implements software.amazon.jsii.Builder<S3DownloadOptions>
S3DownloadOptions| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
S3DownloadOptions.Builder |
bucket(IBucket bucket)
Sets the value of
S3DownloadOptions.getBucket() |
S3DownloadOptions.Builder |
bucketKey(String bucketKey)
Sets the value of
S3DownloadOptions.getBucketKey() |
S3DownloadOptions |
build()
Builds the configured instance.
|
S3DownloadOptions.Builder |
localFile(String localFile)
Sets the value of
S3DownloadOptions.getLocalFile() |
@Stability(value=Experimental) public S3DownloadOptions.Builder bucket(IBucket bucket)
S3DownloadOptions.getBucket()bucket - Name of the S3 bucket to download from. This parameter is required.this@Stability(value=Experimental) public S3DownloadOptions.Builder bucketKey(String bucketKey)
S3DownloadOptions.getBucketKey()bucketKey - The key of the file to download. This parameter is required.this@Stability(value=Experimental) public S3DownloadOptions.Builder localFile(String localFile)
S3DownloadOptions.getLocalFile()localFile - The name of the local file.this@Stability(value=Experimental) public S3DownloadOptions build()
build in interface software.amazon.jsii.Builder<S3DownloadOptions>S3DownloadOptionsNullPointerException - if any required attribute was not providedCopyright © 2021. All rights reserved.