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 Keypair
public String getPrivateKey()
getPrivateKey
in interface Keypair
public String getFingerprint()
getFingerprint
in interface Keypair
public String getUserId()
public Boolean getDeleted()
getDeleted
in interface Keypair
public Date getCreatedAt()
getCreatedAt
in interface Keypair
public Date getUpdatedAt()
getUpdatedAt
in interface Keypair
public Date getDeletedAt()
getDeletedAt
in interface Keypair
Copyright © 2017. All rights reserved.