Interface RevokeCertificateRequest.Builder
-
- All Superinterfaces:
AcmPcaRequest.Builder,AwsRequest.Builder,Buildable,CopyableBuilder<RevokeCertificateRequest.Builder,RevokeCertificateRequest>,SdkBuilder<RevokeCertificateRequest.Builder,RevokeCertificateRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- RevokeCertificateRequest
public static interface RevokeCertificateRequest.Builder extends AcmPcaRequest.Builder, SdkPojo, CopyableBuilder<RevokeCertificateRequest.Builder,RevokeCertificateRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description RevokeCertificateRequest.BuildercertificateAuthorityArn(String certificateAuthorityArn)Amazon Resource Name (ARN) of the private CA that issued the certificate to be revoked.RevokeCertificateRequest.BuildercertificateSerial(String certificateSerial)Serial number of the certificate to be revoked.RevokeCertificateRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)RevokeCertificateRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)RevokeCertificateRequest.BuilderrevocationReason(String revocationReason)Specifies why you revoked the certificate.RevokeCertificateRequest.BuilderrevocationReason(RevocationReason revocationReason)Specifies why you revoked the certificate.-
Methods inherited from interface software.amazon.awssdk.services.acmpca.model.AcmPcaRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
certificateAuthorityArn
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- Parameters:
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- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
certificateSerial
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 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 -nooutYou can also copy the serial number from the console or use the DescribeCertificate action in the Certificate Manager API Reference.
- Parameters:
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 -nooutYou can also copy the serial number from the console or use the DescribeCertificate action in the Certificate Manager API Reference.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
revocationReason
RevokeCertificateRequest.Builder revocationReason(String revocationReason)
Specifies why you revoked the certificate.
- Parameters:
revocationReason- Specifies why you revoked the certificate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
RevocationReason,RevocationReason
-
revocationReason
RevokeCertificateRequest.Builder revocationReason(RevocationReason revocationReason)
Specifies why you revoked the certificate.
- Parameters:
revocationReason- Specifies why you revoked the certificate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
RevocationReason,RevocationReason
-
overrideConfiguration
RevokeCertificateRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
RevokeCertificateRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-