public static final class ImmutableMongoRestoreProcessArguments.Builder extends Object
ImmutableMongoRestoreProcessArguments.
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 |
|---|---|
ImmutableMongoRestoreProcessArguments.Builder |
arguments(de.flapdoodle.reverse.StateID<MongoRestoreArguments> arguments)
Initializes the value for the
arguments attribute. |
ImmutableMongoRestoreProcessArguments |
build()
Builds a new
ImmutableMongoRestoreProcessArguments. |
ImmutableMongoRestoreProcessArguments.Builder |
destination(de.flapdoodle.reverse.StateID<de.flapdoodle.embed.process.types.ProcessArguments> destination)
Initializes the value for the
destination attribute. |
ImmutableMongoRestoreProcessArguments.Builder |
from(MongoRestoreProcessArguments instance)
Fill a builder with attribute values from the provided
MongoRestoreProcessArguments instance. |
ImmutableMongoRestoreProcessArguments.Builder |
serverAddress(de.flapdoodle.reverse.StateID<ServerAddress> serverAddress)
Initializes the value for the
serverAddress attribute. |
public final ImmutableMongoRestoreProcessArguments.Builder from(MongoRestoreProcessArguments instance)
MongoRestoreProcessArguments 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 ImmutableMongoRestoreProcessArguments.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 ImmutableMongoRestoreProcessArguments.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 ImmutableMongoRestoreProcessArguments.Builder arguments(de.flapdoodle.reverse.StateID<MongoRestoreArguments> 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 ImmutableMongoRestoreProcessArguments build()
ImmutableMongoRestoreProcessArguments.IllegalStateException - if any required attributes are missingCopyright © 2024. All rights reserved.