# Class App.Builder

java.lang.Object
com.google.adk.apps.App.Builder

Enclosing class:
  `App`

public static class App.Builder extends Object
Builder for `App`.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `Builder()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `App`
  `build()`
  `App.Builder`
  `contextCacheConfig(ContextCacheConfig contextCacheConfig)`
  `App.Builder`
  `eventsCompactionConfig(EventsCompactionConfig eventsCompactionConfig)`
  `App.Builder`
  `name(String name)`
  `App.Builder`
  `plugins(Plugin... plugins)`
  `App.Builder`
  `plugins(List<? extends Plugin> plugins)`
  `App.Builder`
  `rootAgent(BaseAgent rootAgent)`

  ### Methods inherited from class Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### Builder

    public Builder()

- ## Method Details

  - ### name

    @CanIgnoreReturnValue public App.Builder name(String name)

  - ### rootAgent

    @CanIgnoreReturnValue public App.Builder rootAgent(BaseAgent rootAgent)

  - ### plugins

    @CanIgnoreReturnValue public App.Builder plugins(List<? extends Plugin> plugins)

  - ### plugins

    @CanIgnoreReturnValue public App.Builder plugins(Plugin... plugins)

  - ### eventsCompactionConfig

    @CanIgnoreReturnValue public App.Builder eventsCompactionConfig(EventsCompactionConfig eventsCompactionConfig)

  - ### contextCacheConfig

    @CanIgnoreReturnValue public App.Builder contextCacheConfig(ContextCacheConfig contextCacheConfig)

  - ### build

    public App build()