public static final class ImmutableMongosStarter.Builder extends Object
ImmutableMongosStarter.
Initialize attributes and then invoke the build() method to create an
immutable instance.
Builder is not thread-safe and generally should not be stored in a field or collection,
but instead used immediately to create instances.
| Modifier and Type | Method and Description |
|---|---|
ImmutableMongosStarter.Builder |
arguments(de.flapdoodle.reverse.StateID<de.flapdoodle.embed.process.types.ProcessArguments> arguments)
Initializes the value for the
arguments attribute. |
ImmutableMongosStarter |
build()
Builds a new
ImmutableMongosStarter. |
ImmutableMongosStarter.Builder |
destination(de.flapdoodle.reverse.StateID<RunningMongosProcess> destination)
Initializes the value for the
destination attribute. |
ImmutableMongosStarter.Builder |
from(de.flapdoodle.reverse.naming.HasLabel instance)
Fill a builder with attribute values from the provided
de.flapdoodle.reverse.naming.HasLabel instance. |
ImmutableMongosStarter.Builder |
from(MongosStarter instance)
Fill a builder with attribute values from the provided
de.flapdoodle.embed.mongo.transitions.MongosStarter instance. |
ImmutableMongosStarter.Builder |
net(de.flapdoodle.reverse.StateID<Net> net)
Initializes the value for the
net attribute. |
ImmutableMongosStarter.Builder |
platform(de.flapdoodle.reverse.StateID<de.flapdoodle.os.Platform> platform)
Initializes the value for the
platform attribute. |
ImmutableMongosStarter.Builder |
processConfig(de.flapdoodle.reverse.StateID<de.flapdoodle.embed.process.types.ProcessConfig> processConfig)
Initializes the value for the
processConfig attribute. |
ImmutableMongosStarter.Builder |
processEnv(de.flapdoodle.reverse.StateID<de.flapdoodle.embed.process.types.ProcessEnv> processEnv)
Initializes the value for the
processEnv attribute. |
ImmutableMongosStarter.Builder |
processExecutable(de.flapdoodle.reverse.StateID<de.flapdoodle.embed.process.archives.ExtractedFileSet> processExecutable)
Initializes the value for the
processExecutable attribute. |
ImmutableMongosStarter.Builder |
processOutput(de.flapdoodle.reverse.StateID<de.flapdoodle.embed.process.io.ProcessOutput> processOutput)
Initializes the value for the
processOutput attribute. |
ImmutableMongosStarter.Builder |
supportConfig(de.flapdoodle.reverse.StateID<de.flapdoodle.embed.process.config.SupportConfig> supportConfig)
Initializes the value for the
supportConfig attribute. |
ImmutableMongosStarter.Builder |
transitionLabel(String transitionLabel)
Initializes the value for the
transitionLabel attribute. |
public final ImmutableMongosStarter.Builder from(MongosStarter instance)
de.flapdoodle.embed.mongo.transitions.MongosStarter instance.instance - The instance from which to copy valuesthis builder for use in a chained invocationpublic final ImmutableMongosStarter.Builder from(de.flapdoodle.reverse.naming.HasLabel instance)
de.flapdoodle.reverse.naming.HasLabel instance.instance - The instance from which to copy valuesthis builder for use in a chained invocationpublic final ImmutableMongosStarter.Builder processExecutable(de.flapdoodle.reverse.StateID<de.flapdoodle.embed.process.archives.ExtractedFileSet> processExecutable)
processExecutable attribute.
If not set, this attribute will have a default value as returned by the initializer of processExecutable.
processExecutable - The value for processExecutablethis builder for use in a chained invocationpublic final ImmutableMongosStarter.Builder processConfig(de.flapdoodle.reverse.StateID<de.flapdoodle.embed.process.types.ProcessConfig> processConfig)
processConfig attribute.
If not set, this attribute will have a default value as returned by the initializer of processConfig.
processConfig - The value for processConfigthis builder for use in a chained invocationpublic final ImmutableMongosStarter.Builder processEnv(de.flapdoodle.reverse.StateID<de.flapdoodle.embed.process.types.ProcessEnv> processEnv)
processEnv attribute.
If not set, this attribute will have a default value as returned by the initializer of processEnv.
processEnv - The value for processEnvthis builder for use in a chained invocationpublic final ImmutableMongosStarter.Builder arguments(de.flapdoodle.reverse.StateID<de.flapdoodle.embed.process.types.ProcessArguments> arguments)
arguments attribute.
If not set, this attribute will have a default value as returned by the initializer of arguments.
arguments - The value for argumentsthis builder for use in a chained invocationpublic final ImmutableMongosStarter.Builder processOutput(de.flapdoodle.reverse.StateID<de.flapdoodle.embed.process.io.ProcessOutput> processOutput)
processOutput attribute.
If not set, this attribute will have a default value as returned by the initializer of processOutput.
processOutput - The value for processOutputthis builder for use in a chained invocationpublic final ImmutableMongosStarter.Builder supportConfig(de.flapdoodle.reverse.StateID<de.flapdoodle.embed.process.config.SupportConfig> supportConfig)
supportConfig attribute.
If not set, this attribute will have a default value as returned by the initializer of supportConfig.
supportConfig - The value for supportConfigthis builder for use in a chained invocationpublic final ImmutableMongosStarter.Builder platform(de.flapdoodle.reverse.StateID<de.flapdoodle.os.Platform> platform)
platform attribute.
If not set, this attribute will have a default value as returned by the initializer of platform.
platform - The value for platformthis builder for use in a chained invocationpublic final ImmutableMongosStarter.Builder net(de.flapdoodle.reverse.StateID<Net> net)
net attribute.
If not set, this attribute will have a default value as returned by the initializer of net.
net - The value for netthis builder for use in a chained invocationpublic final ImmutableMongosStarter.Builder transitionLabel(String transitionLabel)
transitionLabel attribute.
If not set, this attribute will have a default value as returned by the initializer of transitionLabel.
transitionLabel - The value for transitionLabelthis builder for use in a chained invocationpublic final ImmutableMongosStarter.Builder destination(de.flapdoodle.reverse.StateID<RunningMongosProcess> destination)
destination attribute.
If not set, this attribute will have a default value as returned by the initializer of destination.
destination - The value for destinationthis builder for use in a chained invocationpublic ImmutableMongosStarter build()
ImmutableMongosStarter.IllegalStateException - if any required attributes are missingCopyright © 2022. All rights reserved.