@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeKeyPairsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable, DryRunSupportedRequest<DescribeKeyPairsRequest>
Contains the parameters for DescribeKeyPairs.
NOOP| Constructor and Description |
|---|
DescribeKeyPairsRequest() |
| Modifier and Type | Method and Description |
|---|---|
DescribeKeyPairsRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
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.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic List<Filter> getFilters()
One or more filters.
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)
One or more 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)
One or more filters.
fingerprint - The fingerprint of the key pair.
key-name - The name of the key pair.
NOTE: This method appends the values to the existing list (if any). Use
setFilters(java.util.Collection) or withFilters(java.util.Collection) if you want to override
the existing values.
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)
One or more 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 List<String> getKeyNames()
One or more key pair names.
Default: Describes all your key pairs.
Default: Describes all your key pairs.
public void setKeyNames(Collection<String> keyNames)
One or more key pair names.
Default: Describes all your key pairs.
keyNames - One or more key pair names.
Default: Describes all your key pairs.
public DescribeKeyPairsRequest withKeyNames(String... keyNames)
One or more key pair names.
Default: Describes all your key pairs.
NOTE: This method appends the values to the existing list (if any). Use
setKeyNames(java.util.Collection) or withKeyNames(java.util.Collection) if you want to override
the existing values.
keyNames - One or more key pair names.
Default: Describes all your key pairs.
public DescribeKeyPairsRequest withKeyNames(Collection<String> keyNames)
One or more key pair names.
Default: Describes all your key pairs.
keyNames - One or more key pair names.
Default: Describes all your key pairs.
public Request<DescribeKeyPairsRequest> getDryRunRequest()
getDryRunRequest in interface DryRunSupportedRequest<DescribeKeyPairsRequest>public String toString()
toString in class ObjectObject.toString()public DescribeKeyPairsRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.