@Generated(value="software.amazon.awssdk:aws-java-sdk-code-generator") public class DescribeKeyPairsFunction extends Object implements SdkFunction<DescribeKeyPairsRequest,DescribeKeyPairsResponse>
| Constructor and Description |
|---|
DescribeKeyPairsFunction(EC2Client client)
Constructs a new DescribeKeyPairsFunction with the given client
|
| Modifier and Type | Method and Description |
|---|---|
DescribeKeyPairsResponse |
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(EC2Client client)
client - Service clientpublic DescribeKeyPairsResponse apply(DescribeKeyPairsRequest describeKeyPairsRequest)
apply in interface SdkFunction<DescribeKeyPairsRequest,DescribeKeyPairsResponse>describeKeyPairsRequest - Corresponding request for the operationCopyright © 2017. All rights reserved.