public class DescribeKeyPairsRequest extends AmazonWebServiceRequest implements java.io.Serializable
DescribeKeyPairs operation.
The DescribeKeyPairs operation returns information about key pairs available to you. If you specify key pairs, information about those key pairs is returned. Otherwise, information for all registered key pairs is returned.
| コンストラクタと説明 |
|---|
DescribeKeyPairsRequest() |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.util.List<Filter> |
getFilters()
A list of filters used to match properties for KeyPairs.
|
java.util.List<java.lang.String> |
getKeyNames()
The optional list of key pair names to describe.
|
int |
hashCode() |
void |
setFilters(java.util.Collection<Filter> filters)
A list of filters used to match properties for KeyPairs.
|
void |
setKeyNames(java.util.Collection<java.lang.String> keyNames)
The optional list of key pair names to describe.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeKeyPairsRequest |
withFilters(java.util.Collection<Filter> filters)
A list of filters used to match properties for KeyPairs.
|
DescribeKeyPairsRequest |
withFilters(Filter... filters)
A list of filters used to match properties for KeyPairs.
|
DescribeKeyPairsRequest |
withKeyNames(java.util.Collection<java.lang.String> keyNames)
The optional list of key pair names to describe.
|
DescribeKeyPairsRequest |
withKeyNames(java.lang.String... keyNames)
The optional list of key pair names to describe.
|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentialspublic java.util.List<java.lang.String> getKeyNames()
public void setKeyNames(java.util.Collection<java.lang.String> keyNames)
keyNames - The optional list of key pair names to describe.public DescribeKeyPairsRequest withKeyNames(java.lang.String... keyNames)
Returns a reference to this object so that method calls can be chained together.
keyNames - The optional list of key pair names to describe.public DescribeKeyPairsRequest withKeyNames(java.util.Collection<java.lang.String> keyNames)
Returns a reference to this object so that method calls can be chained together.
keyNames - The optional list of key pair names to describe.public java.util.List<Filter> getFilters()
public void setFilters(java.util.Collection<Filter> filters)
filters - A list of filters used to match properties for KeyPairs. For a
complete reference to the available filter keys for this operation,
see the Amazon
EC2 API reference.public DescribeKeyPairsRequest withFilters(Filter... filters)
Returns a reference to this object so that method calls can be chained together.
filters - A list of filters used to match properties for KeyPairs. For a
complete reference to the available filter keys for this operation,
see the Amazon
EC2 API reference.public DescribeKeyPairsRequest withFilters(java.util.Collection<Filter> filters)
Returns a reference to this object so that method calls can be chained together.
filters - A list of filters used to match properties for KeyPairs. For a
complete reference to the available filter keys for this operation,
see the Amazon
EC2 API reference.public java.lang.String toString()
toString クラス内 java.lang.ObjectObject.toString()public int hashCode()
hashCode クラス内 java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals クラス内 java.lang.Object