public static final class ImmutableMongosProcessArguments.Builder extends Object
ImmutableMongosProcessArguments.
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 |
|---|---|
ImmutableMongosProcessArguments.Builder |
arguments(de.flapdoodle.reverse.StateID<MongosArguments> arguments)
Initializes the value for the
arguments attribute. |
ImmutableMongosProcessArguments |
build()
Builds a new
ImmutableMongosProcessArguments. |
ImmutableMongosProcessArguments.Builder |
destination(de.flapdoodle.reverse.StateID<de.flapdoodle.embed.process.types.ProcessArguments> destination)
Initializes the value for the
destination attribute. |
ImmutableMongosProcessArguments.Builder |
from(MongosProcessArguments instance)
Fill a builder with attribute values from the provided
MongosProcessArguments instance. |
ImmutableMongosProcessArguments.Builder |
net(de.flapdoodle.reverse.StateID<Net> net)
Initializes the value for the
net attribute. |
ImmutableMongosProcessArguments.Builder |
platform(de.flapdoodle.reverse.StateID<de.flapdoodle.os.Platform> platform)
Initializes the value for the
platform attribute. |
ImmutableMongosProcessArguments.Builder |
version(de.flapdoodle.reverse.StateID<de.flapdoodle.embed.process.distribution.Version> version)
Initializes the value for the
version attribute. |
public final ImmutableMongosProcessArguments.Builder from(MongosProcessArguments instance)
MongosProcessArguments instance.
Regular attribute values will be replaced with those from the given instance.
Absent optional values will not replace present values.instance - The instance from which to copy valuesthis builder for use in a chained invocationpublic final ImmutableMongosProcessArguments.Builder destination(de.flapdoodle.reverse.StateID<de.flapdoodle.embed.process.types.ProcessArguments> 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 final ImmutableMongosProcessArguments.Builder arguments(de.flapdoodle.reverse.StateID<MongosArguments> 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 ImmutableMongosProcessArguments.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 ImmutableMongosProcessArguments.Builder version(de.flapdoodle.reverse.StateID<de.flapdoodle.embed.process.distribution.Version> version)
version attribute.
If not set, this attribute will have a default value as returned by the initializer of version.
version - The value for versionthis builder for use in a chained invocationpublic final ImmutableMongosProcessArguments.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 ImmutableMongosProcessArguments build()
ImmutableMongosProcessArguments.IllegalStateException - if any required attributes are missingCopyright © 2023. All rights reserved.