public static interface PublishLayerVersionResponse.Builder extends LambdaResponse.Builder, SdkPojo, CopyableBuilder<PublishLayerVersionResponse.Builder,PublishLayerVersionResponse>
build, responseMetadata, responseMetadata
sdkHttpResponse, sdkHttpResponse
equalsBySdkFields, sdkFields
copy
applyMutation, build
PublishLayerVersionResponse.Builder content(LayerVersionContentOutput content)
Details about the layer version.
content
- Details about the layer version.default PublishLayerVersionResponse.Builder content(Consumer<LayerVersionContentOutput.Builder> content)
Details about the layer version.
This is a convenience method that creates an instance of theLayerVersionContentOutput.Builder
avoiding the need to create one manually via LayerVersionContentOutput.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately
and its result is passed to content(LayerVersionContentOutput)
.
content
- a consumer that will call methods on LayerVersionContentOutput.Builder
content(LayerVersionContentOutput)
PublishLayerVersionResponse.Builder layerArn(String layerArn)
The ARN of the layer.
layerArn
- The ARN of the layer.PublishLayerVersionResponse.Builder layerVersionArn(String layerVersionArn)
The ARN of the layer version.
layerVersionArn
- The ARN of the layer version.PublishLayerVersionResponse.Builder description(String description)
The description of the version.
description
- The description of the version.PublishLayerVersionResponse.Builder createdDate(String createdDate)
The date that the layer version was created, in ISO-8601 format (YYYY-MM-DDThh:mm:ss.sTZD).
createdDate
- The date that the layer version was created, in ISO-8601
format (YYYY-MM-DDThh:mm:ss.sTZD).PublishLayerVersionResponse.Builder version(Long version)
The version number.
version
- The version number.PublishLayerVersionResponse.Builder compatibleRuntimesWithStrings(Collection<String> compatibleRuntimes)
The layer's compatible runtimes.
compatibleRuntimes
- The layer's compatible runtimes.PublishLayerVersionResponse.Builder compatibleRuntimesWithStrings(String... compatibleRuntimes)
The layer's compatible runtimes.
compatibleRuntimes
- The layer's compatible runtimes.PublishLayerVersionResponse.Builder compatibleRuntimes(Collection<Runtime> compatibleRuntimes)
The layer's compatible runtimes.
compatibleRuntimes
- The layer's compatible runtimes.PublishLayerVersionResponse.Builder compatibleRuntimes(Runtime... compatibleRuntimes)
The layer's compatible runtimes.
compatibleRuntimes
- The layer's compatible runtimes.PublishLayerVersionResponse.Builder licenseInfo(String licenseInfo)
The layer's software license.
licenseInfo
- The layer's software license.PublishLayerVersionResponse.Builder compatibleArchitecturesWithStrings(Collection<String> compatibleArchitectures)
A list of compatible instruction set architectures.
compatibleArchitectures
- A list of compatible instruction set
architectures.PublishLayerVersionResponse.Builder compatibleArchitecturesWithStrings(String... compatibleArchitectures)
A list of compatible instruction set architectures.
compatibleArchitectures
- A list of compatible instruction set
architectures.PublishLayerVersionResponse.Builder compatibleArchitectures(Collection<Architecture> compatibleArchitectures)
A list of compatible instruction set architectures.
compatibleArchitectures
- A list of compatible instruction set
architectures.PublishLayerVersionResponse.Builder compatibleArchitectures(Architecture... compatibleArchitectures)
A list of compatible instruction set architectures.
compatibleArchitectures
- A list of compatible instruction set
architectures.Copyright © 2022. All rights reserved.