Contact Class

  • java.lang.Object
    • com.microsoft.azure.keyvault.models.Contact

public class Contact

The contact information for the vault certificates.

Method Summary

Modifier and Type Method and Description
String emailAddress()

Get the emailAddress value.

String name()

Get the name value.

String phone()

Get the phone value.

Contact withEmailAddress(String emailAddress)

Set the emailAddress value.

Contact withName(String name)

Set the name value.

Contact withPhone(String phone)

Set the phone value.

Method Details

emailAddress

public String emailAddress()

Get the emailAddress value.

Returns:

the emailAddress value

name

public String name()

Get the name value.

Returns:

the name value

phone

public String phone()

Get the phone value.

Returns:

the phone value

withEmailAddress

public Contact withEmailAddress(String emailAddress)

Set the emailAddress value.

Parameters:

emailAddress - the emailAddress value to set

Returns:

the Contact object itself.

withName

public Contact withName(String name)

Set the name value.

Parameters:

name - the name value to set

Returns:

the Contact object itself.

withPhone

public Contact withPhone(String phone)

Set the phone value.

Parameters:

phone - the phone value to set

Returns:

the Contact object itself.

Applies to