public static final class ImmutableExecutedMongoRestoreProcess.Builder extends Object
ImmutableExecutedMongoRestoreProcess.
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 |
|---|---|
ImmutableExecutedMongoRestoreProcess |
build()
Builds a new
ImmutableExecutedMongoRestoreProcess. |
ImmutableExecutedMongoRestoreProcess.Builder |
from(ExecutedMongoRestoreProcess instance)
Fill a builder with attribute values from the provided
de.flapdoodle.embed.mongo.transitions.ExecutedMongoRestoreProcess instance. |
ImmutableExecutedMongoRestoreProcess.Builder |
from(de.flapdoodle.embed.process.types.ExecutedProcess instance)
Fill a builder with attribute values from the provided
de.flapdoodle.embed.process.types.ExecutedProcess instance. |
ImmutableExecutedMongoRestoreProcess.Builder |
returnCode(int returnCode)
Initializes the value for the
returnCode attribute. |
public final ImmutableExecutedMongoRestoreProcess.Builder from(de.flapdoodle.embed.process.types.ExecutedProcess instance)
de.flapdoodle.embed.process.types.ExecutedProcess instance.instance - The instance from which to copy valuesthis builder for use in a chained invocationpublic final ImmutableExecutedMongoRestoreProcess.Builder from(ExecutedMongoRestoreProcess instance)
de.flapdoodle.embed.mongo.transitions.ExecutedMongoRestoreProcess instance.instance - The instance from which to copy valuesthis builder for use in a chained invocationpublic final ImmutableExecutedMongoRestoreProcess.Builder returnCode(int returnCode)
returnCode attribute.returnCode - The value for returnCodethis builder for use in a chained invocationpublic ImmutableExecutedMongoRestoreProcess build()
ImmutableExecutedMongoRestoreProcess.IllegalStateException - if any required attributes are missingCopyright © 2023. All rights reserved.