Class AdministratorContact

java.lang.Object
com.azure.security.keyvault.certificates.models.AdministratorContact

public final class AdministratorContact extends Object
Represents an administrator in CertificateIssuer
  • Constructor Details

    • AdministratorContact

      public AdministratorContact()
  • Method Details

    • 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.