@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListPlaybackKeyPairsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListPlaybackKeyPairsResult() |
Modifier and Type | Method and Description |
---|---|
ListPlaybackKeyPairsResult |
clone() |
boolean |
equals(Object obj) |
List<PlaybackKeyPairSummary> |
getKeyPairs()
List of key pairs.
|
String |
getNextToken()
If there are more key pairs than
maxResults , use nextToken in the request to get the
next set. |
int |
hashCode() |
void |
setKeyPairs(Collection<PlaybackKeyPairSummary> keyPairs)
List of key pairs.
|
void |
setNextToken(String nextToken)
If there are more key pairs than
maxResults , use nextToken in the request to get the
next set. |
String |
toString()
Returns a string representation of this object.
|
ListPlaybackKeyPairsResult |
withKeyPairs(Collection<PlaybackKeyPairSummary> keyPairs)
List of key pairs.
|
ListPlaybackKeyPairsResult |
withKeyPairs(PlaybackKeyPairSummary... keyPairs)
List of key pairs.
|
ListPlaybackKeyPairsResult |
withNextToken(String nextToken)
If there are more key pairs than
maxResults , use nextToken in the request to get the
next set. |
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<PlaybackKeyPairSummary> getKeyPairs()
List of key pairs.
public void setKeyPairs(Collection<PlaybackKeyPairSummary> keyPairs)
List of key pairs.
keyPairs
- List of key pairs.public ListPlaybackKeyPairsResult withKeyPairs(PlaybackKeyPairSummary... keyPairs)
List of 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
- List of key pairs.public ListPlaybackKeyPairsResult withKeyPairs(Collection<PlaybackKeyPairSummary> keyPairs)
List of key pairs.
keyPairs
- List of key pairs.public void setNextToken(String nextToken)
If there are more key pairs than maxResults
, use nextToken
in the request to get the
next set.
nextToken
- If there are more key pairs than maxResults
, use nextToken
in the request to get
the next set.public String getNextToken()
If there are more key pairs than maxResults
, use nextToken
in the request to get the
next set.
maxResults
, use nextToken
in the request to
get the next set.public ListPlaybackKeyPairsResult withNextToken(String nextToken)
If there are more key pairs than maxResults
, use nextToken
in the request to get the
next set.
nextToken
- If there are more key pairs than maxResults
, use nextToken
in the request to get
the next set.public String toString()
toString
in class Object
Object.toString()
public ListPlaybackKeyPairsResult clone()