ServerCertificateCommonName Class

  • java.lang.Object
    • com.azure.resourcemanager.servicefabric.models.ServerCertificateCommonName

Implements

public final class ServerCertificateCommonName
implements JsonSerializable<ServerCertificateCommonName>

Describes the server certificate details using common name.

Constructor Summary

Constructor Description
ServerCertificateCommonName()

Creates an instance of ServerCertificateCommonName class.

Method Summary

Modifier and Type Method and Description
String certificateCommonName()

Get the certificateCommonName property: The common name of the server certificate.

String certificateIssuerThumbprint()

Get the certificateIssuerThumbprint property: The issuer thumbprint of the server certificate.

static ServerCertificateCommonName fromJson(JsonReader jsonReader)

Reads an instance of ServerCertificateCommonName from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

ServerCertificateCommonName withCertificateCommonName(String certificateCommonName)

Set the certificateCommonName property: The common name of the server certificate.

ServerCertificateCommonName withCertificateIssuerThumbprint(String certificateIssuerThumbprint)

Set the certificateIssuerThumbprint property: The issuer thumbprint of the server certificate.

Methods inherited from java.lang.Object

Constructor Details

ServerCertificateCommonName

public ServerCertificateCommonName()

Creates an instance of ServerCertificateCommonName class.

Method Details

certificateCommonName

public String certificateCommonName()

Get the certificateCommonName property: The common name of the server certificate.

Returns:

the certificateCommonName value.

certificateIssuerThumbprint

public String certificateIssuerThumbprint()

Get the certificateIssuerThumbprint property: The issuer thumbprint of the server certificate.

Returns:

the certificateIssuerThumbprint value.

fromJson

public static ServerCertificateCommonName fromJson(JsonReader jsonReader)

Reads an instance of ServerCertificateCommonName from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withCertificateCommonName

public ServerCertificateCommonName withCertificateCommonName(String certificateCommonName)

Set the certificateCommonName property: The common name of the server certificate.

Parameters:

certificateCommonName - the certificateCommonName value to set.

Returns:

the ServerCertificateCommonName object itself.

withCertificateIssuerThumbprint

public ServerCertificateCommonName withCertificateIssuerThumbprint(String certificateIssuerThumbprint)

Set the certificateIssuerThumbprint property: The issuer thumbprint of the server certificate.

Parameters:

certificateIssuerThumbprint - the certificateIssuerThumbprint value to set.

Returns:

the ServerCertificateCommonName object itself.

Applies to