|
|||||||
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
Container for the parameters to the DescribeKeyPairs operation
.
The DescribeKeyPairs operation returns information about key pairs available to you. If you specify key pairs, information about those key pairs is returned. Otherwise, information for all registered key pairs is returned.
AmazonEC2.describeKeyPairs(DescribeKeyPairsRequest)
Constructor Summary | |
---|---|
DescribeKeyPairsRequest()
|
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
List<Filter> |
getFilters()
A list of filters used to match properties for KeyPairs. |
List<String> |
getKeyNames()
The optional list of key pair names to describe. |
int |
hashCode()
|
void |
setFilters(Collection<Filter> filters)
A list of filters used to match properties for KeyPairs. |
void |
setKeyNames(Collection<String> keyNames)
The optional list of key pair names to describe. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
DescribeKeyPairsRequest |
withFilters(Collection<Filter> filters)
A list of filters used to match properties for KeyPairs. |
DescribeKeyPairsRequest |
withFilters(Filter... filters)
A list of filters used to match properties for KeyPairs. |
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, getDelegationToken, getRequestClientOptions, getRequestCredentials, setDelegationToken, setRequestCredentials |
Methods inherited from class java.lang.Object |
---|
getClass, 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 List<Filter> getFilters()
public void setFilters(Collection<Filter> filters)
filters
- A list of filters used to match properties for KeyPairs. For a
complete reference to the available filter keys for this operation,
see the Amazon
EC2 API reference.public DescribeKeyPairsRequest withFilters(Filter... filters)
Returns a reference to this object so that method calls can be chained together.
filters
- A list of filters used to match properties for KeyPairs. For a
complete reference to the available filter keys for this operation,
see the Amazon
EC2 API reference.
public DescribeKeyPairsRequest withFilters(Collection<Filter> filters)
Returns a reference to this object so that method calls can be chained together.
filters
- A list of filters used to match properties for KeyPairs. For a
complete reference to the available filter keys for this operation,
see the Amazon
EC2 API reference.
public String toString()
toString
in class Object
Object.toString()
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |