Interface Function.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<Function.Builder,,Function> SdkBuilder<Function.Builder,,Function> SdkPojo
- Enclosing class:
Function
public static interface Function.Builder
extends SdkPojo, CopyableBuilder<Function.Builder,Function>
-
Method Summary
Modifier and TypeMethodDescriptionfunctionArn(String functionArn) The ARN of the Lambda function.default Function.BuilderfunctionConfiguration(Consumer<FunctionConfiguration.Builder> functionConfiguration) The configuration of the Lambda function.functionConfiguration(FunctionConfiguration functionConfiguration) The configuration of the Lambda function.A descriptive or arbitrary ID for the function.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
functionArn
The ARN of the Lambda function.- Parameters:
functionArn- The ARN of the Lambda function.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
functionConfiguration
The configuration of the Lambda function.- Parameters:
functionConfiguration- The configuration of the Lambda function.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
functionConfiguration
default Function.Builder functionConfiguration(Consumer<FunctionConfiguration.Builder> functionConfiguration) The configuration of the Lambda function. This is a convenience method that creates an instance of theFunctionConfiguration.Builderavoiding the need to create one manually viaFunctionConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofunctionConfiguration(FunctionConfiguration).- Parameters:
functionConfiguration- a consumer that will call methods onFunctionConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
id
A descriptive or arbitrary ID for the function. This value must be unique within the function definition version. Max length is 128 characters with pattern ''[a-zA-Z0-9:_-]+''.- Parameters:
id- A descriptive or arbitrary ID for the function. This value must be unique within the function definition version. Max length is 128 characters with pattern ''[a-zA-Z0-9:_-]+''.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-