public final class ImmutableMongoDumpProcessArguments extends MongoDumpProcessArguments
MongoDumpProcessArguments.
Use the builder to create immutable instances:
ImmutableMongoDumpProcessArguments.builder().
| Modifier and Type | Class and Description |
|---|---|
static class |
ImmutableMongoDumpProcessArguments.Builder
Builds instances of type
ImmutableMongoDumpProcessArguments. |
| Modifier and Type | Method and Description |
|---|---|
de.flapdoodle.reverse.StateID<MongoDumpArguments> |
arguments() |
static ImmutableMongoDumpProcessArguments.Builder |
builder()
Creates a builder for
ImmutableMongoDumpProcessArguments. |
static ImmutableMongoDumpProcessArguments |
copyOf(MongoDumpProcessArguments instance)
Creates an immutable copy of a
MongoDumpProcessArguments value. |
de.flapdoodle.reverse.StateID<de.flapdoodle.embed.process.types.ProcessArguments> |
destination() |
boolean |
equals(Object another)
This instance is equal to all instances of
ImmutableMongoDumpProcessArguments that have equal attribute values. |
int |
hashCode()
Computes a hash code from attributes:
destination, serverAddress, arguments. |
de.flapdoodle.reverse.StateID<ServerAddress> |
serverAddress() |
String |
toString()
Prints the immutable value
MongoDumpProcessArguments with attribute values. |
ImmutableMongoDumpProcessArguments |
withArguments(de.flapdoodle.reverse.StateID<MongoDumpArguments> value)
Copy the current immutable object by setting a value for the
arguments attribute. |
ImmutableMongoDumpProcessArguments |
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. |
ImmutableMongoDumpProcessArguments |
withServerAddress(de.flapdoodle.reverse.StateID<ServerAddress> value)
Copy the current immutable object by setting a value for the
serverAddress attribute. |
transitionLabel, withDefaultsresult, sourcespublic 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 MongoToolsProcessArguments<MongoDumpArguments>destination attributepublic de.flapdoodle.reverse.StateID<ServerAddress> serverAddress()
serverAddress in class MongoToolsProcessArguments<MongoDumpArguments>serverAddress attributepublic de.flapdoodle.reverse.StateID<MongoDumpArguments> arguments()
arguments in interface CommandProcessArguments<MongoDumpArguments>arguments in class MongoDumpProcessArgumentsarguments attributepublic final ImmutableMongoDumpProcessArguments 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 ImmutableMongoDumpProcessArguments withServerAddress(de.flapdoodle.reverse.StateID<ServerAddress> value)
serverAddress attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this.value - A new value for serverAddressthis objectpublic final ImmutableMongoDumpProcessArguments withArguments(de.flapdoodle.reverse.StateID<MongoDumpArguments> 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 boolean equals(Object another)
ImmutableMongoDumpProcessArguments that have equal attribute values.public int hashCode()
destination, serverAddress, arguments.public String toString()
MongoDumpProcessArguments with attribute values.public static ImmutableMongoDumpProcessArguments copyOf(MongoDumpProcessArguments instance)
MongoDumpProcessArguments 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 ImmutableMongoDumpProcessArguments.Builder builder()
ImmutableMongoDumpProcessArguments.
ImmutableMongoDumpProcessArguments.builder()
.destination(de.flapdoodle.reverse.StateID<de.flapdoodle.embed.process.types.ProcessArguments>) // optional destination
.serverAddress(de.flapdoodle.reverse.StateID<de.flapdoodle.embed.mongo.commands.ServerAddress>) // optional serverAddress
.arguments(de.flapdoodle.reverse.StateID<de.flapdoodle.embed.mongo.commands.MongoDumpArguments>) // optional arguments
.build();
Copyright © 2022. All rights reserved.