public class DescribeKeyPairsResult extends Object implements Serializable, Cloneable
Constructor and Description |
---|
DescribeKeyPairsResult() |
Modifier and Type | Method and Description |
---|---|
DescribeKeyPairsResult |
clone() |
boolean |
equals(Object obj) |
List<KeyPairInfo> |
getKeyPairs()
Information about one or more key pairs.
|
int |
hashCode() |
void |
setKeyPairs(Collection<KeyPairInfo> keyPairs)
Information about one or more key pairs.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeKeyPairsResult |
withKeyPairs(Collection<KeyPairInfo> keyPairs)
Information about one or more key pairs.
|
DescribeKeyPairsResult |
withKeyPairs(KeyPairInfo... keyPairs)
Information about one or more key pairs.
|
public List<KeyPairInfo> getKeyPairs()
Information about one or more key pairs.
public void setKeyPairs(Collection<KeyPairInfo> keyPairs)
Information about one or more key pairs.
keyPairs
- Information about one or more key pairs.public DescribeKeyPairsResult withKeyPairs(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.public DescribeKeyPairsResult withKeyPairs(Collection<KeyPairInfo> keyPairs)
Information about one or more key pairs.
keyPairs
- Information about one or more key pairs.public String toString()
toString
in class Object
Object.toString()
public DescribeKeyPairsResult clone()
Copyright © 2016. All rights reserved.