CopyableBuilder<DescribeKeyPairsResponse.Builder,DescribeKeyPairsResponse>
, SdkBuilder<DescribeKeyPairsResponse.Builder,DescribeKeyPairsResponse>
public static interface DescribeKeyPairsResponse.Builder extends CopyableBuilder<DescribeKeyPairsResponse.Builder,DescribeKeyPairsResponse>
Modifier and Type | Method | Description |
---|---|---|
DescribeKeyPairsResponse.Builder |
keyPairs(Collection<KeyPairInfo> keyPairs) |
Information about one or more key pairs.
|
DescribeKeyPairsResponse.Builder |
keyPairs(KeyPairInfo... keyPairs) |
Information about one or more key pairs.
|
copy
apply, build
DescribeKeyPairsResponse.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.
NOTE: This method appends the values to the existing list (if any). Use
#setKeyPairs(java.util.Collection)
or #withKeyPairs(java.util.Collection)
if you want to
override the existing values.
keyPairs
- Information about one or more key pairs.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.