public static class KeyVersionSummary.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
KeyVersionSummary |
build() |
KeyVersionSummary.Builder |
compartmentId(String compartmentId)
The OCID of the compartment that contains this key version.
|
KeyVersionSummary.Builder |
copy(KeyVersionSummary model) |
KeyVersionSummary.Builder |
externalKeyReferenceDetails(ExternalKeyReferenceDetails externalKeyReferenceDetails) |
KeyVersionSummary.Builder |
id(String id)
The OCID of the key version.
|
KeyVersionSummary.Builder |
isAutoRotated(Boolean isAutoRotated)
An optional property indicating whether this keyversion is generated from auto
rotatation.
|
KeyVersionSummary.Builder |
keyId(String keyId)
The OCID of the master encryption key associated with this key version.
|
KeyVersionSummary.Builder |
lifecycleState(KeyVersionSummary.LifecycleState lifecycleState)
The key version’s current lifecycle state.
|
KeyVersionSummary.Builder |
origin(KeyVersionSummary.Origin origin)
The source of the key material.
|
KeyVersionSummary.Builder |
timeCreated(Date timeCreated)
The date and time this key version was created, expressed in RFC
3339 timestamp format.
|
KeyVersionSummary.Builder |
timeOfDeletion(Date timeOfDeletion)
An optional property to indicate when to delete the key version, expressed in RFC
3339 timestamp format.
|
KeyVersionSummary.Builder |
vaultId(String vaultId)
The OCID of the vault that contains this key version.
|
public KeyVersionSummary.Builder compartmentId(String compartmentId)
The OCID of the compartment that contains this key version.
compartmentId
- the value to setpublic KeyVersionSummary.Builder id(String id)
The OCID of the key version.
id
- the value to setpublic KeyVersionSummary.Builder keyId(String keyId)
The OCID of the master encryption key associated with this key version.
keyId
- the value to setpublic KeyVersionSummary.Builder lifecycleState(KeyVersionSummary.LifecycleState lifecycleState)
The key version’s current lifecycle state.
Example: ENABLED
lifecycleState
- the value to setpublic 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.
origin
- the value to setpublic 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
timeCreated
- the value to setpublic 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
timeOfDeletion
- the value to setpublic KeyVersionSummary.Builder vaultId(String vaultId)
The OCID of the vault that contains this key version.
vaultId
- the value to setpublic KeyVersionSummary.Builder externalKeyReferenceDetails(ExternalKeyReferenceDetails externalKeyReferenceDetails)
public KeyVersionSummary.Builder isAutoRotated(Boolean isAutoRotated)
An optional property indicating whether this keyversion is generated from auto rotatation.
isAutoRotated
- the value to setpublic KeyVersionSummary build()
public KeyVersionSummary.Builder copy(KeyVersionSummary model)
Copyright © 2016–2024. All rights reserved.