Class KeyVersionSummary.Builder
- java.lang.Object
- 
- com.oracle.bmc.keymanagement.model.KeyVersionSummary.Builder
 
- 
- Enclosing class:
- KeyVersionSummary
 
 public static class KeyVersionSummary.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description KeyVersionSummarybuild()KeyVersionSummary.BuildercompartmentId(String compartmentId)The OCID of the compartment that contains this key version.KeyVersionSummary.Buildercopy(KeyVersionSummary model)KeyVersionSummary.BuilderexternalKeyReferenceDetails(ExternalKeyReferenceDetails externalKeyReferenceDetails)KeyVersionSummary.Builderid(String id)The OCID of the key version.KeyVersionSummary.BuilderisAutoRotated(Boolean isAutoRotated)An optional property indicating whether this keyversion is generated from auto rotatation.KeyVersionSummary.BuilderkeyId(String keyId)The OCID of the master encryption key associated with this key version.KeyVersionSummary.BuilderlifecycleState(KeyVersionSummary.LifecycleState lifecycleState)The key version’s current lifecycle state.KeyVersionSummary.Builderorigin(KeyVersionSummary.Origin origin)The source of the key material.KeyVersionSummary.BuildertimeCreated(Date timeCreated)The date and time this key version was created, expressed in RFC 3339 timestamp format.KeyVersionSummary.BuildertimeOfDeletion(Date timeOfDeletion)An optional property to indicate when to delete the key version, expressed in RFC 3339 timestamp format.KeyVersionSummary.BuildervaultId(String vaultId)The OCID of the vault that contains this key version.
 
- 
- 
- 
Method Detail- 
compartmentIdpublic KeyVersionSummary.Builder compartmentId(String compartmentId) The OCID of the compartment that contains this key version.- Parameters:
- compartmentId- the value to set
- Returns:
- this builder
 
 - 
idpublic KeyVersionSummary.Builder id(String id) The OCID of the key version.- Parameters:
- id- the value to set
- Returns:
- this builder
 
 - 
keyIdpublic KeyVersionSummary.Builder keyId(String keyId) The OCID of the master encryption key associated with this key version.- Parameters:
- keyId- the value to set
- Returns:
- this builder
 
 - 
lifecycleStatepublic KeyVersionSummary.Builder lifecycleState(KeyVersionSummary.LifecycleState lifecycleState) The key version’s current lifecycle state.Example: ENABLED - Parameters:
- lifecycleState- the value to set
- Returns:
- this builder
 
 - 
originpublic KeyVersionSummary.Builder origin(KeyVersionSummary.Origin origin) The source of the key material.When this value is INTERNAL, Key Management created the key material. When this value is EXTERNAL, the key material was imported from an external source. - Parameters:
- origin- the value to set
- Returns:
- this builder
 
 - 
timeCreatedpublic KeyVersionSummary.Builder timeCreated(Date timeCreated) The date and time this key version was created, expressed in RFC 3339 timestamp format.Example: 2018-04-03T21:10:29.600Z - Parameters:
- timeCreated- the value to set
- Returns:
- this builder
 
 - 
timeOfDeletionpublic KeyVersionSummary.Builder timeOfDeletion(Date timeOfDeletion) An optional property to indicate when to delete the key version, expressed in RFC 3339 timestamp format.Example: 2019-04-03T21:10:29.600Z - Parameters:
- timeOfDeletion- the value to set
- Returns:
- this builder
 
 - 
vaultIdpublic KeyVersionSummary.Builder vaultId(String vaultId) The OCID of the vault that contains this key version.- Parameters:
- vaultId- the value to set
- Returns:
- this builder
 
 - 
externalKeyReferenceDetailspublic KeyVersionSummary.Builder externalKeyReferenceDetails(ExternalKeyReferenceDetails externalKeyReferenceDetails) 
 - 
isAutoRotatedpublic KeyVersionSummary.Builder isAutoRotated(Boolean isAutoRotated) An optional property indicating whether this keyversion is generated from auto rotatation.- Parameters:
- isAutoRotated- the value to set
- Returns:
- this builder
 
 - 
buildpublic KeyVersionSummary build() 
 - 
copypublic KeyVersionSummary.Builder copy(KeyVersionSummary model) 
 
- 
 
-