public static interface PublishLayerVersionRequest.Builder extends LambdaRequest.Builder, SdkPojo, CopyableBuilder<PublishLayerVersionRequest.Builder,PublishLayerVersionRequest>
buildoverrideConfigurationcopyapplyMutation, buildPublishLayerVersionRequest.Builder layerName(String layerName)
The name of the layer.
layerName - The name 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.Buildercontent(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)
AwsRequest.BuilderoverrideConfiguration in interface AwsRequest.BuilderoverrideConfiguration - The override configuration.PublishLayerVersionRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.BuilderoverrideConfiguration in interface AwsRequest.BuilderbuilderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.