ProductLink Class

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

public final class ProductLink

Link with additional information about a product.

Constructor Summary

Constructor Description
ProductLink()

Creates an instance of ProductLink class.

Method Summary

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.

Methods inherited from java.lang.Object

Constructor Details

public ProductLink()

Creates an instance of ProductLink class.

Method Details

public String displayName()

Get the displayName property: The description of the link.

Returns:

the displayName value.

public String uri()

Get the uri property: The URI corresponding to the link.

Returns:

the uri value.

public void validate()

Validates the instance.

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.

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.

Applies to