Class CertificateIssuer
java.lang.Object
com.azure.security.keyvault.certificates.models.CertificateIssuer
- All Implemented Interfaces:
com.azure.json.JsonSerializable<CertificateIssuer>
public final class CertificateIssuer
extends Object
implements com.azure.json.JsonSerializable<CertificateIssuer>
Represents certificate Issuer with all of its properties.
-
Constructor Summary
ConstructorsConstructorDescriptionCertificateIssuer(String name) Creates an instance of the issuer.CertificateIssuer(String name, String provider) Creates an instance of the issuer. -
Method Summary
Modifier and TypeMethodDescriptionstatic CertificateIssuerfromJson(com.azure.json.JsonReader jsonReader) Reads a JSON stream into aCertificateIssuer.Get the account id of the issuer.Get the administrators of the issuer.Get the created UTC time.getId()Get the id of the issuer.getName()Get the issuer nameGet the organization id of the issuer.Get the password of the issuer.Get the issuer providerGet the updated UTC time.Get the enabled statussetAccountId(String accountId) Set the account id of the issuer.setAdministratorContacts(List<AdministratorContact> administratorContacts) Set the administrators of the issuer.setEnabled(Boolean enabled) Set the enabled statussetOrganizationId(String organizationId) Set the organization id of the issuer.setPassword(String password) Set the password id of the issuer.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
CertificateIssuer
-
CertificateIssuer
Creates an instance of the issuer.- Parameters:
name- The name of the issuer.
-
-
Method Details
-
getId
-
getProvider
-
getName
-
getAccountId
-
setAccountId
Set the account id of the issuer.- Parameters:
accountId- the account id to set.- Returns:
- the Issuer object itself.
-
getPassword
-
setPassword
Set the password id of the issuer.- Parameters:
password- the password set.- Returns:
- the Issuer object itself.
-
getOrganizationId
Get the organization id of the issuer.- Returns:
- the organization id
-
setOrganizationId
Set the organization id of the issuer.- Parameters:
organizationId- the org id to set.- Returns:
- the Issuer object itself.
-
getAdministratorContacts
Get the administrators of the issuer.- Returns:
- the administrators
-
setAdministratorContacts
Set the administrators of the issuer.- Parameters:
administratorContacts- the administrators to set.- Returns:
- the Issuer object itself.
-
isEnabled
-
setEnabled
Set the enabled status- Parameters:
enabled- the enabled status to set- Returns:
- the Issuer object itself.
-
getCreatedOn
-
getUpdatedOn
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<CertificateIssuer>- Throws:
IOException
-
fromJson
Reads a JSON stream into aCertificateIssuer.- Parameters:
jsonReader- TheJsonReaderbeing read.- Returns:
- The
CertificateIssuerthat the JSON stream represented, may return null. - Throws:
IOException- If aCertificateIssuerfails to be read from thejsonReader.
-