public static class PrincipalDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
PrincipalDetails |
build() |
PrincipalDetails.Builder |
copy(PrincipalDetails model) |
PrincipalDetails.Builder |
principalId(String principalId)
the OCID of the principal
|
PrincipalDetails.Builder |
principalName(String principalName)
the name of the principal
|
PrincipalDetails.Builder |
principalState(PrincipalDetails.PrincipalState principalState)
The state of the principal, it can be active or inactive or suppressed for emails
|
PrincipalDetails.Builder |
principalType(PrincipalDetails.PrincipalType principalType)
the type of principal
|
public PrincipalDetails.Builder principalId(String principalId)
the OCID of the principal
principalId
- the value to setpublic PrincipalDetails.Builder principalName(String principalName)
the name of the principal
principalName
- the value to setpublic PrincipalDetails.Builder principalType(PrincipalDetails.PrincipalType principalType)
the type of principal
principalType
- the value to setpublic PrincipalDetails.Builder principalState(PrincipalDetails.PrincipalState principalState)
The state of the principal, it can be active or inactive or suppressed for emails
principalState
- the value to setpublic PrincipalDetails build()
public PrincipalDetails.Builder copy(PrincipalDetails model)
Copyright © 2016–2024. All rights reserved.