public static class WrappingKey.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
WrappingKey |
build() |
WrappingKey.Builder |
compartmentId(String compartmentId)
The OCID of the compartment that contains this key.
|
WrappingKey.Builder |
copy(WrappingKey model) |
WrappingKey.Builder |
id(String id)
The OCID of the key.
|
WrappingKey.Builder |
lifecycleState(WrappingKey.LifecycleState lifecycleState)
The key’s current lifecycle state.
|
WrappingKey.Builder |
publicKey(String publicKey)
The public key, in PEM format, to use to wrap the key material before importing it.
|
WrappingKey.Builder |
timeCreated(Date timeCreated)
The date and time the key was created, expressed in RFC
3339 timestamp format.
|
WrappingKey.Builder |
vaultId(String vaultId)
The OCID of the vault that contains this key.
|
public WrappingKey.Builder compartmentId(String compartmentId)
The OCID of the compartment that contains this key.
compartmentId
- the value to setpublic WrappingKey.Builder id(String id)
The OCID of the key.
id
- the value to setpublic WrappingKey.Builder lifecycleState(WrappingKey.LifecycleState lifecycleState)
The key’s current lifecycle state.
Example: ENABLED
lifecycleState
- the value to setpublic WrappingKey.Builder publicKey(String publicKey)
The public key, in PEM format, to use to wrap the key material before importing it.
publicKey
- the value to setpublic 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
timeCreated
- the value to setpublic WrappingKey.Builder vaultId(String vaultId)
The OCID of the vault that contains this key.
vaultId
- the value to setpublic WrappingKey build()
public WrappingKey.Builder copy(WrappingKey model)
Copyright © 2016–2024. All rights reserved.