public ActionGroupExecutor withLambda(String lambda) {
        setLambda(lambda);
        return this;
    }
<p>
The Amazon Resource Name (ARN) of the Lambda function containing the business logic that is carried out upon
invoking the action.
</p>

@param lambda
       The Amazon Resource Name (ARN) of the Lambda function containing the business logic that is carried out
       upon invoking the action.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-bedrockagent/src/main/java/com/amazonaws/services/bedrockagent/model/ActionGroupExecutor.java