public static class CommonPrincipal.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CommonPrincipal |
build() |
CommonPrincipal.Builder |
copy(CommonPrincipal model) |
CommonPrincipal.Builder |
tenant(Tenant tenant)
The tenant.
|
CommonPrincipal.Builder |
user(User user)
The user.
|
public CommonPrincipal.Builder tenant(Tenant tenant)
The tenant.
tenant
- the value to setpublic CommonPrincipal.Builder user(User user)
The user.
user
- the value to setpublic CommonPrincipal build()
public CommonPrincipal.Builder copy(CommonPrincipal model)
Copyright © 2016–2024. All rights reserved.