Package com.oracle.bmc.identity.model
Class CustomerSecretKey.Builder
- java.lang.Object
- 
- com.oracle.bmc.identity.model.CustomerSecretKey.Builder
 
- 
- Enclosing class:
- CustomerSecretKey
 
 public static class CustomerSecretKey.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description CustomerSecretKeybuild()CustomerSecretKey.Buildercopy(CustomerSecretKey model)CustomerSecretKey.BuilderdisplayName(String displayName)The display name you assign to the secret key.CustomerSecretKey.Builderid(String id)The access key portion of the key pair.CustomerSecretKey.BuilderinactiveStatus(Long inactiveStatus)The detailed status of INACTIVE lifecycleState.CustomerSecretKey.Builderkey(String key)The secret key.CustomerSecretKey.BuilderlifecycleState(CustomerSecretKey.LifecycleState lifecycleState)The secret key’s current state.CustomerSecretKey.BuildertimeCreated(Date timeCreated)Date and time the CustomerSecretKey object was created, in the format defined by RFC3339.CustomerSecretKey.BuildertimeExpires(Date timeExpires)Date and time when this password will expire, in the format defined by RFC3339.CustomerSecretKey.BuilderuserId(String userId)The OCID of the user the password belongs to.
 
- 
- 
- 
Method Detail- 
keypublic CustomerSecretKey.Builder key(String key) The secret key.- Parameters:
- key- the value to set
- Returns:
- this builder
 
 - 
idpublic CustomerSecretKey.Builder id(String id) The access key portion of the key pair.- Parameters:
- id- the value to set
- Returns:
- this builder
 
 - 
userIdpublic CustomerSecretKey.Builder userId(String userId) The OCID of the user the password belongs to.- Parameters:
- userId- the value to set
- Returns:
- this builder
 
 - 
displayNamepublic CustomerSecretKey.Builder displayName(String displayName) The display name you assign to the secret key.Does not have to be unique, and it’s changeable. - Parameters:
- displayName- the value to set
- Returns:
- this builder
 
 - 
timeCreatedpublic CustomerSecretKey.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 - Parameters:
- timeCreated- the value to set
- Returns:
- this builder
 
 - 
timeExpirespublic CustomerSecretKey.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 - Parameters:
- timeExpires- the value to set
- Returns:
- this builder
 
 - 
lifecycleStatepublic CustomerSecretKey.Builder lifecycleState(CustomerSecretKey.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. - Parameters:
- lifecycleState- the value to set
- Returns:
- this builder
 
 - 
inactiveStatuspublic CustomerSecretKey.Builder inactiveStatus(Long inactiveStatus) The detailed status of INACTIVE lifecycleState.- Parameters:
- inactiveStatus- the value to set
- Returns:
- this builder
 
 - 
buildpublic CustomerSecretKey build() 
 - 
copypublic CustomerSecretKey.Builder copy(CustomerSecretKey model) 
 
- 
 
-