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