UpdateContactProfile Class
- java.
lang. Object - com.
azure. resourcemanager. support. models. UpdateContactProfile
- com.
Implements
public final class UpdateContactProfile
implements JsonSerializable<UpdateContactProfile>
Contact information associated with the support ticket.
Constructor Summary
| Constructor | Description |
|---|---|
| UpdateContactProfile() |
Creates an instance of Update |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| List<String> |
additionalEmailAddresses()
Get the additional |
| String |
country()
Get the country property: Country of the user. |
| String |
firstName()
Get the first |
|
static
Update |
fromJson(JsonReader jsonReader)
Reads an instance of Update |
| String |
lastName()
Get the last |
| String |
phoneNumber()
Get the phone |
|
Preferred |
preferredContactMethod()
Get the preferred |
| String |
preferredSupportLanguage()
Get the preferred |
| String |
preferredTimeZone()
Get the preferred |
| String |
primaryEmailAddress()
Get the primary |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Update |
withAdditionalEmailAddresses(List<String> additionalEmailAddresses)
Set the additional |
|
Update |
withCountry(String country)
Set the country property: Country of the user. |
|
Update |
withFirstName(String firstName)
Set the first |
|
Update |
withLastName(String lastName)
Set the last |
|
Update |
withPhoneNumber(String phoneNumber)
Set the phone |
|
Update |
withPreferredContactMethod(PreferredContactMethod preferredContactMethod)
Set the preferred |
|
Update |
withPreferredSupportLanguage(String preferredSupportLanguage)
Set the preferred |
|
Update |
withPreferredTimeZone(String preferredTimeZone)
Set the preferred |
|
Update |
withPrimaryEmailAddress(String primaryEmailAddress)
Set the primary |
Methods inherited from java.lang.Object
Constructor Details
UpdateContactProfile
public UpdateContactProfile()
Creates an instance of UpdateContactProfile class.
Method Details
additionalEmailAddresses
public List<String> additionalEmailAddresses()
Get the additionalEmailAddresses property: Email addresses listed will be copied on any correspondence about the support ticket.
Returns:
country
public String country()
Get the country property: Country of the user. This is the ISO 3166-1 alpha-3 code.
Returns:
firstName
public String firstName()
Get the firstName property: First name.
Returns:
fromJson
public static UpdateContactProfile fromJson(JsonReader jsonReader)
Reads an instance of UpdateContactProfile from the JsonReader.
Parameters:
Returns:
Throws:
lastName
public String lastName()
Get the lastName property: Last name.
Returns:
phoneNumber
public String phoneNumber()
Get the phoneNumber property: Phone number. This is required if preferred contact method is phone.
Returns:
preferredContactMethod
public PreferredContactMethod preferredContactMethod()
Get the preferredContactMethod property: Preferred contact method.
Returns:
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:
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:
primaryEmailAddress
public String primaryEmailAddress()
Get the primaryEmailAddress property: Primary email address.
Returns:
toJson
validate
public void validate()
Validates the instance.
withAdditionalEmailAddresses
public UpdateContactProfile withAdditionalEmailAddresses(List<String> additionalEmailAddresses)
Set the additionalEmailAddresses property: Email addresses listed will be copied on any correspondence about the support ticket.
Parameters:
Returns:
withCountry
public UpdateContactProfile withCountry(String country)
Set the country property: Country of the user. This is the ISO 3166-1 alpha-3 code.
Parameters:
Returns:
withFirstName
public UpdateContactProfile withFirstName(String firstName)
Set the firstName property: First name.
Parameters:
Returns:
withLastName
public UpdateContactProfile withLastName(String lastName)
Set the lastName property: Last name.
Parameters:
Returns:
withPhoneNumber
public UpdateContactProfile withPhoneNumber(String phoneNumber)
Set the phoneNumber property: Phone number. This is required if preferred contact method is phone.
Parameters:
Returns:
withPreferredContactMethod
public UpdateContactProfile withPreferredContactMethod(PreferredContactMethod preferredContactMethod)
Set the preferredContactMethod property: Preferred contact method.
Parameters:
Returns:
withPreferredSupportLanguage
public UpdateContactProfile 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:
Returns:
withPreferredTimeZone
public UpdateContactProfile 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:
Returns:
withPrimaryEmailAddress
public UpdateContactProfile withPrimaryEmailAddress(String primaryEmailAddress)
Set the primaryEmailAddress property: Primary email address.
Parameters:
Returns: