| Package | Description |
|---|---|
| de.flapdoodle.embed.mongo.client |
| Modifier and Type | Method and Description |
|---|---|
ImmutableUser |
ImmutableUser.Builder.build()
Builds a new
ImmutableUser. |
static ImmutableUser |
ImmutableUser.copyOf(AuthenticationSetup.User instance)
Creates an immutable copy of a
AuthenticationSetup.User value. |
static ImmutableUser |
ImmutableUser.of(String database,
UsernamePassword user)
Construct a new immutable
User instance. |
static ImmutableUser |
AuthenticationSetup.user(String database,
UsernamePassword usernamePassword) |
ImmutableUser |
ImmutableUser.withDatabase(String value)
Copy the current immutable object by setting a value for the
database attribute. |
ImmutableUser |
ImmutableUser.withRoles(Iterable<String> elements)
Copy the current immutable object with elements that replace the content of
roles. |
ImmutableUser |
ImmutableUser.withRoles(String... elements)
Copy the current immutable object with elements that replace the content of
roles. |
ImmutableUser |
ImmutableUser.withUser(UsernamePassword value)
Copy the current immutable object by setting a value for the
user attribute. |
Copyright © 2024. All rights reserved.