Class WrappingKey.Builder
- java.lang.Object
- 
- com.oracle.bmc.keymanagement.model.WrappingKey.Builder
 
- 
- Enclosing class:
- WrappingKey
 
 public static class WrappingKey.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description WrappingKeybuild()WrappingKey.BuildercompartmentId(String compartmentId)The OCID of the compartment that contains this key.WrappingKey.Buildercopy(WrappingKey model)WrappingKey.Builderid(String id)The OCID of the key.WrappingKey.BuilderlifecycleState(WrappingKey.LifecycleState lifecycleState)The key’s current lifecycle state.WrappingKey.BuilderpublicKey(String publicKey)The public key, in PEM format, to use to wrap the key material before importing it.WrappingKey.BuildertimeCreated(Date timeCreated)The date and time the key was created, expressed in RFC 3339 timestamp format.WrappingKey.BuildervaultId(String vaultId)The OCID of the vault that contains this key.
 
- 
- 
- 
Method Detail- 
compartmentIdpublic WrappingKey.Builder compartmentId(String compartmentId) The OCID of the compartment that contains this key.- Parameters:
- compartmentId- the value to set
- Returns:
- this builder
 
 - 
idpublic WrappingKey.Builder id(String id) The OCID of the key.- Parameters:
- id- the value to set
- Returns:
- this builder
 
 - 
lifecycleStatepublic WrappingKey.Builder lifecycleState(WrappingKey.LifecycleState lifecycleState) The key’s current lifecycle state.Example: ENABLED - Parameters:
- lifecycleState- the value to set
- Returns:
- this builder
 
 - 
publicKeypublic WrappingKey.Builder publicKey(String publicKey) The public key, in PEM format, to use to wrap the key material before importing it.- Parameters:
- publicKey- the value to set
- Returns:
- this builder
 
 - 
timeCreatedpublic WrappingKey.Builder timeCreated(Date timeCreated) The date and time the key was created, expressed in RFC 3339 timestamp format.Example: 2018-04-03T21:10:29.600Z - Parameters:
- timeCreated- the value to set
- Returns:
- this builder
 
 - 
vaultIdpublic WrappingKey.Builder vaultId(String vaultId) The OCID of the vault that contains this key.- Parameters:
- vaultId- the value to set
- Returns:
- this builder
 
 - 
buildpublic WrappingKey build() 
 - 
copypublic WrappingKey.Builder copy(WrappingKey model) 
 
- 
 
-