public class NovaKeypair extends Object implements Keypair
| Modifier and Type | Class and Description |
|---|---|
static class |
NovaKeypair.Keypairs |
| Constructor and Description |
|---|
NovaKeypair() |
| Modifier and Type | Method and Description |
|---|---|
static NovaKeypair |
create(String name,
String publicKey)
Used internally by the domain side of the API to create a new Keypair on an OpenStack server
|
Date |
getCreatedAt()
time created
|
Boolean |
getDeleted() |
Date |
getDeletedAt()
time deleted
|
String |
getFingerprint() |
Integer |
getId() |
String |
getName()
The name associated with the keypair
|
String |
getPrivateKey()
The private key associated with this keypair.
|
String |
getPublicKey()
The public SSH key
|
Date |
getUpdatedAt()
time updated
|
String |
getUserId() |
String |
toString() |
public static NovaKeypair create(String name, String publicKey)
name - the name of the keypairpublicKey - the public key or null to have OS generated onepublic String getName()
public String getPublicKey()
getPublicKey in interface Keypairpublic String getPrivateKey()
getPrivateKey in interface Keypairpublic String getFingerprint()
getFingerprint in interface Keypairpublic String getUserId()
public Boolean getDeleted()
getDeleted in interface Keypairpublic Date getCreatedAt()
getCreatedAt in interface Keypairpublic Date getUpdatedAt()
getUpdatedAt in interface Keypairpublic Date getDeletedAt()
getDeletedAt in interface KeypairCopyright © 2017. All rights reserved.