public static class DbCredential.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
DbCredential |
build() |
DbCredential.Builder |
copy(DbCredential model) |
DbCredential.Builder |
id(String id)
The OCID of the DB credential.
|
DbCredential.Builder |
lifecycleDetails(Long lifecycleDetails)
The detailed status of INACTIVE lifecycleState.
|
DbCredential.Builder |
lifecycleState(DbCredential.LifecycleState lifecycleState)
The credential’s current state.
|
DbCredential.Builder |
timeCreated(Date timeCreated)
Date and time the
DbCredential object was created, in the format defined by
RFC3339. |
DbCredential.Builder |
timeExpires(Date timeExpires)
Date and time when this credential will expire, in the format defined by RFC3339.
|
DbCredential.Builder |
userId(String userId)
The OCID of the user the DB credential belongs to.
|
public DbCredential.Builder id(String id)
The OCID of the DB credential.
id
- the value to setpublic DbCredential.Builder userId(String userId)
The OCID of the user the DB credential belongs to.
userId
- the value to setpublic DbCredential.Builder timeCreated(Date timeCreated)
Date and time the DbCredential
object was created, in the format defined by
RFC3339.
Example: 2016-08-25T21:10:29.600Z
timeCreated
- the value to setpublic DbCredential.Builder timeExpires(Date timeExpires)
Date and time when this credential 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 DbCredential.Builder lifecycleState(DbCredential.LifecycleState lifecycleState)
The credential’s current state. After creating a DB credential, make sure its lifecycleState
changes from CREATING to ACTIVE before using it.
lifecycleState
- the value to setpublic DbCredential.Builder lifecycleDetails(Long lifecycleDetails)
The detailed status of INACTIVE lifecycleState.
lifecycleDetails
- the value to setpublic DbCredential build()
public DbCredential.Builder copy(DbCredential model)
Copyright © 2016–2024. All rights reserved.