Interface PublishLayerVersionRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<PublishLayerVersionRequest.Builder,PublishLayerVersionRequest>
,LambdaRequest.Builder
,SdkBuilder<PublishLayerVersionRequest.Builder,PublishLayerVersionRequest>
,SdkPojo
,SdkRequest.Builder
- Enclosing class:
- PublishLayerVersionRequest
public static interface PublishLayerVersionRequest.Builder extends LambdaRequest.Builder, SdkPojo, CopyableBuilder<PublishLayerVersionRequest.Builder,PublishLayerVersionRequest>
-
-
Method Summary
-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.lambda.model.LambdaRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
layerName
PublishLayerVersionRequest.Builder layerName(String layerName)
The name or Amazon Resource Name (ARN) of the layer.
- Parameters:
layerName
- The name or Amazon Resource Name (ARN) of the layer.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
PublishLayerVersionRequest.Builder description(String description)
The description of the version.
- Parameters:
description
- The description of the version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
content
PublishLayerVersionRequest.Builder content(LayerVersionContentInput content)
The function layer archive.
- Parameters:
content
- The function layer archive.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
content
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 viaLayerVersionContentInput.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocontent(LayerVersionContentInput)
.- Parameters:
content
- a consumer that will call methods onLayerVersionContentInput.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
content(LayerVersionContentInput)
-
compatibleRuntimesWithStrings
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.
- Parameters:
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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
compatibleRuntimesWithStrings
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.
- Parameters:
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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
compatibleRuntimes
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.
- Parameters:
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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
compatibleRuntimes
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.
- Parameters:
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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
licenseInfo
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.
- Parameters:
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.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
compatibleArchitecturesWithStrings
PublishLayerVersionRequest.Builder compatibleArchitecturesWithStrings(Collection<String> compatibleArchitectures)
A list of compatible instruction set architectures.
- Parameters:
compatibleArchitectures
- A list of compatible instruction set architectures.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
compatibleArchitecturesWithStrings
PublishLayerVersionRequest.Builder compatibleArchitecturesWithStrings(String... compatibleArchitectures)
A list of compatible instruction set architectures.
- Parameters:
compatibleArchitectures
- A list of compatible instruction set architectures.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
compatibleArchitectures
PublishLayerVersionRequest.Builder compatibleArchitectures(Collection<Architecture> compatibleArchitectures)
A list of compatible instruction set architectures.
- Parameters:
compatibleArchitectures
- A list of compatible instruction set architectures.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
compatibleArchitectures
PublishLayerVersionRequest.Builder compatibleArchitectures(Architecture... compatibleArchitectures)
A list of compatible instruction set architectures.
- Parameters:
compatibleArchitectures
- A list of compatible instruction set architectures.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
PublishLayerVersionRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
overrideConfiguration
PublishLayerVersionRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
-