public static interface PublishLayerVersionRequest.Builder extends LambdaRequest.Builder, SdkPojo, CopyableBuilder<PublishLayerVersionRequest.Builder,PublishLayerVersionRequest>
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildPublishLayerVersionRequest.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.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 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.BuilderPublishLayerVersionRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2022. All rights reserved.