CertificateIssuer Class

  • java.lang.Object
    • com.azure.security.keyvault.certificates.models.CertificateIssuer

Implements

public final class CertificateIssuer
implements JsonSerializable<CertificateIssuer>

Represents certificate Issuer with all of its properties.

Constructor Summary

Constructor Description
CertificateIssuer(String name)

Creates an instance of the issuer.

CertificateIssuer(String name, String provider)

Creates an instance of the issuer.

Method Summary

Modifier and Type Method and Description
static CertificateIssuer fromJson(JsonReader jsonReader)

Reads a JSON stream into a CertificateIssuer.

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 name

String getOrganizationId()

Get the organization id of the issuer.

String getPassword()

Get the password of the issuer.

String getProvider()

Get the issuer provider

OffsetDateTime getUpdatedOn()

Get the updated UTC time.

Boolean isEnabled()

Get the enabled status

CertificateIssuer 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 status

CertificateIssuer setOrganizationId(String organizationId)

Set the organization id of the issuer.

CertificateIssuer setPassword(String password)

Set the password id of the issuer.

JsonWriter toJson(JsonWriter jsonWriter)

Methods inherited from java.lang.Object

Constructor Details

CertificateIssuer

public CertificateIssuer(String name)

Creates an instance of the issuer.

Parameters:

name - The name of the issuer.

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.

Method Details

fromJson

public static CertificateIssuer fromJson(JsonReader jsonReader)

Reads a JSON stream into a CertificateIssuer.

Parameters:

jsonReader - The JsonReader being read.

Returns:

The CertificateIssuer that the JSON stream represented, may return null.

Throws:

IOException

- If a CertificateIssuer fails to be read from the jsonReader.

getAccountId

public String getAccountId()

Get the account id of the issuer.

Returns:

the account id

getAdministratorContacts

public List getAdministratorContacts()

Get the administrators of the issuer.

Returns:

the administrators

getCreatedOn

public OffsetDateTime getCreatedOn()

Get the created UTC time.

Returns:

the created UTC time.

getId

public String getId()

Get the id of the issuer.

Returns:

the identifier.

getName

public String getName()

Get the issuer name

Returns:

the issuer name

getOrganizationId

public String getOrganizationId()

Get the organization id of the issuer.

Returns:

the organization id

getPassword

public String getPassword()

Get the password of the issuer.

Returns:

the password

getProvider

public String getProvider()

Get the issuer provider

Returns:

the issuer provider

getUpdatedOn

public OffsetDateTime getUpdatedOn()

Get the updated UTC time.

Returns:

the updated UTC time.

isEnabled

public Boolean isEnabled()

Get the enabled status

Returns:

the enabled status

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.

setAdministratorContacts

public CertificateIssuer setAdministratorContacts(List administratorContacts)

Set the administrators of the issuer.

Parameters:

administratorContacts - the administrators to set.

Returns:

the Issuer object itself.

setEnabled

public CertificateIssuer setEnabled(Boolean enabled)

Set the enabled status

Parameters:

enabled - the enabled status to set

Returns:

the Issuer object itself.

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.

setPassword

public CertificateIssuer setPassword(String password)

Set the password id of the issuer.

Parameters:

password - the password set.

Returns:

the Issuer object itself.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

Applies to