@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeKeyPairsFunction extends Object implements SdkFunction<DescribeKeyPairsRequest,DescribeKeyPairsResult>
| Constructor and Description | 
|---|
| DescribeKeyPairsFunction(AmazonEC2 client)Constructs a new DescribeKeyPairsFunction with the given client | 
| Modifier and Type | Method and Description | 
|---|---|
| DescribeKeyPairsResult | apply(DescribeKeyPairsRequest describeKeyPairsRequest)Makes a call to the operation specified by the waiter by taking the corresponding request and returns the
 corresponding result | 
public DescribeKeyPairsFunction(AmazonEC2 client)
client - Service clientpublic DescribeKeyPairsResult apply(DescribeKeyPairsRequest describeKeyPairsRequest)
apply in interface SdkFunction<DescribeKeyPairsRequest,DescribeKeyPairsResult>describeKeyPairsRequest - Corresponding request for the operation