@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UserTurnOutputSpecification extends Object implements Serializable, Cloneable, StructuredPojo
Contains results that are output for the user turn by the test execution.
Constructor and Description |
---|
UserTurnOutputSpecification() |
Modifier and Type | Method and Description |
---|---|
UserTurnOutputSpecification |
clone() |
boolean |
equals(Object obj) |
List<ActiveContext> |
getActiveContexts()
The contexts that are active in the turn.
|
UserTurnIntentOutput |
getIntent()
Contains information about the intent.
|
String |
getTranscript()
The transcript that is output for the user turn by the test execution.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setActiveContexts(Collection<ActiveContext> activeContexts)
The contexts that are active in the turn.
|
void |
setIntent(UserTurnIntentOutput intent)
Contains information about the intent.
|
void |
setTranscript(String transcript)
The transcript that is output for the user turn by the test execution.
|
String |
toString()
Returns a string representation of this object.
|
UserTurnOutputSpecification |
withActiveContexts(ActiveContext... activeContexts)
The contexts that are active in the turn.
|
UserTurnOutputSpecification |
withActiveContexts(Collection<ActiveContext> activeContexts)
The contexts that are active in the turn.
|
UserTurnOutputSpecification |
withIntent(UserTurnIntentOutput intent)
Contains information about the intent.
|
UserTurnOutputSpecification |
withTranscript(String transcript)
The transcript that is output for the user turn by the test execution.
|
public void setIntent(UserTurnIntentOutput intent)
Contains information about the intent.
intent
- Contains information about the intent.public UserTurnIntentOutput getIntent()
Contains information about the intent.
public UserTurnOutputSpecification withIntent(UserTurnIntentOutput intent)
Contains information about the intent.
intent
- Contains information about the intent.public List<ActiveContext> getActiveContexts()
The contexts that are active in the turn.
public void setActiveContexts(Collection<ActiveContext> activeContexts)
The contexts that are active in the turn.
activeContexts
- The contexts that are active in the turn.public UserTurnOutputSpecification withActiveContexts(ActiveContext... activeContexts)
The contexts that are active in the turn.
NOTE: This method appends the values to the existing list (if any). Use
setActiveContexts(java.util.Collection)
or withActiveContexts(java.util.Collection)
if you want
to override the existing values.
activeContexts
- The contexts that are active in the turn.public UserTurnOutputSpecification withActiveContexts(Collection<ActiveContext> activeContexts)
The contexts that are active in the turn.
activeContexts
- The contexts that are active in the turn.public void setTranscript(String transcript)
The transcript that is output for the user turn by the test execution.
transcript
- The transcript that is output for the user turn by the test execution.public String getTranscript()
The transcript that is output for the user turn by the test execution.
public UserTurnOutputSpecification withTranscript(String transcript)
The transcript that is output for the user turn by the test execution.
transcript
- The transcript that is output for the user turn by the test execution.public String toString()
toString
in class Object
Object.toString()
public UserTurnOutputSpecification clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.