Class CertificateContact
- java.lang.Object
-
- com.azure.security.keyvault.certificates.models.CertificateContact
-
public final class CertificateContact extends Object
The contact information for the vault certificates.
-
-
Constructor Summary
Constructors Constructor Description CertificateContact()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getEmail()
Get the email address.String
getName()
Get the name.String
getPhone()
Get the phone info.CertificateContact
setEmail(String email)
Set the email of the contact.CertificateContact
setName(String name)
Set the name of the contact.CertificateContact
setPhone(String phone)
Set the phone of the contact.
-
-
-
Method Detail
-
getEmail
public String getEmail()
Get the email address.- Returns:
- the email address
-
getName
public String getName()
Get the name.- Returns:
- the name
-
getPhone
public String getPhone()
Get the phone info.- Returns:
- the phone info
-
setEmail
public CertificateContact setEmail(String email)
Set the email of the contact.- Parameters:
email
- the email of the contact to set- Returns:
- the updated CertificateContact object itself.
-
setName
public CertificateContact setName(String name)
Set the name of the contact.- Parameters:
name
- the name of the contact to set- Returns:
- the updated CertificateContact object itself.
-
setPhone
public CertificateContact setPhone(String phone)
Set the phone of the contact.- Parameters:
phone
- the phone of the contact to set- Returns:
- the updated CertificateContact object itself.
-
-