ApiLicenseInformation Class
- java.
lang. Object - com.
azure. resourcemanager. apimanagement. models. ApiLicenseInformation
- com.
public final class ApiLicenseInformation
API license information.
Constructor Summary
Constructor | Description |
---|---|
ApiLicenseInformation() |
Creates an instance of Api |
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. |
Api |
withName(String name)
Set the name property: The license name used for the API. |
Api |
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:
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:
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:
Returns:
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:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for