CertificateDescription Class
- java.
lang. Object - com.
azure. resourcemanager. servicefabric. models. CertificateDescription
- com.
Implements
public final class CertificateDescription
implements JsonSerializable<CertificateDescription>
Describes the certificate details.
Constructor Summary
| Constructor | Description |
|---|---|
| CertificateDescription() |
Creates an instance of Certificate |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Certificate |
fromJson(JsonReader jsonReader)
Reads an instance of Certificate |
| String |
thumbprint()
Get the thumbprint property: Thumbprint of the primary certificate. |
| String |
thumbprintSecondary()
Get the thumbprint |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Certificate |
withThumbprint(String thumbprint)
Set the thumbprint property: Thumbprint of the primary certificate. |
|
Certificate |
withThumbprintSecondary(String thumbprintSecondary)
Set the thumbprint |
|
Certificate |
withX509StoreName(StoreName x509StoreName)
Set the x509Store |
|
Store |
x509StoreName()
Get the x509Store |
Methods inherited from java.lang.Object
Constructor Details
CertificateDescription
public CertificateDescription()
Creates an instance of CertificateDescription class.
Method Details
fromJson
public static CertificateDescription fromJson(JsonReader jsonReader)
Reads an instance of CertificateDescription from the JsonReader.
Parameters:
Returns:
Throws:
thumbprint
public String thumbprint()
Get the thumbprint property: Thumbprint of the primary certificate.
Returns:
thumbprintSecondary
public String thumbprintSecondary()
Get the thumbprintSecondary property: Thumbprint of the secondary certificate.
Returns:
toJson
validate
public void validate()
Validates the instance.
withThumbprint
public CertificateDescription withThumbprint(String thumbprint)
Set the thumbprint property: Thumbprint of the primary certificate.
Parameters:
Returns:
withThumbprintSecondary
public CertificateDescription withThumbprintSecondary(String thumbprintSecondary)
Set the thumbprintSecondary property: Thumbprint of the secondary certificate.
Parameters:
Returns:
withX509StoreName
public CertificateDescription withX509StoreName(StoreName x509StoreName)
Set the x509StoreName property: The local certificate store location.
Parameters:
Returns:
x509StoreName
public StoreName x509StoreName()
Get the x509StoreName property: The local certificate store location.
Returns: