### YamlMime:JavaType uid: "com.azure.ai.textanalytics.models.AnalyzeSentimentOptions" fullName: "com.azure.ai.textanalytics.models.AnalyzeSentimentOptions" name: "AnalyzeSentimentOptions" nameWithType: "AnalyzeSentimentOptions" summary: "The `AnalyzeSentimentOptions` model." inheritances: - "" - "" inheritedClassMethods: - classRef: "" methodsRef: - "" - "" - "" - "" - "" - "" - classRef: "java.lang.Object" methodsRef: - "clone" - "equals" - "finalize" - "getClass" - "hashCode" - "notify" - "notifyAll" - "toString" - "wait" - "wait" - "wait" syntax: "public final class **AnalyzeSentimentOptions**
extends " constructors: - uid: "com.azure.ai.textanalytics.models.AnalyzeSentimentOptions.AnalyzeSentimentOptions()" fullName: "com.azure.ai.textanalytics.models.AnalyzeSentimentOptions.AnalyzeSentimentOptions()" name: "AnalyzeSentimentOptions()" nameWithType: "AnalyzeSentimentOptions.AnalyzeSentimentOptions()" summary: "Constructs a `AnalyzeSentimentOptions` model." syntax: "public AnalyzeSentimentOptions()" desc: "Constructs a `AnalyzeSentimentOptions` model." methods: - uid: "com.azure.ai.textanalytics.models.AnalyzeSentimentOptions.isIncludeOpinionMining()" fullName: "com.azure.ai.textanalytics.models.AnalyzeSentimentOptions.isIncludeOpinionMining()" name: "isIncludeOpinionMining()" nameWithType: "AnalyzeSentimentOptions.isIncludeOpinionMining()" summary: "Gets the value of `includeOpinionMining`." syntax: "public boolean isIncludeOpinionMining()" desc: "Gets the value of `includeOpinionMining`. The boolean indicator to include opinion mining data in the returned result. If this flag is specified, you'll get a `opinions` property on SentenceSentiment. It is provided by service v3.1 and later." returns: description: "The value of includeOpinionMining." type: "" - uid: "com.azure.ai.textanalytics.models.AnalyzeSentimentOptions.setIncludeOpinionMining(boolean)" fullName: "com.azure.ai.textanalytics.models.AnalyzeSentimentOptions.setIncludeOpinionMining(boolean includeOpinionMining)" name: "setIncludeOpinionMining(boolean includeOpinionMining)" nameWithType: "AnalyzeSentimentOptions.setIncludeOpinionMining(boolean includeOpinionMining)" summary: "Sets the value of `includeOpinionMining`." parameters: - description: "The boolean indicator to include opinion mining data in the returned result." name: "includeOpinionMining" type: "" syntax: "public AnalyzeSentimentOptions setIncludeOpinionMining(boolean includeOpinionMining)" desc: "Sets the value of `includeOpinionMining`. The boolean indicator to include opinion mining data in the returned result. If this flag is specified, you'll get a `opinions` property on SentenceSentiment. It is provided by service v3.1 and later." returns: description: "The AnalyzeSentimentOptions object itself." type: "" - uid: "com.azure.ai.textanalytics.models.AnalyzeSentimentOptions.setIncludeStatistics(boolean)" fullName: "com.azure.ai.textanalytics.models.AnalyzeSentimentOptions.setIncludeStatistics(boolean includeStatistics)" name: "setIncludeStatistics(boolean includeStatistics)" nameWithType: "AnalyzeSentimentOptions.setIncludeStatistics(boolean includeStatistics)" summary: "Sets the value of `includeStatistics`." overridden: "com.azure.ai.textanalytics.models.TextAnalyticsRequestOptions.setIncludeStatistics(boolean)" parameters: - description: "If a boolean value was specified in the request this field will contain\n information about the document payload." name: "includeStatistics" type: "" syntax: "public AnalyzeSentimentOptions setIncludeStatistics(boolean includeStatistics)" desc: "Sets the value of `includeStatistics`. The default value is false by default. If set to true, indicates that the service should return document and document batch statistics with the results of the operation." returns: description: "The AnalyzeSentimentOptions object itself." type: "" - uid: "com.azure.ai.textanalytics.models.AnalyzeSentimentOptions.setModelVersion(java.lang.String)" fullName: "com.azure.ai.textanalytics.models.AnalyzeSentimentOptions.setModelVersion(String modelVersion)" name: "setModelVersion(String modelVersion)" nameWithType: "AnalyzeSentimentOptions.setModelVersion(String modelVersion)" summary: "Sets the model version." overridden: "com.azure.ai.textanalytics.models.TextAnalyticsRequestOptions.setModelVersion(java.lang.String)" parameters: - description: "The model version." name: "modelVersion" type: "String" syntax: "public AnalyzeSentimentOptions setModelVersion(String modelVersion)" desc: "Sets the model version. This value indicates which model will be used for scoring, e.g. \"latest\", \"2019-10-01\". If a model-version is not specified, the API will default to the latest, non-preview version." returns: description: "The AnalyzeSentimentOptions object itself." type: "" - uid: "com.azure.ai.textanalytics.models.AnalyzeSentimentOptions.setServiceLogsDisabled(boolean)" fullName: "com.azure.ai.textanalytics.models.AnalyzeSentimentOptions.setServiceLogsDisabled(boolean disableServiceLogs)" name: "setServiceLogsDisabled(boolean disableServiceLogs)" nameWithType: "AnalyzeSentimentOptions.setServiceLogsDisabled(boolean disableServiceLogs)" summary: "Sets the value of service logs disable status." overridden: "com.azure.ai.textanalytics.models.TextAnalyticsRequestOptions.setServiceLogsDisabled(boolean)" parameters: - description: "The default value of this property is 'false', except for methods like\n 'beginAnalyzeHealthcareEntities' and 'recognizePiiEntities'. This means, Text Analytics service logs\n your input text for 48 hours, solely to allow for troubleshooting issues. Setting this property to true,\n disables input logging and may limit our ability to investigate issues that occur." name: "disableServiceLogs" type: "" syntax: "public AnalyzeSentimentOptions setServiceLogsDisabled(boolean disableServiceLogs)" desc: "Sets the value of service logs disable status." returns: description: "The AnalyzeSentimentOptions object itself." type: "" type: "class" desc: "The `AnalyzeSentimentOptions` model." metadata: {} package: "com.azure.ai.textanalytics.models" artifact: com.azure:azure-ai-textanalytics:5.5.3