public static interface DescribeKeyPairsResponse.Builder extends EC2Response.Builder, CopyableBuilder<DescribeKeyPairsResponse.Builder,DescribeKeyPairsResponse>
| Modifier and Type | Method and Description |
|---|---|
DescribeKeyPairsResponse.Builder |
keyPairs(Collection<KeyPairInfo> keyPairs)
Information about one or more key pairs.
|
DescribeKeyPairsResponse.Builder |
keyPairs(Consumer<KeyPairInfo.Builder>... keyPairs)
Information about one or more key pairs.
|
DescribeKeyPairsResponse.Builder |
keyPairs(KeyPairInfo... keyPairs)
Information about one or more key pairs.
|
buildsdkHttpResponse, sdkHttpResponsecopyapply, buildDescribeKeyPairsResponse.Builder keyPairs(Collection<KeyPairInfo> keyPairs)
Information about one or more key pairs.
keyPairs - Information about one or more key pairs.DescribeKeyPairsResponse.Builder keyPairs(KeyPairInfo... keyPairs)
Information about one or more key pairs.
keyPairs - Information about one or more key pairs.DescribeKeyPairsResponse.Builder keyPairs(Consumer<KeyPairInfo.Builder>... keyPairs)
Information about one or more key pairs.
This is a convenience that creates an instance of theList.Builder avoiding the need to
create one manually via List#builder() .
When the Consumer completes, List.Builder#build() is called immediately and its
result is passed to #keyPairs(List) .keyPairs - a consumer that will call methods on List.Builder #keyPairs(List) Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.