Class IdmLightConfigBuilder

java.lang.Object
org.opendaylight.aaa.datastore.h2.IdmLightConfigBuilder

@Generated("org.immutables.processor.ProxyProcessor") public final class IdmLightConfigBuilder extends Object
Builds instances of type IdmLightConfig. Initialize attributes and then invoke the build() method to create an immutable instance.

IdmLightConfigBuilder is not thread-safe and generally should not be stored in a field or collection, but instead used immediately to create instances.

  • Constructor Details

  • Method Details

    • dbName

      @CanIgnoreReturnValue public final IdmLightConfigBuilder dbName(String dbName)
      Initializes the value for the dbName attribute.

      If not set, this attribute will have a default value as returned by the initializer of dbName.

      Parameters:
      dbName - The value for dbName
      Returns:
      this builder for use in a chained invocation
    • dbDirectory

      @CanIgnoreReturnValue public final IdmLightConfigBuilder dbDirectory(String dbDirectory)
      Initializes the value for the dbDirectory attribute.

      If not set, this attribute will have a default value as returned by the initializer of dbDirectory.

      Parameters:
      dbDirectory - The value for dbDirectory
      Returns:
      this builder for use in a chained invocation
    • dbDriver

      @CanIgnoreReturnValue public final IdmLightConfigBuilder dbDriver(String dbDriver)
      Initializes the value for the dbDriver attribute.

      If not set, this attribute will have a default value as returned by the initializer of dbDriver.

      Parameters:
      dbDriver - The value for dbDriver
      Returns:
      this builder for use in a chained invocation
    • dbUser

      @CanIgnoreReturnValue public final IdmLightConfigBuilder dbUser(String dbUser)
      Initializes the value for the dbUser attribute.
      Parameters:
      dbUser - The value for dbUser
      Returns:
      this builder for use in a chained invocation
    • dbPwd

      @CanIgnoreReturnValue public final IdmLightConfigBuilder dbPwd(String dbPwd)
      Initializes the value for the dbPwd attribute.
      Parameters:
      dbPwd - The value for dbPwd
      Returns:
      this builder for use in a chained invocation
    • dbValidTimeOut

      @CanIgnoreReturnValue public final IdmLightConfigBuilder dbValidTimeOut(int dbValidTimeOut)
      Initializes the value for the dbValidTimeOut attribute.

      If not set, this attribute will have a default value as returned by the initializer of dbValidTimeOut.

      Parameters:
      dbValidTimeOut - The value for dbValidTimeOut
      Returns:
      this builder for use in a chained invocation
    • dbConnectionStringPrefix

      @CanIgnoreReturnValue public final IdmLightConfigBuilder dbConnectionStringPrefix(String dbConnectionStringPrefix)
      Initializes the value for the dbConnectionStringPrefix attribute.

      If not set, this attribute will have a default value as returned by the initializer of dbConnectionStringPrefix.

      Parameters:
      dbConnectionStringPrefix - The value for dbConnectionStringPrefix
      Returns:
      this builder for use in a chained invocation
    • dbConnectionString

      @CanIgnoreReturnValue public final IdmLightConfigBuilder dbConnectionString(String dbConnectionString)
      Initializes the value for the dbConnectionString attribute.

      If not set, this attribute will have a default value as returned by the initializer of dbConnectionString.

      Parameters:
      dbConnectionString - The value for dbConnectionString
      Returns:
      this builder for use in a chained invocation
    • build

      public IdmLightConfig build()
      Builds a new IdmLightConfig.
      Returns:
      An immutable instance of IdmLightConfig
      Throws:
      IllegalStateException - if any required attributes are missing