public static final class S3BucketBuildArtifactsProps.Builder extends Object
S3BucketBuildArtifactsProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
S3BucketBuildArtifactsProps |
build()
Builds the configured instance.
|
S3BucketBuildArtifactsProps.Builder |
withBucket(software.amazon.awscdk.services.s3.BucketRef value)
Sets the value of Bucket
|
S3BucketBuildArtifactsProps.Builder |
withIncludeBuildId(Boolean value)
Sets the value of IncludeBuildId
|
S3BucketBuildArtifactsProps.Builder |
withName(String value)
Sets the value of Name
|
S3BucketBuildArtifactsProps.Builder |
withPackageZip(Boolean value)
Sets the value of PackageZip
|
S3BucketBuildArtifactsProps.Builder |
withPath(String value)
Sets the value of Path
|
public S3BucketBuildArtifactsProps.Builder withBucket(software.amazon.awscdk.services.s3.BucketRef value)
value - The name of the output bucket.thispublic S3BucketBuildArtifactsProps.Builder withName(String value)
value - The name of the build output ZIP file or folder inside the bucket.
The full S3 object key will be "thispublic S3BucketBuildArtifactsProps.Builder withIncludeBuildId(@Nullable Boolean value)
value - Indicates if the build ID should be included in the path. If this is set to true,
then the build artifact will be stored in "thispublic S3BucketBuildArtifactsProps.Builder withPackageZip(@Nullable Boolean value)
value - If this is true, all build output will be packaged into a single .zip file.
Otherwise, all files will be uploaded to thispublic S3BucketBuildArtifactsProps.Builder withPath(@Nullable String value)
value - The path inside of the bucket for the build output .zip file or folder.
If a value is not specified, then build output will be stored at the root of the
bucket (or under the thispublic S3BucketBuildArtifactsProps build()
S3BucketBuildArtifactsPropsNullPointerException - if any required attribute was not providedCopyright © 2018. All rights reserved.