Interface LambdaTarget.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<LambdaTarget.Builder,
,LambdaTarget> SdkBuilder<LambdaTarget.Builder,
,LambdaTarget> SdkPojo
- Enclosing class:
LambdaTarget
-
Method Summary
Modifier and TypeMethodDescriptiondeploymentId
(String deploymentId) The unique ID of a deployment.default LambdaTarget.Builder
lambdaFunctionInfo
(Consumer<LambdaFunctionInfo.Builder> lambdaFunctionInfo) ALambdaFunctionInfo
object that describes a target Lambda function.lambdaFunctionInfo
(LambdaFunctionInfo lambdaFunctionInfo) ALambdaFunctionInfo
object that describes a target Lambda function.lastUpdatedAt
(Instant lastUpdatedAt) The date and time when the target Lambda function was updated by a deployment.lifecycleEvents
(Collection<LifecycleEvent> lifecycleEvents) The lifecycle events of the deployment to this target Lambda function.lifecycleEvents
(Consumer<LifecycleEvent.Builder>... lifecycleEvents) The lifecycle events of the deployment to this target Lambda function.lifecycleEvents
(LifecycleEvent... lifecycleEvents) The lifecycle events of the deployment to this target Lambda function.The status an Lambda deployment's target Lambda function.status
(TargetStatus status) The status an Lambda deployment's target Lambda function.The Amazon Resource Name (ARN) of the target.The unique ID of a deployment target that has a type oflambdaTarget
.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 Details
-
deploymentId
The unique ID of a deployment.
- Parameters:
deploymentId
- The unique ID of a deployment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetId
The unique ID of a deployment target that has a type of
lambdaTarget
.- Parameters:
targetId
- The unique ID of a deployment target that has a type oflambdaTarget
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetArn
The Amazon Resource Name (ARN) of the target.
- Parameters:
targetArn
- The Amazon Resource Name (ARN) of the target.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The status an Lambda deployment's target Lambda function.
- Parameters:
status
- The status an Lambda deployment's target Lambda function.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The status an Lambda deployment's target Lambda function.
- Parameters:
status
- The status an Lambda deployment's target Lambda function.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
lastUpdatedAt
The date and time when the target Lambda function was updated by a deployment.
- Parameters:
lastUpdatedAt
- The date and time when the target Lambda function was updated by a deployment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lifecycleEvents
The lifecycle events of the deployment to this target Lambda function.
- Parameters:
lifecycleEvents
- The lifecycle events of the deployment to this target Lambda function.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lifecycleEvents
The lifecycle events of the deployment to this target Lambda function.
- Parameters:
lifecycleEvents
- The lifecycle events of the deployment to this target Lambda function.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lifecycleEvents
The lifecycle events of the deployment to this target Lambda function.
This is a convenience method that creates an instance of theLifecycleEvent.Builder
avoiding the need to create one manually viaLifecycleEvent.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tolifecycleEvents(List<LifecycleEvent>)
.- Parameters:
lifecycleEvents
- a consumer that will call methods onLifecycleEvent.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
lambdaFunctionInfo
A
LambdaFunctionInfo
object that describes a target Lambda function.- Parameters:
lambdaFunctionInfo
- ALambdaFunctionInfo
object that describes a target Lambda function.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lambdaFunctionInfo
default LambdaTarget.Builder lambdaFunctionInfo(Consumer<LambdaFunctionInfo.Builder> lambdaFunctionInfo) A
This is a convenience method that creates an instance of theLambdaFunctionInfo
object that describes a target Lambda function.LambdaFunctionInfo.Builder
avoiding the need to create one manually viaLambdaFunctionInfo.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tolambdaFunctionInfo(LambdaFunctionInfo)
.- Parameters:
lambdaFunctionInfo
- a consumer that will call methods onLambdaFunctionInfo.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-