Class AssetSource.Builder
java.lang.Object
software.amazon.awscdk.services.apprunner.alpha.AssetSource.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<AssetSource>
- Enclosing class:
AssetSource
@Stability(Experimental)
public static final class AssetSource.Builder
extends Object
implements software.amazon.jsii.Builder<AssetSource>
(experimental) A fluent builder for
AssetSource
.-
Method Summary
Modifier and TypeMethodDescriptionasset
(DockerImageAsset asset) (experimental) Represents the docker image asset.build()
static AssetSource.Builder
create()
imageConfiguration
(ImageConfiguration imageConfiguration) (experimental) The image configuration for the image built from the asset.
-
Method Details
-
create
- Returns:
- a new instance of
AssetSource.Builder
.
-
asset
(experimental) Represents the docker image asset.- Parameters:
asset
- Represents the docker image asset. This parameter is required.- Returns:
this
-
imageConfiguration
@Stability(Experimental) public AssetSource.Builder imageConfiguration(ImageConfiguration imageConfiguration) (experimental) The image configuration for the image built from the asset.Default: - no image configuration will be passed. The default `port` will be 8080.
- Parameters:
imageConfiguration
- The image configuration for the image built from the asset. This parameter is required.- Returns:
this
- See Also:
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<AssetSource>
- Returns:
- a newly built instance of
AssetSource
.
-