@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SentimentAnalysisSettings extends Object implements Serializable, Cloneable, StructuredPojo
Determines whether Amazon Lex will use Amazon Comprehend to detect the sentiment of user utterances.
Constructor and Description |
---|
SentimentAnalysisSettings() |
Modifier and Type | Method and Description |
---|---|
SentimentAnalysisSettings |
clone() |
boolean |
equals(Object obj) |
Boolean |
getDetectSentiment()
Sets whether Amazon Lex uses Amazon Comprehend to detect the sentiment of user utterances.
|
int |
hashCode() |
Boolean |
isDetectSentiment()
Sets whether Amazon Lex uses Amazon Comprehend to detect the sentiment of user utterances.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDetectSentiment(Boolean detectSentiment)
Sets whether Amazon Lex uses Amazon Comprehend to detect the sentiment of user utterances.
|
String |
toString()
Returns a string representation of this object.
|
SentimentAnalysisSettings |
withDetectSentiment(Boolean detectSentiment)
Sets whether Amazon Lex uses Amazon Comprehend to detect the sentiment of user utterances.
|
public void setDetectSentiment(Boolean detectSentiment)
Sets whether Amazon Lex uses Amazon Comprehend to detect the sentiment of user utterances.
detectSentiment
- Sets whether Amazon Lex uses Amazon Comprehend to detect the sentiment of user utterances.public Boolean getDetectSentiment()
Sets whether Amazon Lex uses Amazon Comprehend to detect the sentiment of user utterances.
public SentimentAnalysisSettings withDetectSentiment(Boolean detectSentiment)
Sets whether Amazon Lex uses Amazon Comprehend to detect the sentiment of user utterances.
detectSentiment
- Sets whether Amazon Lex uses Amazon Comprehend to detect the sentiment of user utterances.public Boolean isDetectSentiment()
Sets whether Amazon Lex uses Amazon Comprehend to detect the sentiment of user utterances.
public String toString()
toString
in class Object
Object.toString()
public SentimentAnalysisSettings clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.