ServerCertificateCommonNames Class

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

Implements

public final class ServerCertificateCommonNames
implements JsonSerializable<ServerCertificateCommonNames>

Describes a list of server certificates referenced by common name that are used to secure the cluster.

Constructor Summary

Constructor Description
ServerCertificateCommonNames()

Creates an instance of ServerCertificateCommonNames class.

Method Summary

Modifier and Type Method and Description
List<ServerCertificateCommonName> commonNames()

Get the commonNames property: The list of server certificates referenced by common name that are used to secure the cluster.

static ServerCertificateCommonNames fromJson(JsonReader jsonReader)

Reads an instance of ServerCertificateCommonNames from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

ServerCertificateCommonNames withCommonNames(List<ServerCertificateCommonName> commonNames)

Set the commonNames property: The list of server certificates referenced by common name that are used to secure the cluster.

ServerCertificateCommonNames withX509StoreName(StoreName x509StoreName)

Set the x509StoreName property: The local certificate store location.

StoreName x509StoreName()

Get the x509StoreName property: The local certificate store location.

Methods inherited from java.lang.Object

Constructor Details

ServerCertificateCommonNames

public ServerCertificateCommonNames()

Creates an instance of ServerCertificateCommonNames class.

Method Details

commonNames

public List<ServerCertificateCommonName> commonNames()

Get the commonNames property: The list of server certificates referenced by common name that are used to secure the cluster.

Returns:

the commonNames value.

fromJson

public static ServerCertificateCommonNames fromJson(JsonReader jsonReader)

Reads an instance of ServerCertificateCommonNames from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withCommonNames

public ServerCertificateCommonNames withCommonNames(List<ServerCertificateCommonName> commonNames)

Set the commonNames property: The list of server certificates referenced by common name that are used to secure the cluster.

Parameters:

commonNames - the commonNames value to set.

Returns:

the ServerCertificateCommonNames object itself.

withX509StoreName

public ServerCertificateCommonNames withX509StoreName(StoreName x509StoreName)

Set the x509StoreName property: The local certificate store location.

Parameters:

x509StoreName - the x509StoreName value to set.

Returns:

the ServerCertificateCommonNames object itself.

x509StoreName

public StoreName x509StoreName()

Get the x509StoreName property: The local certificate store location.

Returns:

the x509StoreName value.

Applies to