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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description Function.BuilderfunctionArn(String functionArn)The ARN of the Lambda function.default Function.BuilderfunctionConfiguration(Consumer<FunctionConfiguration.Builder> functionConfiguration)The configuration of the Lambda function.Function.BuilderfunctionConfiguration(FunctionConfiguration functionConfiguration)The configuration of the Lambda function.Function.Builderid(String id)A descriptive or arbitrary ID for the function.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
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
-
functionArn
Function.Builder functionArn(String 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
Function.Builder functionConfiguration(FunctionConfiguration 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:
functionConfiguration(FunctionConfiguration)
-
id
Function.Builder id(String 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.
-
-