|
|||||||
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(java.lang.Object obj)
|
Request<DescribeKeyPairsRequest> |
getDryRunRequest()
This method is intended for internal use only. |
java.util.List<Filter> |
getFilters()
One or more filters. |
java.util.List<java.lang.String> |
getKeyNames()
One or more key pair names. |
int |
hashCode()
|
void |
setFilters(java.util.Collection<Filter> filters)
One or more filters. |
void |
setKeyNames(java.util.Collection<java.lang.String> keyNames)
One or more key pair names. |
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
DescribeKeyPairsRequest |
withFilters(java.util.Collection<Filter> filters)
One or more filters. |
DescribeKeyPairsRequest |
withFilters(Filter... filters)
One or more filters. |
DescribeKeyPairsRequest |
withKeyNames(java.util.Collection<java.lang.String> keyNames)
One or more key pair names. |
DescribeKeyPairsRequest |
withKeyNames(java.lang.String... keyNames)
One or more key pair names. |
Methods inherited from class com.amazonaws.AmazonWebServiceRequest |
---|
copyPrivateRequestParameters, getDelegationToken, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setDelegationToken, setRequestCredentials, setRequestMetricCollector, withRequestMetricCollector |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public DescribeKeyPairsRequest()
Method Detail |
---|
public java.util.List<java.lang.String> getKeyNames()
Default: Describes all your key pairs.
Default: Describes all your key pairs.
public void setKeyNames(java.util.Collection<java.lang.String> keyNames)
Default: Describes all your key pairs.
keyNames
- One or more key pair names. Default: Describes all your key pairs.
public DescribeKeyPairsRequest withKeyNames(java.lang.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(java.util.Collection<java.lang.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 java.util.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(java.util.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(java.util.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 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
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |