ContractualRulesLinkAttribution Class
- java.
lang. Object - com.
microsoft. azure. cognitiveservices. search. entitysearch. models. ContractualRulesContractualRule - com.
microsoft. azure. cognitiveservices. search. entitysearch. models. ContractualRulesAttribution - com.
microsoft. azure. cognitiveservices. search. entitysearch. models. ContractualRulesLinkAttribution
- com.
- com.
- com.
public class ContractualRulesLinkAttribution
extends ContractualRulesAttribution
Defines a contractual rule for link attribution.
Constructor Summary
Constructor | Description | |
---|---|---|
ContractualRulesLinkAttribution() |
Method Summary
Modifier and Type | Method and Description |
---|---|
java.lang.Boolean |
optionalForListDisplay()
Get the optional |
java.lang.String |
text()
Get the text value. |
java.lang.String |
url()
Get the url value. |
Contractual |
withText(String text)
Set the text value. |
Contractual |
withUrl(String url)
Set the url value. |
Methods inherited from ContractualRulesAttribution
Methods inherited from ContractualRulesContractualRule
Methods inherited from java.lang.Object
Constructor Details
ContractualRulesLinkAttribution
public ContractualRulesLinkAttribution()
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