Class CertificateIssuer
- java.lang.Object
-
- com.azure.security.keyvault.certificates.models.CertificateIssuer
-
public final class CertificateIssuer extends Object
Represents certificate Issuer with all of its properties.
-
-
Constructor Summary
Constructors Constructor Description CertificateIssuer(String name)
Creates an instance of the issuer.CertificateIssuer(String name, String provider)
Creates an instance of the issuer.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getAccountId()
Get the account id of the issuer.List<AdministratorContact>
getAdministratorContacts()
Get the administrators of the issuer.OffsetDateTime
getCreatedOn()
Get the created UTC time.String
getId()
Get the id of the issuer.String
getName()
Get the issuer nameString
getOrganizationId()
Get the organization id of the issuer.String
getPassword()
Get the password of the issuer.String
getProvider()
Get the issuer providerOffsetDateTime
getUpdatedOn()
Get the updated UTC time.Boolean
isEnabled()
Get the enabled statusCertificateIssuer
setAccountId(String accountId)
Set the account id of the issuer.CertificateIssuer
setAdministratorContacts(List<AdministratorContact> administratorContacts)
Set the administrators of the issuer.CertificateIssuer
setEnabled(Boolean enabled)
Set the enabled statusCertificateIssuer
setOrganizationId(String organizationId)
Set the organization id of the issuer.CertificateIssuer
setPassword(String password)
Set the password id of the issuer.
-
-
-
Constructor Detail
-
CertificateIssuer
public CertificateIssuer(String name, String provider)
Creates an instance of the issuer.- Parameters:
name
- The name of the issuer.provider
- The provider of the issuer.
-
CertificateIssuer
public CertificateIssuer(String name)
Creates an instance of the issuer.- Parameters:
name
- The name of the issuer.
-
-
Method Detail
-
getId
public String getId()
Get the id of the issuer.- Returns:
- the identifier.
-
getProvider
public String getProvider()
Get the issuer provider- Returns:
- the issuer provider
-
getName
public String getName()
Get the issuer name- Returns:
- the issuer name
-
getAccountId
public String getAccountId()
Get the account id of the issuer.- Returns:
- the account id
-
setAccountId
public CertificateIssuer setAccountId(String accountId)
Set the account id of the issuer.- Parameters:
accountId
- the account id to set.- Returns:
- the Issuer object itself.
-
getPassword
public String getPassword()
Get the password of the issuer.- Returns:
- the password
-
setPassword
public CertificateIssuer setPassword(String password)
Set the password id of the issuer.- Parameters:
password
- the password set.- Returns:
- the Issuer object itself.
-
getOrganizationId
public String getOrganizationId()
Get the organization id of the issuer.- Returns:
- the organization id
-
setOrganizationId
public CertificateIssuer setOrganizationId(String organizationId)
Set the organization id of the issuer.- Parameters:
organizationId
- the org id to set.- Returns:
- the Issuer object itself.
-
getAdministratorContacts
public List<AdministratorContact> getAdministratorContacts()
Get the administrators of the issuer.- Returns:
- the administrators
-
setAdministratorContacts
public CertificateIssuer setAdministratorContacts(List<AdministratorContact> administratorContacts)
Set the administrators of the issuer.- Parameters:
administratorContacts
- the administrators to set.- Returns:
- the Issuer object itself.
-
isEnabled
public Boolean isEnabled()
Get the enabled status- Returns:
- the enabled status
-
setEnabled
public CertificateIssuer setEnabled(Boolean enabled)
Set the enabled status- Parameters:
enabled
- the enabled status to set- Returns:
- the Issuer object itself.
-
getCreatedOn
public OffsetDateTime getCreatedOn()
Get the created UTC time.- Returns:
- the created UTC time.
-
getUpdatedOn
public OffsetDateTime getUpdatedOn()
Get the updated UTC time.- Returns:
- the updated UTC time.
-
-