Package software.amazon.awscdk
Class AssetManifestFileDestination.Builder
java.lang.Object
software.amazon.awscdk.AssetManifestFileDestination.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<AssetManifestFileDestination>
- Enclosing interface:
AssetManifestFileDestination
@Stability(Stable)
public static final class AssetManifestFileDestination.Builder
extends Object
implements software.amazon.jsii.Builder<AssetManifestFileDestination>
A builder for
AssetManifestFileDestination
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbucketName
(String bucketName) Sets the value ofAssetManifestFileDestination.getBucketName()
bucketPrefix
(String bucketPrefix) Sets the value ofAssetManifestFileDestination.getBucketPrefix()
build()
Builds the configured instance.role
(RoleOptions role) Sets the value ofAssetManifestFileDestination.getRole()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
bucketName
Sets the value ofAssetManifestFileDestination.getBucketName()
- Parameters:
bucketName
- Bucket name where the file asset should be written. This parameter is required.- Returns:
this
-
bucketPrefix
Sets the value ofAssetManifestFileDestination.getBucketPrefix()
- Parameters:
bucketPrefix
- Prefix to prepend to the asset hash.- Returns:
this
-
role
Sets the value ofAssetManifestFileDestination.getRole()
- Parameters:
role
- Role to use for uploading.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<AssetManifestFileDestination>
- Returns:
- a new instance of
AssetManifestFileDestination
- Throws:
NullPointerException
- if any required attribute was not provided
-