public static final class ImmutableMongoImportProcessArguments.Builder extends Object
ImmutableMongoImportProcessArguments.
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 |
|---|---|
ImmutableMongoImportProcessArguments.Builder |
arguments(de.flapdoodle.reverse.StateID<MongoImportArguments> arguments)
Initializes the value for the
arguments attribute. |
ImmutableMongoImportProcessArguments |
build()
Builds a new
ImmutableMongoImportProcessArguments. |
ImmutableMongoImportProcessArguments.Builder |
destination(de.flapdoodle.reverse.StateID<de.flapdoodle.embed.process.types.ProcessArguments> destination)
Initializes the value for the
destination attribute. |
ImmutableMongoImportProcessArguments.Builder |
from(MongoImportProcessArguments instance)
Fill a builder with attribute values from the provided
MongoImportProcessArguments instance. |
ImmutableMongoImportProcessArguments.Builder |
serverAddress(de.flapdoodle.reverse.StateID<ServerAddress> serverAddress)
Initializes the value for the
serverAddress attribute. |
public final ImmutableMongoImportProcessArguments.Builder from(MongoImportProcessArguments instance)
MongoImportProcessArguments 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 ImmutableMongoImportProcessArguments.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 ImmutableMongoImportProcessArguments.Builder serverAddress(de.flapdoodle.reverse.StateID<ServerAddress> serverAddress)
serverAddress attribute.
If not set, this attribute will have a default value as returned by the initializer of serverAddress.
serverAddress - The value for serverAddressthis builder for use in a chained invocationpublic final ImmutableMongoImportProcessArguments.Builder arguments(de.flapdoodle.reverse.StateID<MongoImportArguments> 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 ImmutableMongoImportProcessArguments build()
ImmutableMongoImportProcessArguments.IllegalStateException - if any required attributes are missingCopyright © 2022. All rights reserved.