org.dasein.cloud.aws.identity
Class Keypairs

java.lang.Object
  extended by org.dasein.cloud.aws.identity.Keypairs
All Implemented Interfaces:
org.dasein.cloud.AccessControlledService, org.dasein.cloud.identity.ShellKeySupport

public class Keypairs
extends Object
implements org.dasein.cloud.identity.ShellKeySupport


Field Summary
 
Fields inherited from interface org.dasein.cloud.identity.ShellKeySupport
ANY, CREATE_KEYPAIR, GET_KEYPAIR, LIST_KEYPAIR, REMOVE_KEYPAIR
 
Constructor Summary
Keypairs(AWSCloud provider)
           
 
Method Summary
 org.dasein.cloud.identity.SSHKeypair createKeypair(String name)
           
 void deleteKeypair(String name)
           
 String getFingerprint(String name)
           
 org.dasein.cloud.identity.SSHKeypair getKeypair(String name)
           
 String getProviderTermForKeypair(Locale locale)
           
 boolean isSubscribed()
           
 Collection<org.dasein.cloud.identity.SSHKeypair> list()
           
 String[] mapServiceAction(org.dasein.cloud.identity.ServiceAction action)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Keypairs

public Keypairs(@Nonnull
                AWSCloud provider)
Method Detail

createKeypair

@Nonnull
public org.dasein.cloud.identity.SSHKeypair createKeypair(@Nonnull
                                                                  String name)
                                                   throws org.dasein.cloud.InternalException,
                                                          org.dasein.cloud.CloudException
Specified by:
createKeypair in interface org.dasein.cloud.identity.ShellKeySupport
Throws:
org.dasein.cloud.InternalException
org.dasein.cloud.CloudException

deleteKeypair

public void deleteKeypair(@Nonnull
                          String name)
                   throws org.dasein.cloud.InternalException,
                          org.dasein.cloud.CloudException
Specified by:
deleteKeypair in interface org.dasein.cloud.identity.ShellKeySupport
Throws:
org.dasein.cloud.InternalException
org.dasein.cloud.CloudException

getFingerprint

@Nullable
public String getFingerprint(@Nonnull
                                      String name)
                      throws org.dasein.cloud.InternalException,
                             org.dasein.cloud.CloudException
Specified by:
getFingerprint in interface org.dasein.cloud.identity.ShellKeySupport
Throws:
org.dasein.cloud.InternalException
org.dasein.cloud.CloudException

getKeypair

@Nullable
public org.dasein.cloud.identity.SSHKeypair getKeypair(@Nonnull
                                                                String name)
                                                throws org.dasein.cloud.InternalException,
                                                       org.dasein.cloud.CloudException
Specified by:
getKeypair in interface org.dasein.cloud.identity.ShellKeySupport
Throws:
org.dasein.cloud.InternalException
org.dasein.cloud.CloudException

getProviderTermForKeypair

@Nonnull
public String getProviderTermForKeypair(@Nonnull
                                                Locale locale)
Specified by:
getProviderTermForKeypair in interface org.dasein.cloud.identity.ShellKeySupport

isSubscribed

public boolean isSubscribed()
                     throws org.dasein.cloud.CloudException,
                            org.dasein.cloud.InternalException
Specified by:
isSubscribed in interface org.dasein.cloud.identity.ShellKeySupport
Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException

list

@Nonnull
public Collection<org.dasein.cloud.identity.SSHKeypair> list()
                                                      throws org.dasein.cloud.InternalException,
                                                             org.dasein.cloud.CloudException
Specified by:
list in interface org.dasein.cloud.identity.ShellKeySupport
Throws:
org.dasein.cloud.InternalException
org.dasein.cloud.CloudException

mapServiceAction

@Nonnull
public String[] mapServiceAction(@Nonnull
                                         org.dasein.cloud.identity.ServiceAction action)
Specified by:
mapServiceAction in interface org.dasein.cloud.AccessControlledService


Copyright © 2012 enStratus Networks LLC. All Rights Reserved.