@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RevokeCertificateRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
RevokeCertificateRequest() |
| Modifier and Type | Method and Description |
|---|---|
RevokeCertificateRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getCertificateAuthorityArn()
Amazon Resource Name (ARN) of the private CA that issued the certificate to be revoked.
|
String |
getCertificateSerial()
Serial number of the certificate to be revoked.
|
String |
getRevocationReason()
Specifies why you revoked the certificate.
|
int |
hashCode() |
void |
setCertificateAuthorityArn(String certificateAuthorityArn)
Amazon Resource Name (ARN) of the private CA that issued the certificate to be revoked.
|
void |
setCertificateSerial(String certificateSerial)
Serial number of the certificate to be revoked.
|
void |
setRevocationReason(String revocationReason)
Specifies why you revoked the certificate.
|
String |
toString()
Returns a string representation of this object.
|
RevokeCertificateRequest |
withCertificateAuthorityArn(String certificateAuthorityArn)
Amazon Resource Name (ARN) of the private CA that issued the certificate to be revoked.
|
RevokeCertificateRequest |
withCertificateSerial(String certificateSerial)
Serial number of the certificate to be revoked.
|
RevokeCertificateRequest |
withRevocationReason(RevocationReason revocationReason)
Specifies why you revoked the certificate.
|
RevokeCertificateRequest |
withRevocationReason(String revocationReason)
Specifies why you revoked the certificate.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic void setCertificateAuthorityArn(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
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
public String getCertificateAuthorityArn()
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 RevokeCertificateRequest withCertificateAuthorityArn(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
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
public void setCertificateSerial(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.
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.
public String getCertificateSerial()
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 RevokeCertificateRequest withCertificateSerial(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.
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.
public void setRevocationReason(String revocationReason)
Specifies why you revoked the certificate.
revocationReason - Specifies why you revoked the certificate.RevocationReasonpublic String getRevocationReason()
Specifies why you revoked the certificate.
RevocationReasonpublic RevokeCertificateRequest withRevocationReason(String revocationReason)
Specifies why you revoked the certificate.
revocationReason - Specifies why you revoked the certificate.RevocationReasonpublic RevokeCertificateRequest withRevocationReason(RevocationReason revocationReason)
Specifies why you revoked the certificate.
revocationReason - Specifies why you revoked the certificate.RevocationReasonpublic String toString()
toString in class ObjectObject.toString()public RevokeCertificateRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()