Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
ApiKey |
build() |
ApiKey.Builder |
copy(ApiKey model) |
ApiKey.Builder |
fingerprint(String fingerprint)
The key’s fingerprint (e.g., 12:34:56:78:90:ab:cd:ef:12:34:56:78:90:ab:cd:ef).
|
ApiKey.Builder |
inactiveStatus(Long inactiveStatus)
The detailed status of INACTIVE lifecycleState.
|
ApiKey.Builder |
keyId(String keyId)
An Oracle-assigned identifier for the key, in this format:
TENANCY_OCID/USER_OCID/KEY_FINGERPRINT.
|
ApiKey.Builder |
keyValue(String keyValue)
The key’s value.
|
ApiKey.Builder |
lifecycleState(ApiKey.LifecycleState lifecycleState)
The API key’s current state.
|
ApiKey.Builder |
timeCreated(Date timeCreated)
Date and time the
ApiKey object was created, in the format defined by RFC3339. |
ApiKey.Builder |
userId(String userId)
The OCID of the user the key belongs to.
|
public ApiKey.Builder keyId(String keyId)
An Oracle-assigned identifier for the key, in this format: TENANCY_OCID/USER_OCID/KEY_FINGERPRINT.
keyId
- the value to setpublic ApiKey.Builder keyValue(String keyValue)
The key’s value.
keyValue
- the value to setpublic ApiKey.Builder fingerprint(String fingerprint)
The key’s fingerprint (e.g., 12:34:56:78:90:ab:cd:ef:12:34:56:78:90:ab:cd:ef).
fingerprint
- the value to setpublic ApiKey.Builder userId(String userId)
The OCID of the user the key belongs to.
userId
- the value to setpublic ApiKey.Builder timeCreated(Date timeCreated)
Date and time the ApiKey
object was created, in the format defined by RFC3339.
Example: 2016-08-25T21:10:29.600Z
timeCreated
- the value to setpublic ApiKey.Builder lifecycleState(ApiKey.LifecycleState lifecycleState)
The API key’s current state. After creating an ApiKey
object, make sure its
lifecycleState
changes from CREATING to ACTIVE before using it.
lifecycleState
- the value to setpublic ApiKey.Builder inactiveStatus(Long inactiveStatus)
The detailed status of INACTIVE lifecycleState.
inactiveStatus
- the value to setpublic ApiKey build()
public ApiKey.Builder copy(ApiKey model)
Copyright © 2016–2024. All rights reserved.