public static interface DescribeKeyPairsResponse.Builder extends Ec2Response.Builder, SdkPojo, CopyableBuilder<DescribeKeyPairsResponse.Builder,DescribeKeyPairsResponse>
| Modifier and Type | Method and Description |
|---|---|
DescribeKeyPairsResponse.Builder |
keyPairs(Collection<KeyPairInfo> keyPairs)
Information about the key pairs.
|
DescribeKeyPairsResponse.Builder |
keyPairs(Consumer<KeyPairInfo.Builder>... keyPairs)
Information about the key pairs.
|
DescribeKeyPairsResponse.Builder |
keyPairs(KeyPairInfo... keyPairs)
Information about the key pairs.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildDescribeKeyPairsResponse.Builder keyPairs(Collection<KeyPairInfo> keyPairs)
Information about the key pairs.
keyPairs - Information about the key pairs.DescribeKeyPairsResponse.Builder keyPairs(KeyPairInfo... keyPairs)
Information about the key pairs.
keyPairs - Information about the key pairs.DescribeKeyPairsResponse.Builder keyPairs(Consumer<KeyPairInfo.Builder>... keyPairs)
Information about the key pairs.
This is a convenience method that creates an instance of theKeyPairInfo.Builder avoiding the need to create one
manually via KeyPairInfo.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and its
result is passed to #keyPairs(List.
keyPairs - a consumer that will call methods on
KeyPairInfo.Builder#keyPairs(java.util.Collection) Copyright © 2022. All rights reserved.