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 method 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.
The following list includes deprecated runtimes. For more information, see Runtime deprecation policy.
compatibleRuntimes
- A list of compatible function runtimes. Used
for filtering with ListLayers and ListLayerVersions.
The following list includes deprecated runtimes. For more information, see Runtime deprecation policy.
PublishLayerVersionRequest.Builder compatibleRuntimesWithStrings(String... compatibleRuntimes)
A list of compatible function runtimes. Used for filtering with ListLayers and ListLayerVersions.
The following list includes deprecated runtimes. For more information, see Runtime deprecation policy.
compatibleRuntimes
- A list of compatible function runtimes. Used
for filtering with ListLayers and ListLayerVersions.
The following list includes deprecated runtimes. For more information, see Runtime deprecation policy.
PublishLayerVersionRequest.Builder compatibleRuntimes(Collection<Runtime> compatibleRuntimes)
A list of compatible function runtimes. Used for filtering with ListLayers and ListLayerVersions.
The following list includes deprecated runtimes. For more information, see Runtime deprecation policy.
compatibleRuntimes
- A list of compatible function runtimes. Used
for filtering with ListLayers and ListLayerVersions.
The following list includes deprecated runtimes. For more information, see Runtime deprecation policy.
PublishLayerVersionRequest.Builder compatibleRuntimes(Runtime... compatibleRuntimes)
A list of compatible function runtimes. Used for filtering with ListLayers and ListLayerVersions.
The following list includes deprecated runtimes. For more information, see Runtime deprecation policy.
compatibleRuntimes
- A list of compatible function runtimes. Used
for filtering with ListLayers and ListLayerVersions.
The following list includes deprecated runtimes. For more information, see Runtime deprecation policy.
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 compatibleArchitecturesWithStrings(Collection<String> compatibleArchitectures)
A list of compatible instruction set architectures.
compatibleArchitectures
- A list of compatible instruction set
architectures.PublishLayerVersionRequest.Builder compatibleArchitecturesWithStrings(String... compatibleArchitectures)
A list of compatible instruction set architectures.
compatibleArchitectures
- A list of compatible instruction set
architectures.PublishLayerVersionRequest.Builder compatibleArchitectures(Collection<Architecture> compatibleArchitectures)
A list of compatible instruction set architectures.
compatibleArchitectures
- A list of compatible instruction set
architectures.PublishLayerVersionRequest.Builder compatibleArchitectures(Architecture... compatibleArchitectures)
A list of compatible instruction set architectures.
compatibleArchitectures
- A list of compatible instruction set
architectures.PublishLayerVersionRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration
in interface AwsRequest.Builder
PublishLayerVersionRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration
in interface AwsRequest.Builder
Copyright © 2023. All rights reserved.