@Stability(value=Experimental) public static final class S3ArtifactsProps.Builder extends Object implements software.amazon.jsii.Builder<S3ArtifactsProps>
S3ArtifactsProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
S3ArtifactsProps.Builder |
bucket(IBucket bucket)
Sets the value of
S3ArtifactsProps.getBucket() |
S3ArtifactsProps |
build()
Builds the configured instance.
|
S3ArtifactsProps.Builder |
encryption(Boolean encryption)
Sets the value of
S3ArtifactsProps.getEncryption() |
S3ArtifactsProps.Builder |
identifier(String identifier)
Sets the value of
ArtifactsProps.getIdentifier() |
S3ArtifactsProps.Builder |
includeBuildId(Boolean includeBuildId)
Sets the value of
S3ArtifactsProps.getIncludeBuildId() |
S3ArtifactsProps.Builder |
name(String name)
Sets the value of
S3ArtifactsProps.getName() |
S3ArtifactsProps.Builder |
packageZip(Boolean packageZip)
Sets the value of
S3ArtifactsProps.getPackageZip() |
S3ArtifactsProps.Builder |
path(String path)
Sets the value of
S3ArtifactsProps.getPath() |
@Stability(value=Experimental) public S3ArtifactsProps.Builder bucket(IBucket bucket)
S3ArtifactsProps.getBucket()bucket - The name of the output bucket. This parameter is required.this@Stability(value=Experimental) public S3ArtifactsProps.Builder encryption(Boolean encryption)
S3ArtifactsProps.getEncryption()encryption - If this is false, build output will not be encrypted.
This is useful if the artifact to publish a static website or sharing content with othersthis@Stability(value=Experimental) public S3ArtifactsProps.Builder includeBuildId(Boolean includeBuildId)
S3ArtifactsProps.getIncludeBuildId()includeBuildId - 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 "this@Stability(value=Experimental) public S3ArtifactsProps.Builder name(String name)
S3ArtifactsProps.getName()name - The name of the build output ZIP file or folder inside the bucket.
The full S3 object key will be "includeBuildId is set to true.
If not set, overrideArtifactName will be set and the name from the
buildspec will be used instead.
this@Stability(value=Experimental) public S3ArtifactsProps.Builder packageZip(Boolean packageZip)
S3ArtifactsProps.getPackageZip()packageZip - If this is true, all build output will be packaged into a single .zip file. Otherwise, all files will be uploaded to this@Stability(value=Experimental) public S3ArtifactsProps.Builder path(String path)
S3ArtifactsProps.getPath()path - 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 this@Stability(value=Experimental) public S3ArtifactsProps.Builder identifier(String identifier)
ArtifactsProps.getIdentifier()identifier - The artifact identifier.
This property is required on secondary artifacts.this@Stability(value=Experimental) public S3ArtifactsProps build()
build in interface software.amazon.jsii.Builder<S3ArtifactsProps>S3ArtifactsPropsNullPointerException - if any required attribute was not providedCopyright © 2021. All rights reserved.