Package com.oracle.bmc.audit.model
Class Identity.Builder
- java.lang.Object
- 
- com.oracle.bmc.audit.model.Identity.Builder
 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description Identity.BuilderauthType(String authType)The type of authentication used.Identitybuild()Identity.BuildercallerId(String callerId)The OCID of the caller.Identity.BuildercallerName(String callerName)The name of the user or service.Identity.BuilderconsoleSessionId(String consoleSessionId)This value identifies any Console session associated with this request.Identity.Buildercopy(Identity model)Identity.Buildercredentials(String credentials)The credential ID of the user.Identity.BuilderipAddress(String ipAddress)The IP address of the source of the request.Identity.BuilderprincipalId(String principalId)The OCID of the principal.Identity.BuilderprincipalName(String principalName)The name of the user or service.Identity.BuildertenantId(String tenantId)The OCID of the tenant.Identity.BuilderuserAgent(String userAgent)The user agent of the client that made the request.
 
- 
- 
- 
Method Detail- 
principalNamepublic Identity.Builder principalName(String principalName) The name of the user or service.This value is the friendly name associated with principalId. Example: ExampleName - Parameters:
- principalName- the value to set
- Returns:
- this builder
 
 - 
principalIdpublic Identity.Builder principalId(String principalId) The OCID of the principal.- Parameters:
- principalId- the value to set
- Returns:
- this builder
 
 - 
authTypepublic Identity.Builder authType(String authType) The type of authentication used.Example: natv - Parameters:
- authType- the value to set
- Returns:
- this builder
 
 - 
callerNamepublic Identity.Builder callerName(String callerName) The name of the user or service.This value is the friendly name associated with callerId. - Parameters:
- callerName- the value to set
- Returns:
- this builder
 
 - 
callerIdpublic Identity.Builder callerId(String callerId) The OCID of the caller.The caller that made a request on behalf of the prinicpal. - Parameters:
- callerId- the value to set
- Returns:
- this builder
 
 - 
tenantIdpublic Identity.Builder tenantId(String tenantId) The OCID of the tenant.- Parameters:
- tenantId- the value to set
- Returns:
- this builder
 
 - 
ipAddresspublic Identity.Builder ipAddress(String ipAddress) The IP address of the source of the request.Example: 172.24.80.88 - Parameters:
- ipAddress- the value to set
- Returns:
- this builder
 
 - 
credentialspublic 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 (/). - Parameters:
- credentials- the value to set
- Returns:
- this builder
 
 - 
userAgentpublic Identity.Builder userAgent(String userAgent) The user agent of the client that made the request.Example: Jersey/2.23 (HttpUrlConnection 1.8.0_212) - Parameters:
- userAgent- the value to set
- Returns:
- this builder
 
 - 
consoleSessionIdpublic Identity.Builder consoleSessionId(String consoleSessionId) This value identifies any Console session associated with this request.- Parameters:
- consoleSessionId- the value to set
- Returns:
- this builder
 
 - 
buildpublic Identity build() 
 - 
copypublic Identity.Builder copy(Identity model) 
 
- 
 
-