Class ProductLink

java.lang.Object
com.azure.resourcemanager.azurestack.models.ProductLink

public final class ProductLink extends Object
Link with additional information about a product.
  • Constructor Details

    • ProductLink

      public ProductLink()
      Creates an instance of ProductLink class.
  • Method Details

    • displayName

      public String displayName()
      Get the displayName property: The description of the link.
      Returns:
      the displayName value.
    • withDisplayName

      public ProductLink withDisplayName(String displayName)
      Set the displayName property: The description of the link.
      Parameters:
      displayName - the displayName value to set.
      Returns:
      the ProductLink object itself.
    • uri

      public String uri()
      Get the uri property: The URI corresponding to the link.
      Returns:
      the uri value.
    • withUri

      public ProductLink withUri(String uri)
      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.