Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
Principal |
build() |
Principal.Builder |
claims(List<Claim> claims)
The set of claims for this principal.
|
Principal.Builder |
copy(Principal model) |
Principal.Builder |
subjectId(String subjectId)
The user’s OCID.
|
Principal.Builder |
tenantId(String tenantId)
The tenancy OCID.
|
public Principal.Builder subjectId(String subjectId)
The user’s OCID.
subjectId
- the value to setpublic Principal.Builder tenantId(String tenantId)
The tenancy OCID.
tenantId
- the value to setpublic Principal.Builder claims(List<Claim> claims)
The set of claims for this principal.
claims
- the value to setpublic Principal build()
public Principal.Builder copy(Principal model)
Copyright © 2016–2024. All rights reserved.