build

open override fun build(): ClusterEnvironment

Creates a ClusterEnvironment from the values of this builder.

IMPORTANT: If you call this method, you are responsible for shutting down the environment when it is no longer needed.

Return

the created cluster environment.

See also

Throws

if this method has already been called.