Interface PublishLayerVersionRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<PublishLayerVersionRequest.Builder,,PublishLayerVersionRequest> LambdaRequest.Builder,SdkBuilder<PublishLayerVersionRequest.Builder,,PublishLayerVersionRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
PublishLayerVersionRequest
-
Method Summary
Modifier and TypeMethodDescriptioncompatibleArchitectures(Collection<Architecture> compatibleArchitectures) A list of compatible instruction set architectures.compatibleArchitectures(Architecture... compatibleArchitectures) A list of compatible instruction set architectures.compatibleArchitecturesWithStrings(String... compatibleArchitectures) A list of compatible instruction set architectures.compatibleArchitecturesWithStrings(Collection<String> compatibleArchitectures) A list of compatible instruction set architectures.compatibleRuntimes(Collection<Runtime> compatibleRuntimes) A list of compatible function runtimes.compatibleRuntimes(Runtime... compatibleRuntimes) A list of compatible function runtimes.compatibleRuntimesWithStrings(String... compatibleRuntimes) A list of compatible function runtimes.compatibleRuntimesWithStrings(Collection<String> compatibleRuntimes) A list of compatible function runtimes.content(Consumer<LayerVersionContentInput.Builder> content) The function layer archive.content(LayerVersionContentInput content) The function layer archive.description(String description) The description of the version.The name or Amazon Resource Name (ARN) of the layer.licenseInfo(String licenseInfo) The layer's software license.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.lambda.model.LambdaRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
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
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
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.Builderavoiding the need to create one manually viaLayerVersionContentInput.builder().When the
Consumercompletes,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:
-
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
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
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
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
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
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) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
PublishLayerVersionRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-