public final class ProductLink extends Object
| Constructor and Description |
|---|
ProductLink() |
| Modifier and Type | Method and Description |
|---|---|
String |
displayName()
Get the displayName property: The description of the link.
|
String |
uri()
Get the uri property: The URI corresponding to the link.
|
void |
validate()
Validates the instance.
|
ProductLink |
withDisplayName(String displayName)
Set the displayName property: The description of the link.
|
ProductLink |
withUri(String uri)
Set the uri property: The URI corresponding to the link.
|
public String displayName()
public ProductLink withDisplayName(String displayName)
displayName - the displayName value to set.public String uri()
public ProductLink withUri(String uri)
uri - the uri value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.