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