@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeKeyPairsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Contains the output of DescribeKeyPairs.
| 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.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic 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 ObjectObject.toString()public DescribeKeyPairsResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.