@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeVoicesResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
DescribeVoicesResult() |
Modifier and Type | Method and Description |
---|---|
DescribeVoicesResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
The pagination token to use in the next request to continue the listing of voices.
|
List<Voice> |
getVoices()
A list of voices with their properties.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
The pagination token to use in the next request to continue the listing of voices.
|
void |
setVoices(Collection<Voice> voices)
A list of voices with their properties.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
DescribeVoicesResult |
withNextToken(String nextToken)
The pagination token to use in the next request to continue the listing of voices.
|
DescribeVoicesResult |
withVoices(Collection<Voice> voices)
A list of voices with their properties.
|
DescribeVoicesResult |
withVoices(Voice... voices)
A list of voices with their properties.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<Voice> getVoices()
A list of voices with their properties.
public void setVoices(Collection<Voice> voices)
A list of voices with their properties.
voices
- A list of voices with their properties.public DescribeVoicesResult withVoices(Voice... voices)
A list of voices with their properties.
NOTE: This method appends the values to the existing list (if any). Use
setVoices(java.util.Collection)
or withVoices(java.util.Collection)
if you want to override the
existing values.
voices
- A list of voices with their properties.public DescribeVoicesResult withVoices(Collection<Voice> voices)
A list of voices with their properties.
voices
- A list of voices with their properties.public void setNextToken(String nextToken)
The pagination token to use in the next request to continue the listing of voices. NextToken
is
returned only if the response is truncated.
nextToken
- The pagination token to use in the next request to continue the listing of voices. NextToken
is returned only if the response is truncated.public String getNextToken()
The pagination token to use in the next request to continue the listing of voices. NextToken
is
returned only if the response is truncated.
NextToken
is returned only if the response is truncated.public DescribeVoicesResult withNextToken(String nextToken)
The pagination token to use in the next request to continue the listing of voices. NextToken
is
returned only if the response is truncated.
nextToken
- The pagination token to use in the next request to continue the listing of voices. NextToken
is returned only if the response is truncated.public String toString()
toString
in class Object
Object.toString()
public DescribeVoicesResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.