Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
Identity.Builder |
authType(String authType)
The type of authentication used.
|
Identity |
build() |
Identity.Builder |
callerId(String callerId)
The OCID of the
caller.
|
Identity.Builder |
callerName(String callerName)
The name of the user or service.
|
Identity.Builder |
consoleSessionId(String consoleSessionId)
This value identifies any Console session associated with this request.
|
Identity.Builder |
copy(Identity model) |
Identity.Builder |
credentials(String credentials)
The credential ID of the user.
|
Identity.Builder |
ipAddress(String ipAddress)
The IP address of the source of the request.
|
Identity.Builder |
principalId(String principalId)
The OCID of the
principal.
|
Identity.Builder |
principalName(String principalName)
The name of the user or service.
|
Identity.Builder |
tenantId(String tenantId)
The OCID of the
tenant.
|
Identity.Builder |
userAgent(String userAgent)
The user agent of the client that made the request.
|
public Identity.Builder principalName(String principalName)
The name of the user or service. This value is the friendly name associated with principalId
.
Example: ExampleName
principalName
- the value to setpublic Identity.Builder principalId(String principalId)
The OCID of the principal.
principalId
- the value to setpublic Identity.Builder authType(String authType)
The type of authentication used.
Example: natv
authType
- the value to setpublic Identity.Builder callerName(String callerName)
The name of the user or service. This value is the friendly name associated with callerId
.
callerName
- the value to setpublic Identity.Builder callerId(String callerId)
The OCID of the caller. The caller that made a request on behalf of the prinicpal.
callerId
- the value to setpublic Identity.Builder tenantId(String tenantId)
The OCID of the tenant.
tenantId
- the value to setpublic Identity.Builder ipAddress(String ipAddress)
The IP address of the source of the request.
Example: 172.24.80.88
ipAddress
- the value to setpublic Identity.Builder credentials(String credentials)
The credential ID of the user. This value is extracted from the HTTP ‘Authorization’ request header. It consists of the tenantId, userId, and user fingerprint, all delimited by a slash (/).
credentials
- the value to setpublic Identity.Builder userAgent(String userAgent)
The user agent of the client that made the request.
Example: Jersey/2.23 (HttpUrlConnection 1.8.0_212)
userAgent
- the value to setpublic Identity.Builder consoleSessionId(String consoleSessionId)
This value identifies any Console session associated with this request.
consoleSessionId
- the value to setpublic Identity build()
public Identity.Builder copy(Identity model)
Copyright © 2016–2024. All rights reserved.