public class DescribeKeyPairsRequest extends AmazonWebServiceRequest implements Serializable, DryRunSupportedRequest<DescribeKeyPairsRequest>
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 .
NOOP
Constructor and Description |
---|
DescribeKeyPairsRequest() |
Modifier and Type | Method and Description |
---|---|
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.
|
copyPrivateRequestParameters, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
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()
Copyright © 2014. All rights reserved.