Class Key
java.lang.Object
com.ibm.cloud.sdk.core.service.model.GenericModel
com.ibm.cloud.is.vpc.v1.model.Key
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class Key
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Key.
-
Nested Class Summary
Nested Classes -
Method Summary
Methods inherited from class com.ibm.cloud.sdk.core.service.model.GenericModel
equals, hashCode, toString
-
Method Details
-
getCreatedAt
Gets the createdAt. The date and time that the key was created.- Returns:
- the createdAt
-
getCrn
-
getFingerprint
Gets the fingerprint. The fingerprint for this key. The value is returned base64-encoded and prefixed with the hash algorithm (always `SHA256`).- Returns:
- the fingerprint
-
getHref
-
getId
-
getLength
-
getName
Gets the name. The name for this key. The name must not be used by another key in the region. If unspecified, the name will be a hyphenated list of randomly-selected words.- Returns:
- the name
-
getPublicKey
Gets the publicKey. The public SSH key, consisting of two space-separated fields: the algorithm name, and the base64-encoded key.- Returns:
- the publicKey
-
getResourceGroup
Gets the resourceGroup. The resource group for this key.- Returns:
- the resourceGroup
-
getType
Gets the type. The crypto-system for this key. The enumerated values for this property may [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.- Returns:
- the type
-