RevokeCertificate Class
- java.
lang. Object - com.
azure. resourcemanager. trustedsigning. models. RevokeCertificate
- com.
Implements
public final class RevokeCertificate
implements JsonSerializable<RevokeCertificate>
Defines the certificate revocation properties.
Constructor Summary
| Constructor | Description |
|---|---|
| RevokeCertificate() |
Creates an instance of Revoke |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Offset |
effectiveAt()
Get the effective |
|
static
Revoke |
fromJson(JsonReader jsonReader)
Reads an instance of Revoke |
| String |
reason()
Get the reason property: Reason for the revocation. |
| String |
remarks()
Get the remarks property: Remarks for the revocation. |
| String |
serialNumber()
Get the serial |
| String |
thumbprint()
Get the thumbprint property: Thumbprint of the certificate. |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Revoke |
withEffectiveAt(OffsetDateTime effectiveAt)
Set the effective |
|
Revoke |
withReason(String reason)
Set the reason property: Reason for the revocation. |
|
Revoke |
withRemarks(String remarks)
Set the remarks property: Remarks for the revocation. |
|
Revoke |
withSerialNumber(String serialNumber)
Set the serial |
|
Revoke |
withThumbprint(String thumbprint)
Set the thumbprint property: Thumbprint of the certificate. |
Methods inherited from java.lang.Object
Constructor Details
RevokeCertificate
public RevokeCertificate()
Creates an instance of RevokeCertificate class.
Method Details
effectiveAt
public OffsetDateTime effectiveAt()
Get the effectiveAt property: The timestamp when the revocation is effective.
Returns:
fromJson
public static RevokeCertificate fromJson(JsonReader jsonReader)
Reads an instance of RevokeCertificate from the JsonReader.
Parameters:
Returns:
Throws:
reason
public String reason()
Get the reason property: Reason for the revocation.
Returns:
remarks
public String remarks()
Get the remarks property: Remarks for the revocation.
Returns:
serialNumber
public String serialNumber()
Get the serialNumber property: Serial number of the certificate.
Returns:
thumbprint
public String thumbprint()
Get the thumbprint property: Thumbprint of the certificate.
Returns:
toJson
validate
public void validate()
Validates the instance.
withEffectiveAt
public RevokeCertificate withEffectiveAt(OffsetDateTime effectiveAt)
Set the effectiveAt property: The timestamp when the revocation is effective.
Parameters:
Returns:
withReason
public RevokeCertificate withReason(String reason)
Set the reason property: Reason for the revocation.
Parameters:
Returns:
withRemarks
public RevokeCertificate withRemarks(String remarks)
Set the remarks property: Remarks for the revocation.
Parameters:
Returns:
withSerialNumber
public RevokeCertificate withSerialNumber(String serialNumber)
Set the serialNumber property: Serial number of the certificate.
Parameters:
Returns:
withThumbprint
public RevokeCertificate withThumbprint(String thumbprint)
Set the thumbprint property: Thumbprint of the certificate.
Parameters:
Returns: