Class AuthenticateClientResult.Builder
- java.lang.Object
- 
- com.oracle.bmc.identitydataplane.model.AuthenticateClientResult.Builder
 
- 
- Enclosing class:
- AuthenticateClientResult
 
 public static class AuthenticateClientResult.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description AuthenticateClientResultbuild()AuthenticateClientResult.Buildercopy(AuthenticateClientResult model)AuthenticateClientResult.BuildererrorMessage(String errorMessage)If the authentication fails for the original caller (not failing authentication of the calling service, in which case we return 401), we return a 200, but with null principal and an error messageAuthenticateClientResult.Builderprincipal(Principal principal)The original caller’s resolved principal object if the authentication succeeds, null otherwise.
 
- 
- 
- 
Method Detail- 
principalpublic AuthenticateClientResult.Builder principal(Principal principal) The original caller’s resolved principal object if the authentication succeeds, null otherwise.- Parameters:
- principal- the value to set
- Returns:
- this builder
 
 - 
errorMessagepublic AuthenticateClientResult.Builder errorMessage(String errorMessage) If the authentication fails for the original caller (not failing authentication of the calling service, in which case we return 401), we return a 200, but with null principal and an error message- Parameters:
- errorMessage- the value to set
- Returns:
- this builder
 
 - 
buildpublic AuthenticateClientResult build() 
 - 
copypublic AuthenticateClientResult.Builder copy(AuthenticateClientResult model) 
 
- 
 
-