public static class CustomerSecretKeySummary.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CustomerSecretKeySummary |
build() |
CustomerSecretKeySummary.Builder |
copy(CustomerSecretKeySummary model) |
CustomerSecretKeySummary.Builder |
displayName(String displayName)
The displayName you assign to the secret key.
|
CustomerSecretKeySummary.Builder |
id(String id)
The OCID of the secret key.
|
CustomerSecretKeySummary.Builder |
inactiveStatus(Long inactiveStatus)
The detailed status of INACTIVE lifecycleState.
|
CustomerSecretKeySummary.Builder |
lifecycleState(CustomerSecretKeySummary.LifecycleState lifecycleState)
The secret key’s current state.
|
CustomerSecretKeySummary.Builder |
timeCreated(Date timeCreated)
Date and time the
CustomerSecretKey object was created, in the format defined by
RFC3339. |
CustomerSecretKeySummary.Builder |
timeExpires(Date timeExpires)
Date and time when this password will expire, in the format defined by RFC3339.
|
CustomerSecretKeySummary.Builder |
userId(String userId)
The OCID of the user the password belongs to.
|
public CustomerSecretKeySummary.Builder id(String id)
The OCID of the secret key.
id
- the value to setpublic CustomerSecretKeySummary.Builder userId(String userId)
The OCID of the user the password belongs to.
userId
- the value to setpublic CustomerSecretKeySummary.Builder displayName(String displayName)
The displayName you assign to the secret key. Does not have to be unique, and it’s changeable.
displayName
- the value to setpublic CustomerSecretKeySummary.Builder timeCreated(Date timeCreated)
Date and time the CustomerSecretKey
object was created, in the format defined by
RFC3339.
Example: 2016-08-25T21:10:29.600Z
timeCreated
- the value to setpublic CustomerSecretKeySummary.Builder timeExpires(Date timeExpires)
Date and time when this password will expire, in the format defined by RFC3339. Null if it never expires.
Example: 2016-08-25T21:10:29.600Z
timeExpires
- the value to setpublic CustomerSecretKeySummary.Builder lifecycleState(CustomerSecretKeySummary.LifecycleState lifecycleState)
The secret key’s current state. After creating a secret key, make sure its lifecycleState
changes from CREATING to ACTIVE before using it.
lifecycleState
- the value to setpublic CustomerSecretKeySummary.Builder inactiveStatus(Long inactiveStatus)
The detailed status of INACTIVE lifecycleState.
inactiveStatus
- the value to setpublic CustomerSecretKeySummary build()
public CustomerSecretKeySummary.Builder copy(CustomerSecretKeySummary model)
Copyright © 2016–2024. All rights reserved.