public final class ImmutableMongoRestoreProcessArguments extends MongoRestoreProcessArguments
MongoRestoreProcessArguments.
Use the builder to create immutable instances:
ImmutableMongoRestoreProcessArguments.builder().
| Modifier and Type | Class and Description |
|---|---|
static class |
ImmutableMongoRestoreProcessArguments.Builder
Builds instances of type
ImmutableMongoRestoreProcessArguments. |
| Modifier and Type | Method and Description |
|---|---|
de.flapdoodle.reverse.StateID<MongoRestoreArguments> |
arguments() |
static ImmutableMongoRestoreProcessArguments.Builder |
builder()
Creates a builder for
ImmutableMongoRestoreProcessArguments. |
static ImmutableMongoRestoreProcessArguments |
copyOf(MongoRestoreProcessArguments instance)
Creates an immutable copy of a
MongoRestoreProcessArguments value. |
de.flapdoodle.reverse.StateID<de.flapdoodle.embed.process.types.ProcessArguments> |
destination() |
boolean |
equals(Object another)
This instance is equal to all instances of
ImmutableMongoRestoreProcessArguments 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
MongoRestoreProcessArguments with attribute values. |
ImmutableMongoRestoreProcessArguments |
withArguments(de.flapdoodle.reverse.StateID<MongoRestoreArguments> value)
Copy the current immutable object by setting a value for the
arguments attribute. |
ImmutableMongoRestoreProcessArguments |
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. |
ImmutableMongoRestoreProcessArguments |
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<MongoRestoreArguments>destination attributepublic de.flapdoodle.reverse.StateID<ServerAddress> serverAddress()
serverAddress in class MongoToolsProcessArguments<MongoRestoreArguments>serverAddress attributepublic de.flapdoodle.reverse.StateID<MongoRestoreArguments> arguments()
arguments in interface CommandProcessArguments<MongoRestoreArguments>arguments in class MongoRestoreProcessArgumentsarguments attributepublic final ImmutableMongoRestoreProcessArguments 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 ImmutableMongoRestoreProcessArguments 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 ImmutableMongoRestoreProcessArguments withArguments(de.flapdoodle.reverse.StateID<MongoRestoreArguments> 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)
ImmutableMongoRestoreProcessArguments that have equal attribute values.public int hashCode()
destination, serverAddress, arguments.public String toString()
MongoRestoreProcessArguments with attribute values.public static ImmutableMongoRestoreProcessArguments copyOf(MongoRestoreProcessArguments instance)
MongoRestoreProcessArguments 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 ImmutableMongoRestoreProcessArguments.Builder builder()
ImmutableMongoRestoreProcessArguments.
ImmutableMongoRestoreProcessArguments.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.MongoRestoreArguments>) // optional arguments
.build();
Copyright © 2024. All rights reserved.