Interface LambdaTarget.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<LambdaTarget.Builder,LambdaTarget>,SdkBuilder<LambdaTarget.Builder,LambdaTarget>,SdkPojo
- Enclosing class:
- LambdaTarget
public static interface LambdaTarget.Builder extends SdkPojo, CopyableBuilder<LambdaTarget.Builder,LambdaTarget>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description LambdaTarget.BuilderdeploymentId(String deploymentId)The unique ID of a deployment.default LambdaTarget.BuilderlambdaFunctionInfo(Consumer<LambdaFunctionInfo.Builder> lambdaFunctionInfo)ALambdaFunctionInfoobject that describes a target Lambda function.LambdaTarget.BuilderlambdaFunctionInfo(LambdaFunctionInfo lambdaFunctionInfo)ALambdaFunctionInfoobject that describes a target Lambda function.LambdaTarget.BuilderlastUpdatedAt(Instant lastUpdatedAt)The date and time when the target Lambda function was updated by a deployment.LambdaTarget.BuilderlifecycleEvents(Collection<LifecycleEvent> lifecycleEvents)The lifecycle events of the deployment to this target Lambda function.LambdaTarget.BuilderlifecycleEvents(Consumer<LifecycleEvent.Builder>... lifecycleEvents)The lifecycle events of the deployment to this target Lambda function.LambdaTarget.BuilderlifecycleEvents(LifecycleEvent... lifecycleEvents)The lifecycle events of the deployment to this target Lambda function.LambdaTarget.Builderstatus(String status)The status an Lambda deployment's target Lambda function.LambdaTarget.Builderstatus(TargetStatus status)The status an Lambda deployment's target Lambda function.LambdaTarget.BuildertargetArn(String targetArn)The Amazon Resource Name (ARN) of the target.LambdaTarget.BuildertargetId(String targetId)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 Detail
-
deploymentId
LambdaTarget.Builder deploymentId(String 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
LambdaTarget.Builder targetId(String 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
LambdaTarget.Builder targetArn(String 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
LambdaTarget.Builder status(String 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:
TargetStatus,TargetStatus
-
status
LambdaTarget.Builder status(TargetStatus 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:
TargetStatus,TargetStatus
-
lastUpdatedAt
LambdaTarget.Builder lastUpdatedAt(Instant 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
LambdaTarget.Builder lifecycleEvents(Collection<LifecycleEvent> 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
LambdaTarget.Builder lifecycleEvents(LifecycleEvent... 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
LambdaTarget.Builder lifecycleEvents(Consumer<LifecycleEvent.Builder>... lifecycleEvents)
The lifecycle events of the deployment to this target Lambda function.
This is a convenience method that creates an instance of theLifecycleEvent.Builderavoiding the need to create one manually viaLifecycleEvent.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#lifecycleEvents(List.) - 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:
#lifecycleEvents(java.util.Collection)
-
lambdaFunctionInfo
LambdaTarget.Builder lambdaFunctionInfo(LambdaFunctionInfo lambdaFunctionInfo)
A
LambdaFunctionInfoobject that describes a target Lambda function.- Parameters:
lambdaFunctionInfo- ALambdaFunctionInfoobject 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 theLambdaFunctionInfoobject that describes a target Lambda function.LambdaFunctionInfo.Builderavoiding the need to create one manually viaLambdaFunctionInfo.builder().When the
Consumercompletes,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:
lambdaFunctionInfo(LambdaFunctionInfo)
-
-