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