ContractualRulesLinkAttribution Class
- java.
lang. Object - ContractualRulesContractualRule
- ContractualRulesAttribution
- com.
microsoft. azure. cognitiveservices. search. entitysearch. models. ContractualRulesLinkAttribution
- com.
public class ContractualRulesLinkAttribution extends ContractualRulesAttribution
Defines a contractual rule for link attribution.
Method Summary
Modifier and Type | Method and Description |
---|---|
Boolean |
optionalForListDisplay()
Get the optionalForListDisplay value. |
String |
text()
Get the text value. |
String |
url()
Get the url value. |
Contractual |
withText(String text)
Set the text value. |
Contractual |
withUrl(String url)
Set the url value. |
Inherited Members
Method Details
optionalForListDisplay
public Boolean optionalForListDisplay()
Get the optionalForListDisplay value.
Returns:
text
public String text()
Get the text value.
Returns:
url
public String url()
Get the url value.
Returns:
withText
public ContractualRulesLinkAttribution withText(String text)
Set the text value.
Parameters:
Returns:
withUrl
public ContractualRulesLinkAttribution withUrl(String url)
Set the url value.
Parameters:
Returns:
Applies to
Azure SDK for Java