ProductLink Class
- java.
lang. Object - com.
azure. resourcemanager. azurestack. models. ProductLink
- com.
Implements
public final class ProductLink
implements JsonSerializable<ProductLink>
Link with additional information about a product.
Constructor Summary
| Constructor | Description |
|---|---|
| ProductLink() |
Creates an instance of Product |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
displayName()
Get the display |
|
static
Product |
fromJson(JsonReader jsonReader)
Reads an instance of Product |
|
Json |
toJson(JsonWriter jsonWriter) |
| String |
uri()
Get the uri property: The URI corresponding to the link. |
| void |
validate()
Validates the instance. |
|
Product |
withDisplayName(String displayName)
Set the display |
|
Product |
withUri(String uri)
Set the uri property: The URI corresponding to the link. |
Methods inherited from java.lang.Object
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:
fromJson
public static ProductLink fromJson(JsonReader jsonReader)
Reads an instance of ProductLink from the JsonReader.
Parameters:
Returns:
Throws:
toJson
uri
public String uri()
Get the uri property: The URI corresponding to the link.
Returns:
validate
public void validate()
Validates the instance.
withDisplayName
public ProductLink withDisplayName(String displayName)
Set the displayName property: The description of the link.
Parameters:
Returns:
withUri
public ProductLink withUri(String uri)
Set the uri property: The URI corresponding to the link.
Parameters:
Returns: