ContractualRulesTextAttribution Class
- java.
lang. Object - ContractualRulesContractualRule
- ContractualRulesAttribution
- com.
microsoft. azure. cognitiveservices. search. entitysearch. models. ContractualRulesTextAttribution
- com.
public class ContractualRulesTextAttribution extends ContractualRulesAttribution
Defines a contractual rule for text attribution.
Method Summary
Modifier and Type | Method and Description |
---|---|
Boolean |
optionalForListDisplay()
Get the optionalForListDisplay value. |
String |
text()
Get the text value. |
Contractual |
withText(String text)
Set the text value. |
Inherited Members
ContractualRulesAttribution.mustBeCloseToContent()
ContractualRulesContractualRule.targetPropertyName()
Method Details
optionalForListDisplay
public Boolean optionalForListDisplay()
Get the optionalForListDisplay value.
Returns:
the optionalForListDisplay value
text
public String text()
Get the text value.
Returns:
the text value
withText
public ContractualRulesTextAttribution withText(String text)
Set the text value.
Parameters:
text
- the text value to set
Returns:
the ContractualRulesTextAttribution object itself.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for