@Generated(value="software.amazon.awssdk:codegen") public final class RevokeCertificateRequest extends AcmPcaRequest implements ToCopyableBuilder<RevokeCertificateRequest.Builder,RevokeCertificateRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
RevokeCertificateRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static RevokeCertificateRequest.Builder |
builder() |
String |
certificateAuthorityArn()
Amazon Resource Name (ARN) of the private CA that issued the certificate to be revoked.
|
String |
certificateSerial()
Serial number of the certificate to be revoked.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
RevocationReason |
revocationReason()
Specifies why you revoked the certificate.
|
String |
revocationReasonAsString()
Specifies why you revoked the certificate.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends RevokeCertificateRequest.Builder> |
serializableBuilderClass() |
RevokeCertificateRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String certificateAuthorityArn()
Amazon Resource Name (ARN) of the private CA that issued the certificate to be revoked. This must be of the form:
arn:aws:acm-pca:region:account:certificate-authority/12345678-1234-1234-1234-123456789012
arn:aws:acm-pca:region:account:certificate-authority/12345678-1234-1234-1234-123456789012
public final String certificateSerial()
Serial number of the certificate to be revoked. This must be in hexadecimal format. You can retrieve the serial number by calling GetCertificate with the Amazon Resource Name (ARN) of the certificate you want and the ARN of your private CA. The GetCertificate action retrieves the certificate in the PEM format. You can use the following OpenSSL command to list the certificate in text format and copy the hexadecimal serial number.
openssl x509 -in file_path -text -noout
You can also copy the serial number from the console or use the DescribeCertificate action in the Certificate Manager API Reference.
openssl x509 -in file_path -text -noout
You can also copy the serial number from the console or use the DescribeCertificate action in the Certificate Manager API Reference.
public final RevocationReason revocationReason()
Specifies why you revoked the certificate.
If the service returns an enum value that is not available in the current SDK version, revocationReason
will return RevocationReason.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from revocationReasonAsString().
RevocationReasonpublic final String revocationReasonAsString()
Specifies why you revoked the certificate.
If the service returns an enum value that is not available in the current SDK version, revocationReason
will return RevocationReason.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from revocationReasonAsString().
RevocationReasonpublic RevokeCertificateRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<RevokeCertificateRequest.Builder,RevokeCertificateRequest>toBuilder in class AcmPcaRequestpublic static RevokeCertificateRequest.Builder builder()
public static Class<? extends RevokeCertificateRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2023. All rights reserved.