|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.ec2.model.DescribeKeyPairsRequest
public class DescribeKeyPairsRequest
Request to describe information about key pairs available to you.
If you specify key pairs, information about those key pairs is returned. Otherwise, information for all your registered key pairs is returned.
Constructor Summary | |
---|---|
DescribeKeyPairsRequest()
|
Method Summary | |
---|---|
List<String> |
getKeyNames()
The optional list of key pair names to describe. |
void |
setKeyNames(Collection<String> keyNames)
The optional list of key pair names to describe. |
String |
toString()
|
DescribeKeyPairsRequest |
withKeyNames(Collection<String> keyNames)
The optional list of key pair names to describe. |
DescribeKeyPairsRequest |
withKeyNames(String... keyNames)
The optional list of key pair names to describe. |
Methods inherited from class com.amazonaws.AmazonWebServiceRequest |
---|
copyPrivateRequestParameters |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public DescribeKeyPairsRequest()
Method Detail |
---|
public List<String> getKeyNames()
public void setKeyNames(Collection<String> keyNames)
keyNames
- The optional list of key pair names to describe.public DescribeKeyPairsRequest withKeyNames(String... keyNames)
Returns a reference to this object so that method calls can be chained together.
keyNames
- The optional list of key pair names to describe.
public DescribeKeyPairsRequest withKeyNames(Collection<String> keyNames)
Returns a reference to this object so that method calls can be chained together.
keyNames
- The optional list of key pair names to describe.
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |