ApiContactInformation Class
- java.
lang. Object - com.
azure. resourcemanager. apimanagement. models. ApiContactInformation
- com.
public final class ApiContactInformation
API contact information.
Constructor Summary
Constructor | Description |
---|---|
ApiContactInformation() |
Creates an instance of Api |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
email()
Get the email property: The email address of the contact person/organization. |
String |
name()
Get the name property: The identifying name of the contact person/organization. |
String |
url()
Get the url property: The URL pointing to the contact information. |
void |
validate()
Validates the instance. |
Api |
withEmail(String email)
Set the email property: The email address of the contact person/organization. |
Api |
withName(String name)
Set the name property: The identifying name of the contact person/organization. |
Api |
withUrl(String url)
Set the url property: The URL pointing to the contact information. |
Methods inherited from java.lang.Object
Constructor Details
ApiContactInformation
public ApiContactInformation()
Creates an instance of ApiContactInformation class.
Method Details
public String email()
Get the email property: The email address of the contact person/organization. MUST be in the format of an email address.
Returns:
name
public String name()
Get the name property: The identifying name of the contact person/organization.
Returns:
url
public String url()
Get the url property: The URL pointing to the contact information. MUST be in the format of a URL.
Returns:
validate
public void validate()
Validates the instance.
withEmail
public ApiContactInformation withEmail(String email)
Set the email property: The email address of the contact person/organization. MUST be in the format of an email address.
Parameters:
Returns:
withName
public ApiContactInformation withName(String name)
Set the name property: The identifying name of the contact person/organization.
Parameters:
Returns:
withUrl
public ApiContactInformation withUrl(String url)
Set the url property: The URL pointing to the contact information. MUST be in the format of a URL.
Parameters:
Returns:
Applies to
Azure SDK for Java