@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeKeyPairsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
DescribeKeyPairsResult() |
Modifier and Type | Method and Description |
---|---|
DescribeKeyPairsResult |
clone() |
boolean |
equals(Object obj) |
List<KeyPairInfo> |
getKeyPairs()
Information about the key pairs.
|
int |
hashCode() |
void |
setKeyPairs(Collection<KeyPairInfo> keyPairs)
Information about the key pairs.
|
String |
toString()
Returns a string representation of this object.
|
DescribeKeyPairsResult |
withKeyPairs(Collection<KeyPairInfo> keyPairs)
Information about the key pairs.
|
DescribeKeyPairsResult |
withKeyPairs(KeyPairInfo... keyPairs)
Information about the key pairs.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<KeyPairInfo> getKeyPairs()
Information about the key pairs.
public void setKeyPairs(Collection<KeyPairInfo> keyPairs)
Information about the key pairs.
keyPairs
- Information about the key pairs.public DescribeKeyPairsResult withKeyPairs(KeyPairInfo... keyPairs)
Information about the 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 the key pairs.public DescribeKeyPairsResult withKeyPairs(Collection<KeyPairInfo> keyPairs)
Information about the key pairs.
keyPairs
- Information about the key pairs.public String toString()
toString
in class Object
Object.toString()
public DescribeKeyPairsResult clone()