ApiContactInformation Class

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

public final class ApiContactInformation

API contact information.

Constructor Summary

Constructor Description
ApiContactInformation()

Creates an instance of ApiContactInformation class.

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.

ApiContactInformation withEmail(String email)

Set the email property: The email address of the contact person/organization.

ApiContactInformation withName(String name)

Set the name property: The identifying name of the contact person/organization.

ApiContactInformation 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

email

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:

the email value.

name

public String name()

Get the name property: The identifying name of the contact person/organization.

Returns:

the name value.

url

public String url()

Get the url property: The URL pointing to the contact information. MUST be in the format of a URL.

Returns:

the url value.

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:

email - the email value to set.

Returns:

the ApiContactInformation object itself.

withName

public ApiContactInformation withName(String name)

Set the name property: The identifying name of the contact person/organization.

Parameters:

name - the name value to set.

Returns:

the ApiContactInformation object itself.

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:

url - the url value to set.

Returns:

the ApiContactInformation object itself.

Applies to