| Modifier and Type | Field and Description |
|---|---|
private boolean |
fromUser |
private String |
identifier |
private String |
identity |
| Constructor and Description |
|---|
Builder()
Default constructor for building a new User.
|
Builder(User other)
Initializes the builder with the state of the provided user.
|
| Modifier and Type | Method and Description |
|---|---|
User |
build() |
User.Builder |
identifier(String identifier)
Sets the identifier of the builder.
|
User.Builder |
identifierGenerateFromSeed(String seed)
Sets the identifier of the builder with a UUID generated from the specified seed string.
|
User.Builder |
identifierGenerateRandom()
Sets the identifier of the builder to a random UUID.
|
User.Builder |
identity(String identity)
Sets the identity of the builder.
|
private String identifier
private String identity
private final boolean fromUser
public Builder()
public Builder(User other)
other - the existing user to initialize frompublic User.Builder identifier(String identifier)
identifier - the identifier to setIllegalStateException - if this method is called when this builder was constructed from an existing Userpublic User.Builder identifierGenerateRandom()
IllegalStateException - if this method is called when this builder was constructed from an existing Userpublic User.Builder identifierGenerateFromSeed(String seed)
IllegalStateException - if this method is called when this builder was constructed from an existing Userpublic User.Builder identity(String identity)
identity - the identity to setpublic User build()
Copyright © 2023 Apache NiFi Project. All rights reserved.