Package com.pulumi.aws.lambda.inputs
Class GetLayerVersionPlainArgs.Builder
- java.lang.Object
-
- com.pulumi.aws.lambda.inputs.GetLayerVersionPlainArgs.Builder
-
- Enclosing class:
- GetLayerVersionPlainArgs
public static final class GetLayerVersionPlainArgs.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()Builder(GetLayerVersionPlainArgs defaults)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GetLayerVersionPlainArgsbuild()GetLayerVersionPlainArgs.BuildercompatibleArchitecture(java.lang.String compatibleArchitecture)GetLayerVersionPlainArgs.BuildercompatibleRuntime(java.lang.String compatibleRuntime)GetLayerVersionPlainArgs.BuilderlayerName(java.lang.String layerName)GetLayerVersionPlainArgs.BuilderlayerVersionArn(java.lang.String layerVersionArn)GetLayerVersionPlainArgs.Builderregion(java.lang.String region)GetLayerVersionPlainArgs.Builderversion(java.lang.Integer version)
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(GetLayerVersionPlainArgs defaults)
-
-
Method Detail
-
compatibleArchitecture
public GetLayerVersionPlainArgs.Builder compatibleArchitecture(@Nullable java.lang.String compatibleArchitecture)
- Parameters:
compatibleArchitecture- Specific architecture the layer version must support. Only valid with `layerName`. Conflicts with `version` and `layerVersionArn`. If specified, the latest available layer version supporting the provided architecture will be used.- Returns:
- builder
-
compatibleRuntime
public GetLayerVersionPlainArgs.Builder compatibleRuntime(@Nullable java.lang.String compatibleRuntime)
- Parameters:
compatibleRuntime- Specific runtime the layer version must support. Only valid with `layerName`. Conflicts with `version` and `layerVersionArn`. If specified, the latest available layer version supporting the provided runtime will be used.- Returns:
- builder
-
layerName
public GetLayerVersionPlainArgs.Builder layerName(@Nullable java.lang.String layerName)
- Parameters:
layerName- Name of the Lambda layer. One of `layerName` or `layerVersionArn` is required.- Returns:
- builder
-
layerVersionArn
public GetLayerVersionPlainArgs.Builder layerVersionArn(@Nullable java.lang.String layerVersionArn)
- Parameters:
layerVersionArn- ARN of the Lambda layer version. Can be a full ARN with version (e.g., `arn:aws:lambda:region:account:layer:name:1`) or without version (e.g., `arn:aws:lambda:region:account:layer:name`). When the version is omitted, the latest version will be retrieved (requires `lambda:ListLayerVersions` permission). Use the full ARN with version for cross-account layers where you don't have list permissions. One of `layerName` or `layerVersionArn` is required.- Returns:
- builder
-
region
public GetLayerVersionPlainArgs.Builder region(@Nullable java.lang.String region)
- Parameters:
region- Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.- Returns:
- builder
-
version
public GetLayerVersionPlainArgs.Builder version(@Nullable java.lang.Integer version)
- Parameters:
version- Specific layer version. Only valid with `layerName`. Conflicts with `compatibleRuntime`, `compatibleArchitecture`, and `layerVersionArn`. If omitted, the latest available layer version will be used.- Returns:
- builder
-
build
public GetLayerVersionPlainArgs build()
-
-