Package com.morpheusdata.model
Class KeyPair
java.lang.Object
com.morpheusdata.model.MorpheusModel
com.morpheusdata.model.projection.KeyPairIdentityProjection
com.morpheusdata.model.KeyPair
- All Implemented Interfaces:
Serializable
Key pairs are commonly used by Morpheus for accessing instances via SSH. Morpheus stores key pairs to simplify administration and access across both private and public clouds.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Longprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected StringFields inherited from class com.morpheusdata.model.projection.KeyPairIdentityProjection
externalId, nameFields inherited from class com.morpheusdata.model.MorpheusModel
config, id -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetCode()getRefId()getScope()getUuid()voidsetAccountId(Long accountId) voidvoidsetInternalId(String internalId) voidsetPassphrase(String passphrase) voidsetPrivateKey(String privateKey) voidsetPublicFingerprint(String publicFingerprint) voidsetPublicKey(String publicKey) voidvoidsetRefName(String refName) voidsetRefType(String refType) voidsetRegionCode(String regionCode) voidvoidtoMap()Methods inherited from class com.morpheusdata.model.projection.KeyPairIdentityProjection
getExternalId, getName, setExternalId, setNameMethods inherited from class com.morpheusdata.model.MorpheusModel
getConfig, getConfigMap, getConfigProperty, getDirtyProperties, getDirtyPropertyValues, getId, getProperties, isDirty, markClean, markDirty, markDirty, setConfig, setConfigMap, setConfigProperty, setId
-
Field Details
-
accountId
-
code
-
publicKey
-
privateKey
-
passphrase
-
internalId
-
publicFingerprint
-
regionCode
-
scope
-
refType
-
refId
-
refName
-
uuid
-
-
Constructor Details
-
KeyPair
public KeyPair()
-
-
Method Details
-
getAccountId
-
setAccountId
-
getCode
-
getPublicKey
-
getPrivateKey
-
getPassphrase
-
getInternalId
-
getPublicFingerprint
-
setCode
-
setPublicKey
-
setPrivateKey
-
setPassphrase
-
setInternalId
-
setPublicFingerprint
-
getRegionCode
-
setRegionCode
-
getScope
-
setScope
-
getRefType
-
setRefType
-
getRefId
-
setRefId
-
getRefName
-
setRefName
-
getUuid
-
setUuid
-
toMap
- Returns:
- hash map of the KeyPair properties and values
-