|
||||||||||
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
.
Describes one or more of your key pairs.
For more information about key pairs, see Key Pairs in the Amazon Elastic Compute Cloud User Guide .
AmazonEC2.describeKeyPairs(DescribeKeyPairsRequest)
,
Serialized FormConstructor Summary | |
---|---|
DescribeKeyPairsRequest()
|
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
Request<DescribeKeyPairsRequest> |
getDryRunRequest()
This method is intended for internal use only. |
List<Filter> |
getFilters()
One or more filters. |
List<String> |
getKeyNames()
One or more key pair names. |
int |
hashCode()
|
void |
setFilters(Collection<Filter> filters)
One or more filters. |
void |
setKeyNames(Collection<String> keyNames)
One or more key pair names. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
DescribeKeyPairsRequest |
withFilters(Collection<Filter> filters)
One or more filters. |
DescribeKeyPairsRequest |
withFilters(Filter... filters)
One or more filters. |
DescribeKeyPairsRequest |
withKeyNames(Collection<String> keyNames)
One or more key pair names. |
DescribeKeyPairsRequest |
withKeyNames(String... keyNames)
One or more key pair names. |
Methods inherited from class com.amazonaws.AmazonWebServiceRequest |
---|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setRequestCredentials, setRequestMetricCollector, withRequestMetricCollector |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public DescribeKeyPairsRequest()
Method Detail |
---|
public List<String> getKeyNames()
Default: Describes all your key pairs.
Default: Describes all your key pairs.
public void setKeyNames(Collection<String> keyNames)
Default: Describes all your key pairs.
keyNames
- One or more key pair names. Default: Describes all your key pairs.
public DescribeKeyPairsRequest withKeyNames(String... keyNames)
Default: Describes all your key pairs.
Returns a reference to this object so that method calls can be chained together.
keyNames
- One or more key pair names. Default: Describes all your key pairs.
public DescribeKeyPairsRequest withKeyNames(Collection<String> keyNames)
Default: Describes all your key pairs.
Returns a reference to this object so that method calls can be chained together.
keyNames
- One or more key pair names. Default: Describes all your key pairs.
public List<Filter> getFilters()
fingerprint
- The
fingerprint of the key pair.
key-name
- The
name of the key pair.
fingerprint
- The
fingerprint of the key pair.
key-name
- The
name of the key pair.
public void setFilters(Collection<Filter> filters)
fingerprint
- The
fingerprint of the key pair.
key-name
- The
name of the key pair.
filters
- One or more filters. fingerprint
- The
fingerprint of the key pair.
key-name
- The
name of the key pair.
public DescribeKeyPairsRequest withFilters(Filter... filters)
fingerprint
- The
fingerprint of the key pair.
key-name
- The
name of the key pair.
Returns a reference to this object so that method calls can be chained together.
filters
- One or more filters. fingerprint
- The
fingerprint of the key pair.
key-name
- The
name of the key pair.
public DescribeKeyPairsRequest withFilters(Collection<Filter> filters)
fingerprint
- The
fingerprint of the key pair.
key-name
- The
name of the key pair.
Returns a reference to this object so that method calls can be chained together.
filters
- One or more filters. fingerprint
- The
fingerprint of the key pair.
key-name
- The
name of the key pair.
public Request<DescribeKeyPairsRequest> getDryRunRequest()
getDryRunRequest
in interface DryRunSupportedRequest<DescribeKeyPairsRequest>
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 |