@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListIntentMetricsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListIntentMetricsResult() |
Modifier and Type | Method and Description |
---|---|
ListIntentMetricsResult |
clone() |
boolean |
equals(Object obj) |
String |
getBotId()
The identifier for the bot for which you retrieved intent metrics.
|
String |
getNextToken()
If the response from the ListIntentMetrics operation contains more results than specified in the maxResults
parameter, a token is returned in the response.
|
List<AnalyticsIntentResult> |
getResults()
The results for the intent metrics.
|
int |
hashCode() |
void |
setBotId(String botId)
The identifier for the bot for which you retrieved intent metrics.
|
void |
setNextToken(String nextToken)
If the response from the ListIntentMetrics operation contains more results than specified in the maxResults
parameter, a token is returned in the response.
|
void |
setResults(Collection<AnalyticsIntentResult> results)
The results for the intent metrics.
|
String |
toString()
Returns a string representation of this object.
|
ListIntentMetricsResult |
withBotId(String botId)
The identifier for the bot for which you retrieved intent metrics.
|
ListIntentMetricsResult |
withNextToken(String nextToken)
If the response from the ListIntentMetrics operation contains more results than specified in the maxResults
parameter, a token is returned in the response.
|
ListIntentMetricsResult |
withResults(AnalyticsIntentResult... results)
The results for the intent metrics.
|
ListIntentMetricsResult |
withResults(Collection<AnalyticsIntentResult> results)
The results for the intent metrics.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setBotId(String botId)
The identifier for the bot for which you retrieved intent metrics.
botId
- The identifier for the bot for which you retrieved intent metrics.public String getBotId()
The identifier for the bot for which you retrieved intent metrics.
public ListIntentMetricsResult withBotId(String botId)
The identifier for the bot for which you retrieved intent metrics.
botId
- The identifier for the bot for which you retrieved intent metrics.public List<AnalyticsIntentResult> getResults()
The results for the intent metrics.
public void setResults(Collection<AnalyticsIntentResult> results)
The results for the intent metrics.
results
- The results for the intent metrics.public ListIntentMetricsResult withResults(AnalyticsIntentResult... results)
The results for the intent metrics.
NOTE: This method appends the values to the existing list (if any). Use
setResults(java.util.Collection)
or withResults(java.util.Collection)
if you want to override
the existing values.
results
- The results for the intent metrics.public ListIntentMetricsResult withResults(Collection<AnalyticsIntentResult> results)
The results for the intent metrics.
results
- The results for the intent metrics.public void setNextToken(String nextToken)
If the response from the ListIntentMetrics operation contains more results than specified in the maxResults parameter, a token is returned in the response.
Use the returned token in the nextToken parameter of a ListIntentMetrics request to return the next page of results. For a complete set of results, call the ListIntentMetrics operation until the nextToken returned in the response is null.
nextToken
- If the response from the ListIntentMetrics operation contains more results than specified in the
maxResults parameter, a token is returned in the response.
Use the returned token in the nextToken parameter of a ListIntentMetrics request to return the next page of results. For a complete set of results, call the ListIntentMetrics operation until the nextToken returned in the response is null.
public String getNextToken()
If the response from the ListIntentMetrics operation contains more results than specified in the maxResults parameter, a token is returned in the response.
Use the returned token in the nextToken parameter of a ListIntentMetrics request to return the next page of results. For a complete set of results, call the ListIntentMetrics operation until the nextToken returned in the response is null.
Use the returned token in the nextToken parameter of a ListIntentMetrics request to return the next page of results. For a complete set of results, call the ListIntentMetrics operation until the nextToken returned in the response is null.
public ListIntentMetricsResult withNextToken(String nextToken)
If the response from the ListIntentMetrics operation contains more results than specified in the maxResults parameter, a token is returned in the response.
Use the returned token in the nextToken parameter of a ListIntentMetrics request to return the next page of results. For a complete set of results, call the ListIntentMetrics operation until the nextToken returned in the response is null.
nextToken
- If the response from the ListIntentMetrics operation contains more results than specified in the
maxResults parameter, a token is returned in the response.
Use the returned token in the nextToken parameter of a ListIntentMetrics request to return the next page of results. For a complete set of results, call the ListIntentMetrics operation until the nextToken returned in the response is null.
public String toString()
toString
in class Object
Object.toString()
public ListIntentMetricsResult clone()