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