@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeKeyPairsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable, DryRunSupportedRequest<DescribeKeyPairsRequest>
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()
 The filters. 
 | 
Boolean | 
getIncludePublicKey()
 If  
true, the public key material is included in the response. | 
List<String> | 
getKeyNames()
 The key pair names. 
 | 
List<String> | 
getKeyPairIds()
 The IDs of the key pairs. 
 | 
int | 
hashCode()  | 
Boolean | 
isIncludePublicKey()
 If  
true, the public key material is included in the response. | 
void | 
setFilters(Collection<Filter> filters)
 The filters. 
 | 
void | 
setIncludePublicKey(Boolean includePublicKey)
 If  
true, the public key material is included in the response. | 
void | 
setKeyNames(Collection<String> keyNames)
 The key pair names. 
 | 
void | 
setKeyPairIds(Collection<String> keyPairIds)
 The IDs of the key pairs. 
 | 
String | 
toString()
Returns a string representation of this object. 
 | 
DescribeKeyPairsRequest | 
withFilters(Collection<Filter> filters)
 The filters. 
 | 
DescribeKeyPairsRequest | 
withFilters(Filter... filters)
 The filters. 
 | 
DescribeKeyPairsRequest | 
withIncludePublicKey(Boolean includePublicKey)
 If  
true, the public key material is included in the response. | 
DescribeKeyPairsRequest | 
withKeyNames(Collection<String> keyNames)
 The key pair names. 
 | 
DescribeKeyPairsRequest | 
withKeyNames(String... keyNames)
 The key pair names. 
 | 
DescribeKeyPairsRequest | 
withKeyPairIds(Collection<String> keyPairIds)
 The IDs of the key pairs. 
 | 
DescribeKeyPairsRequest | 
withKeyPairIds(String... keyPairIds)
 The IDs of the key pairs. 
 | 
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()
The filters.
 key-pair-id - The ID of the key pair.
 
 fingerprint - The fingerprint of the key pair.
 
 key-name - The name of the key pair.
 
 tag-key - The key of a tag assigned to the resource. Use this filter to find all resources assigned
 a tag with a specific key, regardless of the tag value.
 
 tag:<key> - The key/value combination of a tag assigned to the resource. Use the tag key in
 the filter name and the tag value as the filter value. For example, to find all resources that have a tag with
 the key Owner and the value TeamA, specify tag:Owner for the filter name
 and TeamA for the filter value.
 
         key-pair-id - The ID of the key pair.
         
         fingerprint - The fingerprint of the key pair.
         
         key-name - The name of the key pair.
         
         tag-key - The key of a tag assigned to the resource. Use this filter to find all resources
         assigned a tag with a specific key, regardless of the tag value.
         
         tag:<key> - The key/value combination of a tag assigned to the resource. Use the tag
         key in the filter name and the tag value as the filter value. For example, to find all resources that
         have a tag with the key Owner and the value TeamA, specify
         tag:Owner for the filter name and TeamA for the filter value.
         
public void setFilters(Collection<Filter> filters)
The filters.
 key-pair-id - The ID of the key pair.
 
 fingerprint - The fingerprint of the key pair.
 
 key-name - The name of the key pair.
 
 tag-key - The key of a tag assigned to the resource. Use this filter to find all resources assigned
 a tag with a specific key, regardless of the tag value.
 
 tag:<key> - The key/value combination of a tag assigned to the resource. Use the tag key in
 the filter name and the tag value as the filter value. For example, to find all resources that have a tag with
 the key Owner and the value TeamA, specify tag:Owner for the filter name
 and TeamA for the filter value.
 
filters - The filters.
        
        key-pair-id - The ID of the key pair.
        
        fingerprint - The fingerprint of the key pair.
        
        key-name - The name of the key pair.
        
        tag-key - The key of a tag assigned to the resource. Use this filter to find all resources
        assigned a tag with a specific key, regardless of the tag value.
        
        tag:<key> - The key/value combination of a tag assigned to the resource. Use the tag
        key in the filter name and the tag value as the filter value. For example, to find all resources that have
        a tag with the key Owner and the value TeamA, specify tag:Owner for
        the filter name and TeamA for the filter value.
        
