public class DescribeKeyPairsResult
extends java.lang.Object
implements java.io.Serializable
Contains the output of DescribeKeyPairs.
Constructor and Description |
---|
DescribeKeyPairsResult() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.util.List<KeyPairInfo> |
getKeyPairs()
Information about one or more key pairs.
|
int |
hashCode() |
void |
setKeyPairs(java.util.Collection<KeyPairInfo> keyPairs)
Information about one or more key pairs.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeKeyPairsResult |
withKeyPairs(java.util.Collection<KeyPairInfo> keyPairs)
Information about one or more key pairs.
|
DescribeKeyPairsResult |
withKeyPairs(KeyPairInfo... keyPairs)
Information about one or more key pairs.
|
public java.util.List<KeyPairInfo> getKeyPairs()
public void setKeyPairs(java.util.Collection<KeyPairInfo> keyPairs)
keyPairs
- Information about one or more key pairs.public DescribeKeyPairsResult withKeyPairs(KeyPairInfo... keyPairs)
Returns a reference to this object so that method calls can be chained together.
keyPairs
- Information about one or more key pairs.public DescribeKeyPairsResult withKeyPairs(java.util.Collection<KeyPairInfo> keyPairs)
Returns a reference to this object so that method calls can be chained together.
keyPairs
- Information about one or more key pairs.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.