public interface KeyPairApi
Modifier and Type | Method and Description |
---|---|
KeyPair |
createKeyPairInRegion(String region,
String keyName)
Creates a new 2048-bit RSA key pair with the specified name.
|
void |
deleteKeyPairInRegion(String region,
String keyName)
Deletes the specified key pair, by removing the public key from Amazon EC2.
|
Set<KeyPair> |
describeKeyPairsInRegion(String region,
String... keyPairNames)
Returns information about key pairs available to you.
|
Set<KeyPair> |
describeKeyPairsInRegionWithFilter(String region,
com.google.common.collect.Multimap<String,String> filter)
Returns information about key pairs available to you.
|
@Named(value="CreateKeyPair") KeyPair createKeyPairInRegion(@Nullable String region, String keyName)
@Named(value="DescribeKeyPairs") Set<KeyPair> describeKeyPairsInRegion(@Nullable String region, String... keyPairNames)
@Named(value="DescribeKeyPairs") Set<KeyPair> describeKeyPairsInRegionWithFilter(@Nullable String region, com.google.common.collect.Multimap<String,String> filter)
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.