Package org.openstack4j.model.compute
Interface Keypair
-
- All Superinterfaces:
ModelEntity,Serializable
- All Known Implementing Classes:
NovaKeypair
public interface Keypair extends ModelEntity
An OpenStack Keypair is an SSH Key- Author:
- Jeremy Unruh,whaon
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DategetCreatedAt()time createdBooleangetDeleted()DategetDeletedAt()time deletedStringgetFingerprint()IntegergetId()StringgetName()The name associated with the keypairStringgetPrivateKey()The private key associated with this keypair.StringgetPublicKey()The public SSH keyDategetUpdatedAt()time updatedStringgetUserId()
-
-
-
Method Detail
-
getName
String getName()
The name associated with the keypair- Returns:
- the name of the keypair
-
getPublicKey
String getPublicKey()
The public SSH key- Returns:
- the public key
-
getPrivateKey
String getPrivateKey()
The private key associated with this keypair. Only populated on create when a public key is not specified and is auto-generated by the server- Returns:
- the private key
-
getFingerprint
String getFingerprint()
- Returns:
- the server fingerprint
-
getUserId
String getUserId()
- Returns:
- the user_id for a keypair.
-
getDeleted
Boolean getDeleted()
- Returns:
- is deleted
-
getCreatedAt
Date getCreatedAt()
time created
-
getUpdatedAt
Date getUpdatedAt()
time updated
-
getDeletedAt
Date getDeletedAt()
time deleted
-
getId
Integer getId()
- Returns:
- id of the keypair
-
-