/* * Copyright 2018-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with * the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions * and limitations under the License. */ package com.amazonaws.services.lexmodelsv2.model; import java.io.Serializable; import javax.annotation.Generated; import com.amazonaws.protocol.StructuredPojo; import com.amazonaws.protocol.ProtocolMarshaller; /** *
* An object containing information about a specific utterance. *
* * @see AWS API Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class UtteranceSpecification implements Serializable, Cloneable, StructuredPojo { /** ** The identifier of the alias of the bot that the utterance was made to. *
*/ private String botAliasId; /** ** The version of the bot that the utterance was made to. *
*/ private String botVersion; /** ** The locale of the bot that the utterance was made to. *
*/ private String localeId; /** ** The identifier of the session that the utterance was made in. *
*/ private String sessionId; /** ** The channel that is integrated with the bot that the utterance was made to. *
*/ private String channel; /** ** The mode of the session. The possible values are as follows: *
*
* Speech
– The session consisted of spoken dialogue.
*
* Text
– The session consisted of written dialogue.
*
* DTMF
– The session consisted of touch-tone keypad (Dual Tone Multi-Frequency) key presses.
*
* MultiMode
– The session consisted of multiple modes.
*
* The date and time when the conversation in which the utterance took place began. A conversation is defined as a
* unique combination of a sessionId
and an originatingRequestId
.
*
* The date and time when the conversation in which the utterance took place ended. A conversation is defined as a
* unique combination of a sessionId
and an originatingRequestId
.
*
* The text of the utterance. *
*/ private String utterance; /** ** The date and time when the utterance took place. *
*/ private java.util.Date utteranceTimestamp; /** ** The duration in milliseconds of the audio associated with the utterance. *
*/ private Long audioVoiceDurationMillis; /** ** Specifies whether the bot understood the utterance or not. *
*/ private Boolean utteranceUnderstood; /** ** The input type of the utterance. The possible values are as follows: *
** PCM format: audio data must be in little-endian byte order. *
*
* audio/l16; rate=16000; channels=1
*
* audio/x-l16; sample-rate=16000; channel-count=1
*
* audio/lpcm; sample-rate=8000; sample-size-bits=16; channel-count=1; is-big-endian=false
*
* Opus format *
*
* audio/x-cbr-opus-with-preamble;preamble-size=0;bit-rate=256000;frame-size-milliseconds=4
*
* Text format *
*
* text/plain; charset=utf-8
*
* The output type of the utterance. The possible values are as follows: *
*
* audio/mpeg
*
* audio/ogg
*
* audio/pcm (16 KHz)
*
* audio/
(defaults to mpeg
)
*
* text/plain; charset=utf-8
*
* The name of the intent that the utterance is associated to. *
*/ private String associatedIntentName; /** ** The name of the slot that the utterance is associated to. *
*/ private String associatedSlotName; /** ** The state of the intent that the utterance is associated to. *
*/ private String intentState; /** *
* The type of dialog action that the utterance is associated to. See the type
field in DialogAction for
* more information.
*
* The identifier for the audio of the bot response. *
*/ private String botResponseAudioVoiceId; /** ** The slots that have been filled in the session by the time of the utterance. *
*/ private String slotsFilledInSession; /** ** The identifier of the request associated with the utterance. *
*/ private String utteranceRequestId; /** ** A list of objects containing information about the bot response to the utterance. *
*/ private java.util.List* The identifier of the alias of the bot that the utterance was made to. *
* * @param botAliasId * The identifier of the alias of the bot that the utterance was made to. */ public void setBotAliasId(String botAliasId) { this.botAliasId = botAliasId; } /** ** The identifier of the alias of the bot that the utterance was made to. *
* * @return The identifier of the alias of the bot that the utterance was made to. */ public String getBotAliasId() { return this.botAliasId; } /** ** The identifier of the alias of the bot that the utterance was made to. *
* * @param botAliasId * The identifier of the alias of the bot that the utterance was made to. * @return Returns a reference to this object so that method calls can be chained together. */ public UtteranceSpecification withBotAliasId(String botAliasId) { setBotAliasId(botAliasId); return this; } /** ** The version of the bot that the utterance was made to. *
* * @param botVersion * The version of the bot that the utterance was made to. */ public void setBotVersion(String botVersion) { this.botVersion = botVersion; } /** ** The version of the bot that the utterance was made to. *
* * @return The version of the bot that the utterance was made to. */ public String getBotVersion() { return this.botVersion; } /** ** The version of the bot that the utterance was made to. *
* * @param botVersion * The version of the bot that the utterance was made to. * @return Returns a reference to this object so that method calls can be chained together. */ public UtteranceSpecification withBotVersion(String botVersion) { setBotVersion(botVersion); return this; } /** ** The locale of the bot that the utterance was made to. *
* * @param localeId * The locale of the bot that the utterance was made to. */ public void setLocaleId(String localeId) { this.localeId = localeId; } /** ** The locale of the bot that the utterance was made to. *
* * @return The locale of the bot that the utterance was made to. */ public String getLocaleId() { return this.localeId; } /** ** The locale of the bot that the utterance was made to. *
* * @param localeId * The locale of the bot that the utterance was made to. * @return Returns a reference to this object so that method calls can be chained together. */ public UtteranceSpecification withLocaleId(String localeId) { setLocaleId(localeId); return this; } /** ** The identifier of the session that the utterance was made in. *
* * @param sessionId * The identifier of the session that the utterance was made in. */ public void setSessionId(String sessionId) { this.sessionId = sessionId; } /** ** The identifier of the session that the utterance was made in. *
* * @return The identifier of the session that the utterance was made in. */ public String getSessionId() { return this.sessionId; } /** ** The identifier of the session that the utterance was made in. *
* * @param sessionId * The identifier of the session that the utterance was made in. * @return Returns a reference to this object so that method calls can be chained together. */ public UtteranceSpecification withSessionId(String sessionId) { setSessionId(sessionId); return this; } /** ** The channel that is integrated with the bot that the utterance was made to. *
* * @param channel * The channel that is integrated with the bot that the utterance was made to. */ public void setChannel(String channel) { this.channel = channel; } /** ** The channel that is integrated with the bot that the utterance was made to. *
* * @return The channel that is integrated with the bot that the utterance was made to. */ public String getChannel() { return this.channel; } /** ** The channel that is integrated with the bot that the utterance was made to. *
* * @param channel * The channel that is integrated with the bot that the utterance was made to. * @return Returns a reference to this object so that method calls can be chained together. */ public UtteranceSpecification withChannel(String channel) { setChannel(channel); return this; } /** ** The mode of the session. The possible values are as follows: *
*
* Speech
– The session consisted of spoken dialogue.
*
* Text
– The session consisted of written dialogue.
*
* DTMF
– The session consisted of touch-tone keypad (Dual Tone Multi-Frequency) key presses.
*
* MultiMode
– The session consisted of multiple modes.
*
* Speech
– The session consisted of spoken dialogue.
*
* Text
– The session consisted of written dialogue.
*
* DTMF
– The session consisted of touch-tone keypad (Dual Tone Multi-Frequency) key presses.
*
* MultiMode
– The session consisted of multiple modes.
*
* The mode of the session. The possible values are as follows: *
*
* Speech
– The session consisted of spoken dialogue.
*
* Text
– The session consisted of written dialogue.
*
* DTMF
– The session consisted of touch-tone keypad (Dual Tone Multi-Frequency) key presses.
*
* MultiMode
– The session consisted of multiple modes.
*
* Speech
– The session consisted of spoken dialogue.
*
* Text
– The session consisted of written dialogue.
*
* DTMF
– The session consisted of touch-tone keypad (Dual Tone Multi-Frequency) key presses.
*
* MultiMode
– The session consisted of multiple modes.
*
* The mode of the session. The possible values are as follows: *
*
* Speech
– The session consisted of spoken dialogue.
*
* Text
– The session consisted of written dialogue.
*
* DTMF
– The session consisted of touch-tone keypad (Dual Tone Multi-Frequency) key presses.
*
* MultiMode
– The session consisted of multiple modes.
*
* Speech
– The session consisted of spoken dialogue.
*
* Text
– The session consisted of written dialogue.
*
* DTMF
– The session consisted of touch-tone keypad (Dual Tone Multi-Frequency) key presses.
*
* MultiMode
– The session consisted of multiple modes.
*
* The mode of the session. The possible values are as follows: *
*
* Speech
– The session consisted of spoken dialogue.
*
* Text
– The session consisted of written dialogue.
*
* DTMF
– The session consisted of touch-tone keypad (Dual Tone Multi-Frequency) key presses.
*
* MultiMode
– The session consisted of multiple modes.
*
* Speech
– The session consisted of spoken dialogue.
*
* Text
– The session consisted of written dialogue.
*
* DTMF
– The session consisted of touch-tone keypad (Dual Tone Multi-Frequency) key presses.
*
* MultiMode
– The session consisted of multiple modes.
*
* The date and time when the conversation in which the utterance took place began. A conversation is defined as a
* unique combination of a sessionId
and an originatingRequestId
.
*
sessionId
and an originatingRequestId
.
*/
public void setConversationStartTime(java.util.Date conversationStartTime) {
this.conversationStartTime = conversationStartTime;
}
/**
*
* The date and time when the conversation in which the utterance took place began. A conversation is defined as a
* unique combination of a sessionId
and an originatingRequestId
.
*
sessionId
and an originatingRequestId
.
*/
public java.util.Date getConversationStartTime() {
return this.conversationStartTime;
}
/**
*
* The date and time when the conversation in which the utterance took place began. A conversation is defined as a
* unique combination of a sessionId
and an originatingRequestId
.
*
sessionId
and an originatingRequestId
.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public UtteranceSpecification withConversationStartTime(java.util.Date conversationStartTime) {
setConversationStartTime(conversationStartTime);
return this;
}
/**
*
* The date and time when the conversation in which the utterance took place ended. A conversation is defined as a
* unique combination of a sessionId
and an originatingRequestId
.
*
sessionId
and an originatingRequestId
.
*/
public void setConversationEndTime(java.util.Date conversationEndTime) {
this.conversationEndTime = conversationEndTime;
}
/**
*
* The date and time when the conversation in which the utterance took place ended. A conversation is defined as a
* unique combination of a sessionId
and an originatingRequestId
.
*
sessionId
and an originatingRequestId
.
*/
public java.util.Date getConversationEndTime() {
return this.conversationEndTime;
}
/**
*
* The date and time when the conversation in which the utterance took place ended. A conversation is defined as a
* unique combination of a sessionId
and an originatingRequestId
.
*
sessionId
and an originatingRequestId
.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public UtteranceSpecification withConversationEndTime(java.util.Date conversationEndTime) {
setConversationEndTime(conversationEndTime);
return this;
}
/**
* * The text of the utterance. *
* * @param utterance * The text of the utterance. */ public void setUtterance(String utterance) { this.utterance = utterance; } /** ** The text of the utterance. *
* * @return The text of the utterance. */ public String getUtterance() { return this.utterance; } /** ** The text of the utterance. *
* * @param utterance * The text of the utterance. * @return Returns a reference to this object so that method calls can be chained together. */ public UtteranceSpecification withUtterance(String utterance) { setUtterance(utterance); return this; } /** ** The date and time when the utterance took place. *
* * @param utteranceTimestamp * The date and time when the utterance took place. */ public void setUtteranceTimestamp(java.util.Date utteranceTimestamp) { this.utteranceTimestamp = utteranceTimestamp; } /** ** The date and time when the utterance took place. *
* * @return The date and time when the utterance took place. */ public java.util.Date getUtteranceTimestamp() { return this.utteranceTimestamp; } /** ** The date and time when the utterance took place. *
* * @param utteranceTimestamp * The date and time when the utterance took place. * @return Returns a reference to this object so that method calls can be chained together. */ public UtteranceSpecification withUtteranceTimestamp(java.util.Date utteranceTimestamp) { setUtteranceTimestamp(utteranceTimestamp); return this; } /** ** The duration in milliseconds of the audio associated with the utterance. *
* * @param audioVoiceDurationMillis * The duration in milliseconds of the audio associated with the utterance. */ public void setAudioVoiceDurationMillis(Long audioVoiceDurationMillis) { this.audioVoiceDurationMillis = audioVoiceDurationMillis; } /** ** The duration in milliseconds of the audio associated with the utterance. *
* * @return The duration in milliseconds of the audio associated with the utterance. */ public Long getAudioVoiceDurationMillis() { return this.audioVoiceDurationMillis; } /** ** The duration in milliseconds of the audio associated with the utterance. *
* * @param audioVoiceDurationMillis * The duration in milliseconds of the audio associated with the utterance. * @return Returns a reference to this object so that method calls can be chained together. */ public UtteranceSpecification withAudioVoiceDurationMillis(Long audioVoiceDurationMillis) { setAudioVoiceDurationMillis(audioVoiceDurationMillis); return this; } /** ** Specifies whether the bot understood the utterance or not. *
* * @param utteranceUnderstood * Specifies whether the bot understood the utterance or not. */ public void setUtteranceUnderstood(Boolean utteranceUnderstood) { this.utteranceUnderstood = utteranceUnderstood; } /** ** Specifies whether the bot understood the utterance or not. *
* * @return Specifies whether the bot understood the utterance or not. */ public Boolean getUtteranceUnderstood() { return this.utteranceUnderstood; } /** ** Specifies whether the bot understood the utterance or not. *
* * @param utteranceUnderstood * Specifies whether the bot understood the utterance or not. * @return Returns a reference to this object so that method calls can be chained together. */ public UtteranceSpecification withUtteranceUnderstood(Boolean utteranceUnderstood) { setUtteranceUnderstood(utteranceUnderstood); return this; } /** ** Specifies whether the bot understood the utterance or not. *
* * @return Specifies whether the bot understood the utterance or not. */ public Boolean isUtteranceUnderstood() { return this.utteranceUnderstood; } /** ** The input type of the utterance. The possible values are as follows: *
** PCM format: audio data must be in little-endian byte order. *
*
* audio/l16; rate=16000; channels=1
*
* audio/x-l16; sample-rate=16000; channel-count=1
*
* audio/lpcm; sample-rate=8000; sample-size-bits=16; channel-count=1; is-big-endian=false
*
* Opus format *
*
* audio/x-cbr-opus-with-preamble;preamble-size=0;bit-rate=256000;frame-size-milliseconds=4
*
* Text format *
*
* text/plain; charset=utf-8
*
* PCM format: audio data must be in little-endian byte order. *
*
* audio/l16; rate=16000; channels=1
*
* audio/x-l16; sample-rate=16000; channel-count=1
*
* audio/lpcm; sample-rate=8000; sample-size-bits=16; channel-count=1; is-big-endian=false
*
* Opus format *
*
* audio/x-cbr-opus-with-preamble;preamble-size=0;bit-rate=256000;frame-size-milliseconds=4
*
* Text format *
*
* text/plain; charset=utf-8
*
* The input type of the utterance. The possible values are as follows: *
** PCM format: audio data must be in little-endian byte order. *
*
* audio/l16; rate=16000; channels=1
*
* audio/x-l16; sample-rate=16000; channel-count=1
*
* audio/lpcm; sample-rate=8000; sample-size-bits=16; channel-count=1; is-big-endian=false
*
* Opus format *
*
* audio/x-cbr-opus-with-preamble;preamble-size=0;bit-rate=256000;frame-size-milliseconds=4
*
* Text format *
*
* text/plain; charset=utf-8
*
* PCM format: audio data must be in little-endian byte order. *
*
* audio/l16; rate=16000; channels=1
*
* audio/x-l16; sample-rate=16000; channel-count=1
*
* audio/lpcm; sample-rate=8000; sample-size-bits=16; channel-count=1; is-big-endian=false
*
* Opus format *
*
* audio/x-cbr-opus-with-preamble;preamble-size=0;bit-rate=256000;frame-size-milliseconds=4
*
* Text format *
*
* text/plain; charset=utf-8
*
* The input type of the utterance. The possible values are as follows: *
** PCM format: audio data must be in little-endian byte order. *
*
* audio/l16; rate=16000; channels=1
*
* audio/x-l16; sample-rate=16000; channel-count=1
*
* audio/lpcm; sample-rate=8000; sample-size-bits=16; channel-count=1; is-big-endian=false
*
* Opus format *
*
* audio/x-cbr-opus-with-preamble;preamble-size=0;bit-rate=256000;frame-size-milliseconds=4
*
* Text format *
*
* text/plain; charset=utf-8
*
* PCM format: audio data must be in little-endian byte order. *
*
* audio/l16; rate=16000; channels=1
*
* audio/x-l16; sample-rate=16000; channel-count=1
*
* audio/lpcm; sample-rate=8000; sample-size-bits=16; channel-count=1; is-big-endian=false
*
* Opus format *
*
* audio/x-cbr-opus-with-preamble;preamble-size=0;bit-rate=256000;frame-size-milliseconds=4
*
* Text format *
*
* text/plain; charset=utf-8
*
* The output type of the utterance. The possible values are as follows: *
*
* audio/mpeg
*
* audio/ogg
*
* audio/pcm (16 KHz)
*
* audio/
(defaults to mpeg
)
*
* text/plain; charset=utf-8
*
* audio/mpeg
*
* audio/ogg
*
* audio/pcm (16 KHz)
*
* audio/
(defaults to mpeg
)
*
* text/plain; charset=utf-8
*
* The output type of the utterance. The possible values are as follows: *
*
* audio/mpeg
*
* audio/ogg
*
* audio/pcm (16 KHz)
*
* audio/
(defaults to mpeg
)
*
* text/plain; charset=utf-8
*
* audio/mpeg
*
* audio/ogg
*
* audio/pcm (16 KHz)
*
* audio/
(defaults to mpeg
)
*
* text/plain; charset=utf-8
*
* The output type of the utterance. The possible values are as follows: *
*
* audio/mpeg
*
* audio/ogg
*
* audio/pcm (16 KHz)
*
* audio/
(defaults to mpeg
)
*
* text/plain; charset=utf-8
*
* audio/mpeg
*
* audio/ogg
*
* audio/pcm (16 KHz)
*
* audio/
(defaults to mpeg
)
*
* text/plain; charset=utf-8
*
* The name of the intent that the utterance is associated to. *
* * @param associatedIntentName * The name of the intent that the utterance is associated to. */ public void setAssociatedIntentName(String associatedIntentName) { this.associatedIntentName = associatedIntentName; } /** ** The name of the intent that the utterance is associated to. *
* * @return The name of the intent that the utterance is associated to. */ public String getAssociatedIntentName() { return this.associatedIntentName; } /** ** The name of the intent that the utterance is associated to. *
* * @param associatedIntentName * The name of the intent that the utterance is associated to. * @return Returns a reference to this object so that method calls can be chained together. */ public UtteranceSpecification withAssociatedIntentName(String associatedIntentName) { setAssociatedIntentName(associatedIntentName); return this; } /** ** The name of the slot that the utterance is associated to. *
* * @param associatedSlotName * The name of the slot that the utterance is associated to. */ public void setAssociatedSlotName(String associatedSlotName) { this.associatedSlotName = associatedSlotName; } /** ** The name of the slot that the utterance is associated to. *
* * @return The name of the slot that the utterance is associated to. */ public String getAssociatedSlotName() { return this.associatedSlotName; } /** ** The name of the slot that the utterance is associated to. *
* * @param associatedSlotName * The name of the slot that the utterance is associated to. * @return Returns a reference to this object so that method calls can be chained together. */ public UtteranceSpecification withAssociatedSlotName(String associatedSlotName) { setAssociatedSlotName(associatedSlotName); return this; } /** ** The state of the intent that the utterance is associated to. *
* * @param intentState * The state of the intent that the utterance is associated to. * @see IntentState */ public void setIntentState(String intentState) { this.intentState = intentState; } /** ** The state of the intent that the utterance is associated to. *
* * @return The state of the intent that the utterance is associated to. * @see IntentState */ public String getIntentState() { return this.intentState; } /** ** The state of the intent that the utterance is associated to. *
* * @param intentState * The state of the intent that the utterance is associated to. * @return Returns a reference to this object so that method calls can be chained together. * @see IntentState */ public UtteranceSpecification withIntentState(String intentState) { setIntentState(intentState); return this; } /** ** The state of the intent that the utterance is associated to. *
* * @param intentState * The state of the intent that the utterance is associated to. * @return Returns a reference to this object so that method calls can be chained together. * @see IntentState */ public UtteranceSpecification withIntentState(IntentState intentState) { this.intentState = intentState.toString(); return this; } /** *
* The type of dialog action that the utterance is associated to. See the type
field in DialogAction for
* more information.
*
type
field in DialogAction for more information.
*/
public void setDialogActionType(String dialogActionType) {
this.dialogActionType = dialogActionType;
}
/**
*
* The type of dialog action that the utterance is associated to. See the type
field in DialogAction for
* more information.
*
type
field in DialogAction
* for more information.
*/
public String getDialogActionType() {
return this.dialogActionType;
}
/**
*
* The type of dialog action that the utterance is associated to. See the type
field in DialogAction for
* more information.
*
type
field in DialogAction for more information.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public UtteranceSpecification withDialogActionType(String dialogActionType) {
setDialogActionType(dialogActionType);
return this;
}
/**
* * The identifier for the audio of the bot response. *
* * @param botResponseAudioVoiceId * The identifier for the audio of the bot response. */ public void setBotResponseAudioVoiceId(String botResponseAudioVoiceId) { this.botResponseAudioVoiceId = botResponseAudioVoiceId; } /** ** The identifier for the audio of the bot response. *
* * @return The identifier for the audio of the bot response. */ public String getBotResponseAudioVoiceId() { return this.botResponseAudioVoiceId; } /** ** The identifier for the audio of the bot response. *
* * @param botResponseAudioVoiceId * The identifier for the audio of the bot response. * @return Returns a reference to this object so that method calls can be chained together. */ public UtteranceSpecification withBotResponseAudioVoiceId(String botResponseAudioVoiceId) { setBotResponseAudioVoiceId(botResponseAudioVoiceId); return this; } /** ** The slots that have been filled in the session by the time of the utterance. *
* * @param slotsFilledInSession * The slots that have been filled in the session by the time of the utterance. */ public void setSlotsFilledInSession(String slotsFilledInSession) { this.slotsFilledInSession = slotsFilledInSession; } /** ** The slots that have been filled in the session by the time of the utterance. *
* * @return The slots that have been filled in the session by the time of the utterance. */ public String getSlotsFilledInSession() { return this.slotsFilledInSession; } /** ** The slots that have been filled in the session by the time of the utterance. *
* * @param slotsFilledInSession * The slots that have been filled in the session by the time of the utterance. * @return Returns a reference to this object so that method calls can be chained together. */ public UtteranceSpecification withSlotsFilledInSession(String slotsFilledInSession) { setSlotsFilledInSession(slotsFilledInSession); return this; } /** ** The identifier of the request associated with the utterance. *
* * @param utteranceRequestId * The identifier of the request associated with the utterance. */ public void setUtteranceRequestId(String utteranceRequestId) { this.utteranceRequestId = utteranceRequestId; } /** ** The identifier of the request associated with the utterance. *
* * @return The identifier of the request associated with the utterance. */ public String getUtteranceRequestId() { return this.utteranceRequestId; } /** ** The identifier of the request associated with the utterance. *
* * @param utteranceRequestId * The identifier of the request associated with the utterance. * @return Returns a reference to this object so that method calls can be chained together. */ public UtteranceSpecification withUtteranceRequestId(String utteranceRequestId) { setUtteranceRequestId(utteranceRequestId); return this; } /** ** A list of objects containing information about the bot response to the utterance. *
* * @return A list of objects containing information about the bot response to the utterance. */ public java.util.List* A list of objects containing information about the bot response to the utterance. *
* * @param botResponses * A list of objects containing information about the bot response to the utterance. */ public void setBotResponses(java.util.Collection* A list of objects containing information about the bot response to the utterance. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setBotResponses(java.util.Collection)} or {@link #withBotResponses(java.util.Collection)} if you want to * override the existing values. *
* * @param botResponses * A list of objects containing information about the bot response to the utterance. * @return Returns a reference to this object so that method calls can be chained together. */ public UtteranceSpecification withBotResponses(UtteranceBotResponse... botResponses) { if (this.botResponses == null) { setBotResponses(new java.util.ArrayList* A list of objects containing information about the bot response to the utterance. *
* * @param botResponses * A list of objects containing information about the bot response to the utterance. * @return Returns a reference to this object so that method calls can be chained together. */ public UtteranceSpecification withBotResponses(java.util.Collection