public DescribeKeyPairsRequest withFilters(Filter... filters)
The filters.
 key-pair-id - The ID of the key pair.
 
 fingerprint - The fingerprint of the key pair.
 
 key-name - The name of the key pair.
 
 tag-key - The key of a tag assigned to the resource. Use this filter to find all resources assigned
 a tag with a specific key, regardless of the tag value.
 
 tag:<key> - The key/value combination of a tag assigned to the resource. Use the tag key in
 the filter name and the tag value as the filter value. For example, to find all resources that have a tag with
 the key Owner and the value TeamA, specify tag:Owner for the filter name
 and TeamA for the filter value.
 
 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 - The filters.
        
        key-pair-id - The ID of the key pair.
        
        fingerprint - The fingerprint of the key pair.
        
        key-name - The name of the key pair.
        
        tag-key - The key of a tag assigned to the resource. Use this filter to find all resources
        assigned a tag with a specific key, regardless of the tag value.
        
        tag:<key> - The key/value combination of a tag assigned to the resource. Use the tag
        key in the filter name and the tag value as the filter value. For example, to find all resources that have
        a tag with the key Owner and the value TeamA, specify tag:Owner for
        the filter name and TeamA for the filter value.
        
public DescribeKeyPairsRequest withFilters(Collection<Filter> filters)
The filters.
 key-pair-id - The ID of the key pair.
 
 fingerprint - The fingerprint of the key pair.
 
 key-name - The name of the key pair.
 
 tag-key - The key of a tag assigned to the resource. Use this filter to find all resources assigned
 a tag with a specific key, regardless of the tag value.
 
 tag:<key> - The key/value combination of a tag assigned to the resource. Use the tag key in
 the filter name and the tag value as the filter value. For example, to find all resources that have a tag with
 the key Owner and the value TeamA, specify tag:Owner for the filter name
 and TeamA for the filter value.
 
filters - The filters.
        
        key-pair-id - The ID of the key pair.
        
        fingerprint - The fingerprint of the key pair.
        
        key-name - The name of the key pair.
        
        tag-key - The key of a tag assigned to the resource. Use this filter to find all resources
        assigned a tag with a specific key, regardless of the tag value.
        
        tag:<key> - The key/value combination of a tag assigned to the resource. Use the tag
        key in the filter name and the tag value as the filter value. For example, to find all resources that have
        a tag with the key Owner and the value TeamA, specify tag:Owner for
        the filter name and TeamA for the filter value.
        
public List<String> getKeyNames()
The key pair names.
Default: Describes all of your key pairs.
Default: Describes all of your key pairs.
public void setKeyNames(Collection<String> keyNames)
The key pair names.
Default: Describes all of your key pairs.
keyNames - The key pair names.
        Default: Describes all of your key pairs.
public DescribeKeyPairsRequest withKeyNames(String... keyNames)
The key pair names.
Default: Describes all of 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 - The key pair names.
        Default: Describes all of your key pairs.
public DescribeKeyPairsRequest withKeyNames(Collection<String> keyNames)
The key pair names.
Default: Describes all of your key pairs.
keyNames - The key pair names.
        Default: Describes all of your key pairs.
public List<String> getKeyPairIds()
The IDs of the key pairs.
public void setKeyPairIds(Collection<String> keyPairIds)
The IDs of the key pairs.
keyPairIds - The IDs of the key pairs.public DescribeKeyPairsRequest withKeyPairIds(String... keyPairIds)
The IDs of the key pairs.
 NOTE: This method appends the values to the existing list (if any). Use
 setKeyPairIds(java.util.Collection) or withKeyPairIds(java.util.Collection) if you want to
 override the existing values.
 
keyPairIds - The IDs of the key pairs.public DescribeKeyPairsRequest withKeyPairIds(Collection<String> keyPairIds)
The IDs of the key pairs.
keyPairIds - The IDs of the key pairs.public void setIncludePublicKey(Boolean includePublicKey)
 If true, the public key material is included in the response.
 
 Default: false
 
includePublicKey - If true, the public key material is included in the response.
        
        Default: false
public Boolean getIncludePublicKey()
 If true, the public key material is included in the response.
 
 Default: false
 
true, the public key material is included in the response.
         
         Default: false
public DescribeKeyPairsRequest withIncludePublicKey(Boolean includePublicKey)
 If true, the public key material is included in the response.
 
 Default: false
 
includePublicKey - If true, the public key material is included in the response.
        
        Default: false
public Boolean isIncludePublicKey()
 If true, the public key material is included in the response.
 
 Default: false
 
true, the public key material is included in the response.
         
         Default: false
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()