Class AgentAgentActionGroupActionGroupExecutorArgs.Builder

    • Method Detail

      • customControl

        public AgentAgentActionGroupActionGroupExecutorArgs.Builder customControl​(@Nullable
                                                                                  com.pulumi.core.Output<java.lang.String> customControl)
        Parameters:
        customControl - Custom control method for handling the information elicited from the user. Valid values: `RETURN_CONTROL`. To skip using a Lambda function and instead return the predicted action group, in addition to the parameters and information required for it, in the `InvokeAgent` response, specify `RETURN_CONTROL`. Only one of `customControl` or `lambda` can be specified.
        Returns:
        builder
      • customControl

        public AgentAgentActionGroupActionGroupExecutorArgs.Builder customControl​(java.lang.String customControl)
        Parameters:
        customControl - Custom control method for handling the information elicited from the user. Valid values: `RETURN_CONTROL`. To skip using a Lambda function and instead return the predicted action group, in addition to the parameters and information required for it, in the `InvokeAgent` response, specify `RETURN_CONTROL`. Only one of `customControl` or `lambda` can be specified.
        Returns:
        builder
      • lambda

        public AgentAgentActionGroupActionGroupExecutorArgs.Builder lambda​(@Nullable
                                                                           com.pulumi.core.Output<java.lang.String> lambda)
        Parameters:
        lambda - ARN of the Lambda function containing the business logic that is carried out upon invoking the action. Only one of `lambda` or `customControl` can be specified.
        Returns:
        builder
      • lambda

        public AgentAgentActionGroupActionGroupExecutorArgs.Builder lambda​(java.lang.String lambda)
        Parameters:
        lambda - ARN of the Lambda function containing the business logic that is carried out upon invoking the action. Only one of `lambda` or `customControl` can be specified.
        Returns:
        builder