@Stability(value=Stable) public static final class CfnRepository.S3Property.Builder extends Object implements software.amazon.jsii.Builder<CfnRepository.S3Property>
CfnRepository.S3Property| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnRepository.S3Property.Builder |
bucket(String bucket)
Sets the value of
CfnRepository.S3Property.getBucket() |
CfnRepository.S3Property |
build()
Builds the configured instance.
|
CfnRepository.S3Property.Builder |
key(String key)
Sets the value of
CfnRepository.S3Property.getKey() |
CfnRepository.S3Property.Builder |
objectVersion(String objectVersion)
Sets the value of
CfnRepository.S3Property.getObjectVersion() |
@Stability(value=Stable) public CfnRepository.S3Property.Builder bucket(String bucket)
CfnRepository.S3Property.getBucket()bucket - The name of the Amazon S3 bucket that contains the ZIP file with the content that will be committed to the new repository. This parameter is required.
This can be specified using the name of the bucket in the AWS account . Changes to this property are ignored after initial resource creation.this@Stability(value=Stable) public CfnRepository.S3Property.Builder key(String key)
CfnRepository.S3Property.getKey()key - The key to use for accessing the Amazon S3 bucket. This parameter is required.
Changes to this property are ignored after initial resource creation. For more information, see Creating object key names and Uploading objects in the Amazon S3 User Guide.this@Stability(value=Stable) public CfnRepository.S3Property.Builder objectVersion(String objectVersion)
CfnRepository.S3Property.getObjectVersion()objectVersion - The object version of the ZIP file, if versioning is enabled for the Amazon S3 bucket.
Changes to this property are ignored after initial resource creation.this@Stability(value=Stable) public CfnRepository.S3Property build()
build in interface software.amazon.jsii.Builder<CfnRepository.S3Property>CfnRepository.S3PropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.