public class DescribeKeyPairsResult extends Object implements Serializable
The result of describing a user's key pairs.
Constructor and Description |
---|
DescribeKeyPairsResult() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
List<KeyPairInfo> |
getKeyPairs()
The list of described key pairs.
|
int |
hashCode() |
void |
setKeyPairs(Collection<KeyPairInfo> keyPairs)
The list of described key pairs.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeKeyPairsResult |
withKeyPairs(Collection<KeyPairInfo> keyPairs)
The list of described key pairs.
|
DescribeKeyPairsResult |
withKeyPairs(KeyPairInfo... keyPairs)
The list of described key pairs.
|
public List<KeyPairInfo> getKeyPairs()
public void setKeyPairs(Collection<KeyPairInfo> keyPairs)
keyPairs
- The list of described key pairs.public DescribeKeyPairsResult withKeyPairs(KeyPairInfo... keyPairs)
Returns a reference to this object so that method calls can be chained together.
keyPairs
- The list of described key pairs.public DescribeKeyPairsResult withKeyPairs(Collection<KeyPairInfo> keyPairs)
Returns a reference to this object so that method calls can be chained together.
keyPairs
- The list of described key pairs.public String toString()
toString
in class Object
Object.toString()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.