@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() |
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; useful for testing and debugging.
|
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, copyBaseTo, 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: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: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:region:account:certificate-authority/12345678-1234-1234-1234-123456789012
arn:aws:acm: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: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: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 function 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 function in the AWS 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 function 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 function in the AWS 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 function 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 function in the AWS 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 function in the AWS 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 function 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 function in the AWS 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 function 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 function in the AWS 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()
clone in class AmazonWebServiceRequestCopyright © 2018. All rights reserved.