SdkFunction<DescribeKeyPairsRequest,DescribeKeyPairsResponse>
@Generated("software.amazon.awssdk:aws-java-sdk-code-generator") public class DescribeKeyPairsFunction extends Object implements SdkFunction<DescribeKeyPairsRequest,DescribeKeyPairsResponse>
Constructor | Description |
---|---|
DescribeKeyPairsFunction(EC2Client client) |
Constructs a new DescribeKeyPairsFunction with the given client
|
Modifier and Type | Method | 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 Amazon Web Services, Inc. All Rights Reserved.