Creates and configures an Action instance.
Creates and configures an Action instance with Kotlin DSL syntax.