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 Summary
Constructors Constructor Description SubjectAlternativeNames()
Create an instance of SubjectAlternativeNames
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<String>
getDnsNames()
Get the dnsNames.List<String>
getEmails()
Get the emails.List<String>
getUserPrincipalNames()
Get the User Principal Names.SubjectAlternativeNames
setDnsNames(List<String> dnsNames)
Set the dns names.SubjectAlternativeNames
setEmails(List<String> emails)
Set the emails.SubjectAlternativeNames
setUserPrincipalNames(List<String> userPrincipalNames)
Set the User Principal Names.
-
-
-
Method Detail
-
setEmails
public SubjectAlternativeNames setEmails(List<String> emails)
Set the emails.- Parameters:
emails
- the emails to set- Returns:
- the updated SubjectAlternativeNames object itself.
-
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.
-
-