ApiLicenseInformation Class

  • java.lang.Object
    • com.azure.resourcemanager.apimanagement.models.ApiLicenseInformation

public final class ApiLicenseInformation

API license information.

Constructor Summary

Constructor Description
ApiLicenseInformation()

Creates an instance of ApiLicenseInformation class.

Method Summary

Modifier and Type Method and Description
String name()

Get the name property: The license name used for the API.

String url()

Get the url property: A URL to the license used for the API.

void validate()

Validates the instance.

ApiLicenseInformation withName(String name)

Set the name property: The license name used for the API.

ApiLicenseInformation withUrl(String url)

Set the url property: A URL to the license used for the API.

Methods inherited from java.lang.Object

Constructor Details

ApiLicenseInformation

public ApiLicenseInformation()

Creates an instance of ApiLicenseInformation class.

Method Details

name

public String name()

Get the name property: The license name used for the API.

Returns:

the name value.

url

public String url()

Get the url property: A URL to the license used for the API. MUST be in the format of a URL.

Returns:

the url value.

validate

public void validate()

Validates the instance.

withName

public ApiLicenseInformation withName(String name)

Set the name property: The license name used for the API.

Parameters:

name - the name value to set.

Returns:

the ApiLicenseInformation object itself.

withUrl

public ApiLicenseInformation withUrl(String url)

Set the url property: A URL to the license used for the API. MUST be in the format of a URL.

Parameters:

url - the url value to set.

Returns:

the ApiLicenseInformation object itself.

Applies to