@Stability(value=Experimental) public static final class LayerVersionProps.Builder extends Object implements software.amazon.jsii.Builder<LayerVersionProps>
LayerVersionProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
LayerVersionProps |
build()
Builds the configured instance.
|
LayerVersionProps.Builder |
code(Code code)
Sets the value of
LayerVersionProps.getCode() |
LayerVersionProps.Builder |
compatibleRuntimes(List<? extends Runtime> compatibleRuntimes)
Sets the value of
LayerVersionProps.getCompatibleRuntimes() |
LayerVersionProps.Builder |
description(String description)
Sets the value of
LayerVersionOptions.getDescription() |
LayerVersionProps.Builder |
layerVersionName(String layerVersionName)
Sets the value of
LayerVersionOptions.getLayerVersionName() |
LayerVersionProps.Builder |
license(String license)
Sets the value of
LayerVersionOptions.getLicense() |
LayerVersionProps.Builder |
removalPolicy(RemovalPolicy removalPolicy)
Sets the value of
LayerVersionOptions.getRemovalPolicy() |
@Stability(value=Experimental) public LayerVersionProps.Builder code(Code code)
LayerVersionProps.getCode()code - The content of this Layer. This parameter is required.
Using Code.fromInline is not supported.this@Stability(value=Experimental) public LayerVersionProps.Builder compatibleRuntimes(List<? extends Runtime> compatibleRuntimes)
LayerVersionProps.getCompatibleRuntimes()compatibleRuntimes - The runtimes compatible with this Layer.this@Stability(value=Experimental) public LayerVersionProps.Builder description(String description)
LayerVersionOptions.getDescription()description - The description the this Lambda Layer.this@Stability(value=Experimental) public LayerVersionProps.Builder layerVersionName(String layerVersionName)
LayerVersionOptions.getLayerVersionName()layerVersionName - The name of the layer.this@Stability(value=Experimental) public LayerVersionProps.Builder license(String license)
LayerVersionOptions.getLicense()license - The SPDX licence identifier or URL to the license file for this layer.this@Stability(value=Experimental) public LayerVersionProps.Builder removalPolicy(RemovalPolicy removalPolicy)
LayerVersionOptions.getRemovalPolicy()removalPolicy - Whether to retain this version of the layer when a new version is added or when the stack is deleted.this@Stability(value=Experimental) public LayerVersionProps build()
build in interface software.amazon.jsii.Builder<LayerVersionProps>LayerVersionPropsNullPointerException - if any required attribute was not providedCopyright © 2021. All rights reserved.