public static interface PublishLayerVersionRequest.Builder extends LambdaRequest.Builder, SdkPojo, CopyableBuilder<PublishLayerVersionRequest.Builder,PublishLayerVersionRequest>
build
overrideConfiguration
equalsBySdkFields, sdkFields
copy
applyMutation, build
PublishLayerVersionRequest.Builder layerName(String layerName)
The name or Amazon Resource Name (ARN) of the layer.
layerName
- The name or Amazon Resource Name (ARN) of the layer.PublishLayerVersionRequest.Builder description(String description)
The description of the version.
description
- The description of the version.PublishLayerVersionRequest.Builder content(LayerVersionContentInput content)
The function layer archive.
content
- The function layer archive.default PublishLayerVersionRequest.Builder content(Consumer<LayerVersionContentInput.Builder> content)
The function layer archive.
This is a convenience that creates an instance of theLayerVersionContentInput.Builder
avoiding the
need to create one manually via LayerVersionContentInput.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately
and its result is passed to content(LayerVersionContentInput)
.content
- a consumer that will call methods on LayerVersionContentInput.Builder
content(LayerVersionContentInput)
PublishLayerVersionRequest.Builder compatibleRuntimesWithStrings(Collection<String> compatibleRuntimes)
A list of compatible function runtimes. Used for filtering with ListLayers and ListLayerVersions.
compatibleRuntimes
- A list of compatible function runtimes. Used
for filtering with ListLayers and ListLayerVersions.PublishLayerVersionRequest.Builder compatibleRuntimesWithStrings(String... compatibleRuntimes)
A list of compatible function runtimes. Used for filtering with ListLayers and ListLayerVersions.
compatibleRuntimes
- A list of compatible function runtimes. Used
for filtering with ListLayers and ListLayerVersions.PublishLayerVersionRequest.Builder compatibleRuntimes(Collection<Runtime> compatibleRuntimes)
A list of compatible function runtimes. Used for filtering with ListLayers and ListLayerVersions.
compatibleRuntimes
- A list of compatible function runtimes. Used
for filtering with ListLayers and ListLayerVersions.PublishLayerVersionRequest.Builder compatibleRuntimes(Runtime... compatibleRuntimes)
A list of compatible function runtimes. Used for filtering with ListLayers and ListLayerVersions.
compatibleRuntimes
- A list of compatible function runtimes. Used
for filtering with ListLayers and ListLayerVersions.PublishLayerVersionRequest.Builder licenseInfo(String licenseInfo)
The layer's software license. It can be any of the following:
An SPDX license identifier. For example, MIT
.
The URL of a license hosted on the internet. For example, https://opensource.org/licenses/MIT
.
The full text of the license.
licenseInfo
- The layer's software license. It can be any of the following:
An SPDX license identifier. For example, MIT
.
The URL of a license hosted on the internet. For example,
https://opensource.org/licenses/MIT
.
The full text of the license.
PublishLayerVersionRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration
in interface AwsRequest.Builder
PublishLayerVersionRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration
in interface AwsRequest.Builder
Copyright © 2020. All rights reserved.