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 Details

    • 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 of lambdaTarget.
      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:
    • 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

      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 the LifecycleEvent.Builder avoiding the need to create one manually via LifecycleEvent.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to lifecycleEvents(List<LifecycleEvent>).

      Parameters:
      lifecycleEvents - a consumer that will call methods on LifecycleEvent.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • lambdaFunctionInfo

      LambdaTarget.Builder lambdaFunctionInfo(LambdaFunctionInfo lambdaFunctionInfo)

      A LambdaFunctionInfo object that describes a target Lambda function.

      Parameters:
      lambdaFunctionInfo - A LambdaFunctionInfo 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 LambdaFunctionInfo object that describes a target Lambda function.

      This is a convenience method that creates an instance of the LambdaFunctionInfo.Builder avoiding the need to create one manually via LambdaFunctionInfo.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to lambdaFunctionInfo(LambdaFunctionInfo).

      Parameters:
      lambdaFunctionInfo - a consumer that will call methods on LambdaFunctionInfo.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: