ContactProfile Class

  • java.lang.Object
    • com.azure.resourcemanager.support.models.ContactProfile

public final class ContactProfile

Contact information associated with the support ticket.

Constructor Summary

Constructor Description
ContactProfile()

Creates an instance of ContactProfile class.

Method Summary

Modifier and Type Method and Description
List<String> additionalEmailAddresses()

Get the additionalEmailAddresses property: Additional email addresses listed will be copied on any correspondence about the support ticket.

String country()

Get the country property: Country of the user.

String firstName()

Get the firstName property: First name.

String lastName()

Get the lastName property: Last name.

String phoneNumber()

Get the phoneNumber property: Phone number.

PreferredContactMethod preferredContactMethod()

Get the preferredContactMethod property: Preferred contact method.

String preferredSupportLanguage()

Get the preferredSupportLanguage property: Preferred language of support from Azure.

String preferredTimeZone()

Get the preferredTimeZone property: Time zone of the user.

String primaryEmailAddress()

Get the primaryEmailAddress property: Primary email address.

void validate()

Validates the instance.

ContactProfile withAdditionalEmailAddresses(List<String> additionalEmailAddresses)

Set the additionalEmailAddresses property: Additional email addresses listed will be copied on any correspondence about the support ticket.

ContactProfile withCountry(String country)

Set the country property: Country of the user.

ContactProfile withFirstName(String firstName)

Set the firstName property: First name.

ContactProfile withLastName(String lastName)

Set the lastName property: Last name.

ContactProfile withPhoneNumber(String phoneNumber)

Set the phoneNumber property: Phone number.

ContactProfile withPreferredContactMethod(PreferredContactMethod preferredContactMethod)

Set the preferredContactMethod property: Preferred contact method.

ContactProfile withPreferredSupportLanguage(String preferredSupportLanguage)

Set the preferredSupportLanguage property: Preferred language of support from Azure.

ContactProfile withPreferredTimeZone(String preferredTimeZone)

Set the preferredTimeZone property: Time zone of the user.

ContactProfile withPrimaryEmailAddress(String primaryEmailAddress)

Set the primaryEmailAddress property: Primary email address.

Methods inherited from java.lang.Object

Constructor Details

ContactProfile

public ContactProfile()

Creates an instance of ContactProfile class.

Method Details

additionalEmailAddresses

public List<String> additionalEmailAddresses()

Get the additionalEmailAddresses property: Additional email addresses listed will be copied on any correspondence about the support ticket.

Returns:

the additionalEmailAddresses value.

country

public String country()

Get the country property: Country of the user. This is the ISO 3166-1 alpha-3 code.

Returns:

the country value.

firstName

public String firstName()

Get the firstName property: First name.

Returns:

the firstName value.

lastName

public String lastName()

Get the lastName property: Last name.

Returns:

the lastName value.

phoneNumber

public String phoneNumber()

Get the phoneNumber property: Phone number. This is required if preferred contact method is phone.

Returns:

the phoneNumber value.

preferredContactMethod

public PreferredContactMethod preferredContactMethod()

Get the preferredContactMethod property: Preferred contact method.

Returns:

the preferredContactMethod value.

preferredSupportLanguage

public String preferredSupportLanguage()

Get the preferredSupportLanguage property: Preferred language of support from Azure. Support languages vary based on the severity you choose for your support ticket. Learn more at [Azure Severity and responsiveness](https://azure.microsoft.com/support/plans/response). Use the standard language-country code. Valid values are 'en-us' for English, 'zh-hans' for Chinese, 'es-es' for Spanish, 'fr-fr' for French, 'ja-jp' for Japanese, 'ko-kr' for Korean, 'ru-ru' for Russian, 'pt-br' for Portuguese, 'it-it' for Italian, 'zh-tw' for Chinese and 'de-de' for German.

Returns:

the preferredSupportLanguage value.

preferredTimeZone

public String preferredTimeZone()

Get the preferredTimeZone property: Time zone of the user. This is the name of the time zone from [Microsoft Time Zone Index Values](https://support.microsoft.com/help/973627/microsoft-time-zone-index-values).

Returns:

the preferredTimeZone value.

primaryEmailAddress

public String primaryEmailAddress()

Get the primaryEmailAddress property: Primary email address.

Returns:

the primaryEmailAddress value.

validate

public void validate()

Validates the instance.

withAdditionalEmailAddresses

public ContactProfile withAdditionalEmailAddresses(List<String> additionalEmailAddresses)

Set the additionalEmailAddresses property: Additional email addresses listed will be copied on any correspondence about the support ticket.

Parameters:

additionalEmailAddresses - the additionalEmailAddresses value to set.

Returns:

the ContactProfile object itself.

withCountry

public ContactProfile withCountry(String country)

Set the country property: Country of the user. This is the ISO 3166-1 alpha-3 code.

Parameters:

country - the country value to set.

Returns:

the ContactProfile object itself.

withFirstName

public ContactProfile withFirstName(String firstName)

Set the firstName property: First name.

Parameters:

firstName - the firstName value to set.

Returns:

the ContactProfile object itself.

withLastName

public ContactProfile withLastName(String lastName)

Set the lastName property: Last name.

Parameters:

lastName - the lastName value to set.

Returns:

the ContactProfile object itself.

withPhoneNumber

public ContactProfile withPhoneNumber(String phoneNumber)

Set the phoneNumber property: Phone number. This is required if preferred contact method is phone.

Parameters:

phoneNumber - the phoneNumber value to set.

Returns:

the ContactProfile object itself.

withPreferredContactMethod

public ContactProfile withPreferredContactMethod(PreferredContactMethod preferredContactMethod)

Set the preferredContactMethod property: Preferred contact method.

Parameters:

preferredContactMethod - the preferredContactMethod value to set.

Returns:

the ContactProfile object itself.

withPreferredSupportLanguage

public ContactProfile withPreferredSupportLanguage(String preferredSupportLanguage)

Set the preferredSupportLanguage property: Preferred language of support from Azure. Support languages vary based on the severity you choose for your support ticket. Learn more at [Azure Severity and responsiveness](https://azure.microsoft.com/support/plans/response). Use the standard language-country code. Valid values are 'en-us' for English, 'zh-hans' for Chinese, 'es-es' for Spanish, 'fr-fr' for French, 'ja-jp' for Japanese, 'ko-kr' for Korean, 'ru-ru' for Russian, 'pt-br' for Portuguese, 'it-it' for Italian, 'zh-tw' for Chinese and 'de-de' for German.

Parameters:

preferredSupportLanguage - the preferredSupportLanguage value to set.

Returns:

the ContactProfile object itself.

withPreferredTimeZone

public ContactProfile withPreferredTimeZone(String preferredTimeZone)

Set the preferredTimeZone property: Time zone of the user. This is the name of the time zone from [Microsoft Time Zone Index Values](https://support.microsoft.com/help/973627/microsoft-time-zone-index-values).

Parameters:

preferredTimeZone - the preferredTimeZone value to set.

Returns:

the ContactProfile object itself.

withPrimaryEmailAddress

public ContactProfile withPrimaryEmailAddress(String primaryEmailAddress)

Set the primaryEmailAddress property: Primary email address.

Parameters:

primaryEmailAddress - the primaryEmailAddress value to set.

Returns:

the ContactProfile object itself.

Applies to