ServerCertificateCommonName Class
- java.
lang. Object - com.
azure. resourcemanager. servicefabric. models. ServerCertificateCommonName
- com.
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 Server |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
certificateCommonName()
Get the certificate |
| String |
certificateIssuerThumbprint()
Get the certificate |
|
static
Server |
fromJson(JsonReader jsonReader)
Reads an instance of Server |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Server |
withCertificateCommonName(String certificateCommonName)
Set the certificate |
|
Server |
withCertificateIssuerThumbprint(String certificateIssuerThumbprint)
Set the 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:
certificateIssuerThumbprint
public String certificateIssuerThumbprint()
Get the certificateIssuerThumbprint property: The issuer thumbprint of the server certificate.
Returns:
fromJson
public static ServerCertificateCommonName fromJson(JsonReader jsonReader)
Reads an instance of ServerCertificateCommonName from the JsonReader.
Parameters:
Returns:
Throws:
toJson
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:
Returns:
withCertificateIssuerThumbprint
public ServerCertificateCommonName withCertificateIssuerThumbprint(String certificateIssuerThumbprint)
Set the certificateIssuerThumbprint property: The issuer thumbprint of the server certificate.
Parameters:
Returns: