public static interface RevokeCertificateRequest.Builder extends AcmPcaRequest.Builder, SdkPojo, CopyableBuilder<RevokeCertificateRequest.Builder,RevokeCertificateRequest>
Modifier and Type | Method and Description |
---|---|
RevokeCertificateRequest.Builder |
certificateAuthorityArn(String certificateAuthorityArn)
Amazon Resource Name (ARN) of the private CA that issued the certificate to be revoked.
|
RevokeCertificateRequest.Builder |
certificateSerial(String certificateSerial)
Serial number of the certificate to be revoked.
|
RevokeCertificateRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
RevokeCertificateRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
RevokeCertificateRequest.Builder |
revocationReason(RevocationReason revocationReason)
Specifies why you revoked the certificate.
|
RevokeCertificateRequest.Builder |
revocationReason(String revocationReason)
Specifies why you revoked the certificate.
|
build
overrideConfiguration
copy
applyMutation, build
RevokeCertificateRequest.Builder certificateAuthorityArn(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
RevokeCertificateRequest.Builder certificateSerial(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 operation 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 operation 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 operation 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 operation in the AWS Certificate Manager API Reference.
RevokeCertificateRequest.Builder revocationReason(String revocationReason)
Specifies why you revoked the certificate.
revocationReason
- Specifies why you revoked the certificate.RevocationReason
,
RevocationReason
RevokeCertificateRequest.Builder revocationReason(RevocationReason revocationReason)
Specifies why you revoked the certificate.
revocationReason
- Specifies why you revoked the certificate.RevocationReason
,
RevocationReason
RevokeCertificateRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.RevokeCertificateRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.