public final class ImmutableMongosProcessArguments extends MongosProcessArguments
MongosProcessArguments.
Use the builder to create immutable instances:
ImmutableMongosProcessArguments.builder().
| Modifier and Type | Class and Description |
|---|---|
static class |
ImmutableMongosProcessArguments.Builder
Builds instances of type
ImmutableMongosProcessArguments. |
| Modifier and Type | Method and Description |
|---|---|
de.flapdoodle.reverse.StateID<MongosArguments> |
arguments() |
static ImmutableMongosProcessArguments.Builder |
builder()
Creates a builder for
ImmutableMongosProcessArguments. |
static ImmutableMongosProcessArguments |
copyOf(MongosProcessArguments instance)
Creates an immutable copy of a
MongosProcessArguments value. |
de.flapdoodle.reverse.StateID<de.flapdoodle.embed.process.types.ProcessArguments> |
destination() |
boolean |
equals(Object another)
This instance is equal to all instances of
ImmutableMongosProcessArguments that have equal attribute values. |
int |
hashCode()
Computes a hash code from attributes:
destination, arguments, platform, version, net. |
de.flapdoodle.reverse.StateID<Net> |
net() |
de.flapdoodle.reverse.StateID<de.flapdoodle.os.Platform> |
platform() |
String |
toString()
Prints the immutable value
MongosProcessArguments with attribute values. |
de.flapdoodle.reverse.StateID<de.flapdoodle.embed.process.distribution.Version> |
version() |
ImmutableMongosProcessArguments |
withArguments(de.flapdoodle.reverse.StateID<MongosArguments> value)
Copy the current immutable object by setting a value for the
arguments attribute. |
ImmutableMongosProcessArguments |
withDestination(de.flapdoodle.reverse.StateID<de.flapdoodle.embed.process.types.ProcessArguments> value)
Copy the current immutable object by setting a value for the
destination attribute. |
ImmutableMongosProcessArguments |
withNet(de.flapdoodle.reverse.StateID<Net> value)
Copy the current immutable object by setting a value for the
net attribute. |
ImmutableMongosProcessArguments |
withPlatform(de.flapdoodle.reverse.StateID<de.flapdoodle.os.Platform> value)
Copy the current immutable object by setting a value for the
platform attribute. |
ImmutableMongosProcessArguments |
withVersion(de.flapdoodle.reverse.StateID<de.flapdoodle.embed.process.distribution.Version> value)
Copy the current immutable object by setting a value for the
version attribute. |
result, sources, transitionLabel, withDefaultspublic de.flapdoodle.reverse.StateID<de.flapdoodle.embed.process.types.ProcessArguments> destination()
destination in interface de.flapdoodle.reverse.Transition<de.flapdoodle.embed.process.types.ProcessArguments>destination in class MongosProcessArgumentsdestination attributepublic de.flapdoodle.reverse.StateID<MongosArguments> arguments()
arguments in interface CommandProcessArguments<MongosArguments>arguments in class MongosProcessArgumentsarguments attributepublic de.flapdoodle.reverse.StateID<de.flapdoodle.os.Platform> platform()
platform in class MongosProcessArgumentsplatform attributepublic de.flapdoodle.reverse.StateID<de.flapdoodle.embed.process.distribution.Version> version()
version in class MongosProcessArgumentsversion attributepublic de.flapdoodle.reverse.StateID<Net> net()
net in class MongosProcessArgumentsnet attributepublic final ImmutableMongosProcessArguments withDestination(de.flapdoodle.reverse.StateID<de.flapdoodle.embed.process.types.ProcessArguments> value)
destination attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this.value - A new value for destinationthis objectpublic final ImmutableMongosProcessArguments withArguments(de.flapdoodle.reverse.StateID<MongosArguments> value)
arguments attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this.value - A new value for argumentsthis objectpublic final ImmutableMongosProcessArguments withPlatform(de.flapdoodle.reverse.StateID<de.flapdoodle.os.Platform> value)
platform attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this.value - A new value for platformthis objectpublic final ImmutableMongosProcessArguments withVersion(de.flapdoodle.reverse.StateID<de.flapdoodle.embed.process.distribution.Version> value)
version attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this.value - A new value for versionthis objectpublic final ImmutableMongosProcessArguments withNet(de.flapdoodle.reverse.StateID<Net> value)
net attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this.value - A new value for netthis objectpublic boolean equals(Object another)
ImmutableMongosProcessArguments that have equal attribute values.public int hashCode()
destination, arguments, platform, version, net.public String toString()
MongosProcessArguments with attribute values.public static ImmutableMongosProcessArguments copyOf(MongosProcessArguments instance)
MongosProcessArguments value.
Uses accessors to get values to initialize the new immutable instance.
If an instance is already immutable, it is returned as is.instance - The instance to copypublic static ImmutableMongosProcessArguments.Builder builder()
ImmutableMongosProcessArguments.
ImmutableMongosProcessArguments.builder()
.destination(de.flapdoodle.reverse.StateID<de.flapdoodle.embed.process.types.ProcessArguments>) // optional destination
.arguments(de.flapdoodle.reverse.StateID<de.flapdoodle.embed.mongo.commands.MongosArguments>) // optional arguments
.platform(de.flapdoodle.reverse.StateID<de.flapdoodle.os.Platform>) // optional platform
.version(de.flapdoodle.reverse.StateID<de.flapdoodle.embed.process.distribution.Version>) // optional version
.net(de.flapdoodle.reverse.StateID<de.flapdoodle.embed.mongo.config.Net>) // optional net
.build();
Copyright © 2024. All rights reserved.