@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetKeyPairsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
GetKeyPairsResult() |
Modifier and Type | Method and Description |
---|---|
GetKeyPairsResult |
clone() |
boolean |
equals(Object obj) |
List<KeyPair> |
getKeyPairs()
An array of key-value pairs containing information about the key pairs.
|
String |
getNextPageToken()
A token used for advancing to the next page of results from your get key pairs request.
|
int |
hashCode() |
void |
setKeyPairs(Collection<KeyPair> keyPairs)
An array of key-value pairs containing information about the key pairs.
|
void |
setNextPageToken(String nextPageToken)
A token used for advancing to the next page of results from your get key pairs request.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
GetKeyPairsResult |
withKeyPairs(Collection<KeyPair> keyPairs)
An array of key-value pairs containing information about the key pairs.
|
GetKeyPairsResult |
withKeyPairs(KeyPair... keyPairs)
An array of key-value pairs containing information about the key pairs.
|
GetKeyPairsResult |
withNextPageToken(String nextPageToken)
A token used for advancing to the next page of results from your get key pairs request.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<KeyPair> getKeyPairs()
An array of key-value pairs containing information about the key pairs.
public void setKeyPairs(Collection<KeyPair> keyPairs)
An array of key-value pairs containing information about the key pairs.
keyPairs
- An array of key-value pairs containing information about the key pairs.public GetKeyPairsResult withKeyPairs(KeyPair... keyPairs)
An array of key-value pairs containing information about the key pairs.
NOTE: This method appends the values to the existing list (if any). Use
setKeyPairs(java.util.Collection)
or withKeyPairs(java.util.Collection)
if you want to override
the existing values.
keyPairs
- An array of key-value pairs containing information about the key pairs.public GetKeyPairsResult withKeyPairs(Collection<KeyPair> keyPairs)
An array of key-value pairs containing information about the key pairs.
keyPairs
- An array of key-value pairs containing information about the key pairs.public void setNextPageToken(String nextPageToken)
A token used for advancing to the next page of results from your get key pairs request.
nextPageToken
- A token used for advancing to the next page of results from your get key pairs request.public String getNextPageToken()
A token used for advancing to the next page of results from your get key pairs request.
public GetKeyPairsResult withNextPageToken(String nextPageToken)
A token used for advancing to the next page of results from your get key pairs request.
nextPageToken
- A token used for advancing to the next page of results from your get key pairs request.public String toString()
toString
in class Object
Object.toString()
public GetKeyPairsResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.