Class SubjectAlternativeNames

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

public final class SubjectAlternativeNames extends Object
The subject alternate names of Certificate Policy.
  • Constructor Details

    • SubjectAlternativeNames

      public SubjectAlternativeNames()
      Create an instance of SubjectAlternativeNames
  • Method Details

    • getEmails

      public List<String> getEmails()
      Get the emails.
      Returns:
      the list of emails
    • setEmails

      public SubjectAlternativeNames setEmails(List<String> emails)
      Set the emails.
      Parameters:
      emails - the emails to set
      Returns:
      the updated SubjectAlternativeNames object itself.
    • getDnsNames

      public List<String> getDnsNames()
      Get the dnsNames.
      Returns:
      the list of dnsNames
    • setDnsNames

      public SubjectAlternativeNames setDnsNames(List<String> dnsNames)
      Set the dns names.
      Parameters:
      dnsNames - the dns names to set
      Returns:
      the updated SubjectAlternativeNames object itself.
    • getUserPrincipalNames

      public List<String> getUserPrincipalNames()
      Get the User Principal Names.
      Returns:
      the list of User Principal Names
    • setUserPrincipalNames

      public SubjectAlternativeNames setUserPrincipalNames(List<String> userPrincipalNames)
      Set the User Principal Names.
      Parameters:
      userPrincipalNames - the user principal names to set
      Returns:
      the updated SubjectAlternativeNames object itself.