Package com.oracle.bmc.nosql.model
Class KmsKey.Builder
- java.lang.Object
- 
- com.oracle.bmc.nosql.model.KmsKey.Builder
 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description KmsKeybuild()KmsKey.Buildercopy(KmsKey model)KmsKey.Builderid(String id)The OCID of the KMS encryption key assigned to this Hosted Environment.KmsKey.BuilderkmsKeyState(KmsKey.KmsKeyState kmsKeyState)The current state of the encryption key assigned to this Hosted Environment.KmsKey.BuilderkmsVaultId(String kmsVaultId)The OCID of the vault containing the encryption key assigned to this Hosted Environment.KmsKey.BuildertimeCreated(Date timeCreated)The timestamp when encryption key was first enabled for this Hosted Environment.KmsKey.BuildertimeUpdated(Date timeUpdated)The timestamp of the last update to the encryption key status.
 
- 
- 
- 
Method Detail- 
idpublic KmsKey.Builder id(String id) The OCID of the KMS encryption key assigned to this Hosted Environment.If the Hosted Environment is using an Oracle-managed Key, then the id will be a null string.. - Parameters:
- id- the value to set
- Returns:
- this builder
 
 - 
kmsVaultIdpublic KmsKey.Builder kmsVaultId(String kmsVaultId) The OCID of the vault containing the encryption key assigned to this Hosted Environment.If the Hosted Environment is using an Oracle-managed Key, then the kmsVaultId will be a null string. - Parameters:
- kmsVaultId- the value to set
- Returns:
- this builder
 
 - 
kmsKeyStatepublic KmsKey.Builder kmsKeyState(KmsKey.KmsKeyState kmsKeyState) The current state of the encryption key assigned to this Hosted Environment.Oracle-managed keys will always report an ACTIVE state. - Parameters:
- kmsKeyState- the value to set
- Returns:
- this builder
 
 - 
timeCreatedpublic KmsKey.Builder timeCreated(Date timeCreated) The timestamp when encryption key was first enabled for this Hosted Environment.RFC3339 formatted. - Parameters:
- timeCreated- the value to set
- Returns:
- this builder
 
 - 
timeUpdatedpublic KmsKey.Builder timeUpdated(Date timeUpdated) The timestamp of the last update to the encryption key status.RFC3339 formatted. - Parameters:
- timeUpdated- the value to set
- Returns:
- this builder
 
 - 
buildpublic KmsKey build() 
 - 
copypublic KmsKey.Builder copy(KmsKey model) 
 
- 
 
-