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, responseMetadata
sdkHttpResponse, sdkHttpResponse
equalsBySdkFields, sdkFields
copy
applyMutation, build
DescribeKeyPairsResponse.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 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 © 2019. All rights reserved.