| Constructor and Description |
|---|
SSHKey()
Create a new ssh key.
|
SSHKey(java.lang.String owner,
java.lang.String key) |
SSHKey(java.lang.String owner,
java.lang.String key,
java.lang.Long lastChangedDate) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getKey() |
java.util.Date |
getLastChanged() |
java.lang.String |
getName() |
java.lang.String |
getOwner() |
java.util.List<java.lang.String> |
getTemplates() |
java.lang.String |
getUsername() |
void |
setKey(java.lang.String key) |
void |
setLastChanged(java.util.Date lastChanged) |
void |
setOwner(java.lang.String owner) |
void |
setTemplates(java.util.List<java.lang.String> templates) |
void |
setUsername(java.lang.String username) |
public SSHKey()
public SSHKey(java.lang.String owner,
java.lang.String key)
owner - the name of the key ownerkey - the content of the keypublic SSHKey(java.lang.String owner,
java.lang.String key,
java.lang.Long lastChangedDate)
owner - the owner of the ssh keykey - the content of the ssh keylastChangedDate - the timestamp of the last changepublic java.lang.String getOwner()
public void setOwner(java.lang.String owner)
owner - the name of the owner to setpublic java.lang.String getUsername()
public void setUsername(java.lang.String username)
username - the user name to setpublic java.lang.String getKey()
public void setKey(java.lang.String key)
key - the key to setpublic java.util.Date getLastChanged()
public void setLastChanged(java.util.Date lastChanged)
lastChanged - the change date to setpublic java.util.List<java.lang.String> getTemplates()
public void setTemplates(java.util.List<java.lang.String> templates)
templates - the template names to setCopyright © 2017-2019 Cinovo AG. All Rights Reserved.