Class AdministratorContact
- java.lang.Object
-
- com.azure.security.keyvault.certificates.models.AdministratorContact
-
public final class AdministratorContact extends Object
Represents an administrator inCertificateIssuer
-
-
Constructor Summary
Constructors Constructor Description AdministratorContact()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getEmail()
Get the email of the admin.String
getFirstName()
Get the first name of the admin.String
getLastName()
Get the last name of the admin.String
getPhone()
Get the contact of the admin.AdministratorContact
setEmail(String email)
Set the email of the admin.AdministratorContact
setFirstName(String firstName)
Set the first name of the admin.AdministratorContact
setLastName(String lastName)
Set the last name of the admin.AdministratorContact
setPhone(String phone)
Set the contact of the admin.
-
-
-
Method Detail
-
getFirstName
public String getFirstName()
Get the first name of the admin.- Returns:
- the first name of admin.
-
getLastName
public String getLastName()
Get the last name of the admin.- Returns:
- the last name of admin.
-
getEmail
public String getEmail()
Get the email of the admin.- Returns:
- the email of admin.
-
getPhone
public String getPhone()
Get the contact of the admin.- Returns:
- the contact of admin.
-
setFirstName
public AdministratorContact setFirstName(String firstName)
Set the first name of the admin.- Parameters:
firstName
- the first name of the admin to set.- Returns:
- the updated AdministratorContact object itself.
-
setLastName
public AdministratorContact setLastName(String lastName)
Set the last name of the admin.- Parameters:
lastName
- the last name of the admin to set.- Returns:
- the updated AdministratorContact object itself.
-
setEmail
public AdministratorContact setEmail(String email)
Set the email of the admin.- Parameters:
email
- the email of the admin to set.- Returns:
- the updated AdministratorContact object itself.
-
setPhone
public AdministratorContact setPhone(String phone)
Set the contact of the admin.- Parameters:
phone
- the enabled status to set- Returns:
- the updated AdministratorContact object itself.
-
-