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.Requirement getKeyImportSupport()
           
 org.dasein.cloud.identity.SSHKeypair getKeypair(String name)
           
 String getProviderTermForKeypair(Locale locale)
           
 org.dasein.cloud.identity.SSHKeypair importKeypair(String name, String material)
           
 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

getKeyImportSupport

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

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

importKeypair

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

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 © 2009-2014 Dell, Inc.. All Rights Reserved.