Share via


CertificateInfo Class

  • java.lang.Object
    • com.azure.resourcemanager.sql.models.CertificateInfo

Implements

public final class CertificateInfo
implements JsonSerializable<CertificateInfo>

Certificate information.

Constructor Summary

Constructor Description
CertificateInfo()

Creates an instance of CertificateInfo class.

Method Summary

Modifier and Type Method and Description
String certificateName()

Get the certificateName property: The certificate name.

OffsetDateTime expiryDate()

Get the expiryDate property: The certificate expiry date.

static CertificateInfo fromJson(JsonReader jsonReader)

Reads an instance of CertificateInfo from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Constructor Details

CertificateInfo

public CertificateInfo()

Creates an instance of CertificateInfo class.

Method Details

certificateName

public String certificateName()

Get the certificateName property: The certificate name.

Returns:

the certificateName value.

expiryDate

public OffsetDateTime expiryDate()

Get the expiryDate property: The certificate expiry date.

Returns:

the expiryDate value.

fromJson

public static CertificateInfo fromJson(JsonReader jsonReader)

Reads an instance of CertificateInfo from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of CertificateInfo if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the CertificateInfo.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to