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 Long
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected String
Fields inherited from class com.morpheusdata.model.projection.KeyPairIdentityProjection
externalId, name
Fields inherited from class com.morpheusdata.model.MorpheusModel
config, id
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetCode()
getRefId()
getScope()
getUuid()
void
setAccountId
(Long accountId) void
void
setInternalId
(String internalId) void
setPassphrase
(String passphrase) void
setPrivateKey
(String privateKey) void
setPublicFingerprint
(String publicFingerprint) void
setPublicKey
(String publicKey) void
void
setRefName
(String refName) void
setRefType
(String refType) void
setRegionCode
(String regionCode) void
void
toMap()
Methods inherited from class com.morpheusdata.model.projection.KeyPairIdentityProjection
getExternalId, getName, setExternalId, setName
Methods 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
-