Class ServerCertificateCommonNames
java.lang.Object
com.azure.resourcemanager.servicefabric.models.ServerCertificateCommonNames
Describes a list of server certificates referenced by common name that are used to secure the cluster.
-
Constructor Summary
ConstructorDescriptionCreates an instance of ServerCertificateCommonNames class. -
Method Summary
Modifier and TypeMethodDescriptionGet the commonNames property: The list of server certificates referenced by common name that are used to secure the cluster.void
validate()
Validates the instance.withCommonNames
(List<ServerCertificateCommonName> commonNames) Set the commonNames property: The list of server certificates referenced by common name that are used to secure the cluster.withX509StoreName
(StoreName x509StoreName) Set the x509StoreName property: The local certificate store location.Get the x509StoreName property: The local certificate store location.
-
Constructor Details
-
ServerCertificateCommonNames
public ServerCertificateCommonNames()Creates an instance of ServerCertificateCommonNames class.
-
-
Method Details
-
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.
-
withCommonNames
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.
-
x509StoreName
Get the x509StoreName property: The local certificate store location.- Returns:
- the x509StoreName value.
-
withX509StoreName
Set the x509StoreName property: The local certificate store location.- Parameters:
x509StoreName
- the x509StoreName value to set.- Returns:
- the ServerCertificateCommonNames object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-