Class ProductLink
java.lang.Object
com.azure.resourcemanager.azurestack.models.ProductLink
Link with additional information about a product.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the displayName property: The description of the link.uri()
Get the uri property: The URI corresponding to the link.void
validate()
Validates the instance.withDisplayName
(String displayName) Set the displayName property: The description of the link.Set the uri property: The URI corresponding to the link.
-
Constructor Details
-
ProductLink
public ProductLink()Creates an instance of ProductLink class.
-
-
Method Details
-
displayName
Get the displayName property: The description of the link.- Returns:
- the displayName value.
-
withDisplayName
Set the displayName property: The description of the link.- Parameters:
displayName
- the displayName value to set.- Returns:
- the ProductLink object itself.
-
uri
Get the uri property: The URI corresponding to the link.- Returns:
- the uri value.
-
withUri
Set the uri property: The URI corresponding to the link.- Parameters:
uri
- the uri value to set.- Returns:
- the ProductLink object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-