public static final class SingletonLayerVersionProps.Builder extends Object
SingletonLayerVersionProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
SingletonLayerVersionProps |
build()
Builds the configured instance.
|
SingletonLayerVersionProps.Builder |
withCode(Code value)
Sets the value of Code
|
SingletonLayerVersionProps.Builder |
withCompatibleRuntimes(List<Runtime> value)
Sets the value of CompatibleRuntimes
|
SingletonLayerVersionProps.Builder |
withDescription(String value)
Sets the value of Description
|
SingletonLayerVersionProps.Builder |
withLicense(String value)
Sets the value of License
|
SingletonLayerVersionProps.Builder |
withName(String value)
Sets the value of Name
|
SingletonLayerVersionProps.Builder |
withUuid(String value)
Sets the value of Uuid
|
public SingletonLayerVersionProps.Builder withUuid(String value)
value - A unique identifier to identify this lambda layer version.thispublic SingletonLayerVersionProps.Builder withCode(Code value)
value - The content of this Layer.thispublic SingletonLayerVersionProps.Builder withCompatibleRuntimes(@Nullable List<Runtime> value)
value - The runtimes that this layer is compatible with.thispublic SingletonLayerVersionProps.Builder withDescription(@Nullable String value)
value - The description the this Lambda Layer.thispublic SingletonLayerVersionProps.Builder withLicense(@Nullable String value)
value - The SPDX licence identifier or URL to the license file for this layer.thispublic SingletonLayerVersionProps.Builder withName(@Nullable String value)
value - The name of the layer.thispublic SingletonLayerVersionProps build()
SingletonLayerVersionPropsNullPointerException - if any required attribute was not providedCopyright © 2019. All rights reserved.