Del via


ServerTrustCertificateProperties Class

  • java.lang.Object
    • com.azure.resourcemanager.sql.fluent.models.ServerTrustCertificateProperties

Implements

public final class ServerTrustCertificateProperties
implements JsonSerializable<ServerTrustCertificateProperties>

The properties of a server trust certificate.

Constructor Summary

Constructor Description
ServerTrustCertificateProperties()

Creates an instance of ServerTrustCertificateProperties class.

Method Summary

Modifier and Type Method and Description
String certificateName()

Get the certificateName property: The certificate name.

static ServerTrustCertificateProperties fromJson(JsonReader jsonReader)

Reads an instance of ServerTrustCertificateProperties from the JsonReader.

String publicBlob()

Get the publicBlob property: The certificate public blob.

String thumbprint()

Get the thumbprint property: The certificate thumbprint.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

ServerTrustCertificateProperties withPublicBlob(String publicBlob)

Set the publicBlob property: The certificate public blob.

Methods inherited from java.lang.Object

Constructor Details

ServerTrustCertificateProperties

public ServerTrustCertificateProperties()

Creates an instance of ServerTrustCertificateProperties class.

Method Details

certificateName

public String certificateName()

Get the certificateName property: The certificate name.

Returns:

the certificateName value.

fromJson

public static ServerTrustCertificateProperties fromJson(JsonReader jsonReader)

Reads an instance of ServerTrustCertificateProperties from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of ServerTrustCertificateProperties 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 ServerTrustCertificateProperties.

publicBlob

public String publicBlob()

Get the publicBlob property: The certificate public blob.

Returns:

the publicBlob value.

thumbprint

public String thumbprint()

Get the thumbprint property: The certificate thumbprint.

Returns:

the thumbprint value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withPublicBlob

public ServerTrustCertificateProperties withPublicBlob(String publicBlob)

Set the publicBlob property: The certificate public blob.

Parameters:

publicBlob - the publicBlob value to set.

Returns:

the ServerTrustCertificateProperties object itself.

Applies to