public static interface IssueCertificateRequest.Builder extends AcmPcaRequest.Builder, SdkPojo, CopyableBuilder<IssueCertificateRequest.Builder,IssueCertificateRequest>
Modifier and Type | Method and Description |
---|---|
IssueCertificateRequest.Builder |
certificateAuthorityArn(String certificateAuthorityArn)
The Amazon Resource Name (ARN) that was returned when you called CreateCertificateAuthority.
|
IssueCertificateRequest.Builder |
csr(SdkBytes csr)
The certificate signing request (CSR) for the certificate you want to issue.
|
IssueCertificateRequest.Builder |
idempotencyToken(String idempotencyToken)
Custom string that can be used to distinguish between calls to the IssueCertificate operation.
|
IssueCertificateRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
IssueCertificateRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
IssueCertificateRequest.Builder |
signingAlgorithm(SigningAlgorithm signingAlgorithm)
The name of the algorithm that will be used to sign the certificate to be issued.
|
IssueCertificateRequest.Builder |
signingAlgorithm(String signingAlgorithm)
The name of the algorithm that will be used to sign the certificate to be issued.
|
default IssueCertificateRequest.Builder |
validity(Consumer<Validity.Builder> validity)
The type of the validity period.
|
IssueCertificateRequest.Builder |
validity(Validity validity)
The type of the validity period.
|
build
overrideConfiguration
copy
applyMutation, build
IssueCertificateRequest.Builder certificateAuthorityArn(String certificateAuthorityArn)
The Amazon Resource Name (ARN) that was returned when you called CreateCertificateAuthority. This must be of the form:
arn:aws:acm-pca:region:account:certificate-authority/12345678-1234-1234-1234-123456789012
certificateAuthorityArn
- The Amazon Resource Name (ARN) that was returned when you called CreateCertificateAuthority.
This must be of the form:
arn:aws:acm-pca:region:account:certificate-authority/12345678-1234-1234-1234-123456789012
IssueCertificateRequest.Builder csr(SdkBytes csr)
The certificate signing request (CSR) for the certificate you want to issue. You can use the following OpenSSL command to create the CSR and a 2048 bit RSA private key.
openssl req -new -newkey rsa:2048 -days 365 -keyout private/test_cert_priv_key.pem -out csr/test_cert_.csr
If you have a configuration file, you can use the following OpenSSL command. The usr_cert
block
in the configuration file contains your X509 version 3 extensions.
openssl req -new -config openssl_rsa.cnf -extensions usr_cert -newkey rsa:2048 -days -365 -keyout private/test_cert_priv_key.pem -out csr/test_cert_.csr
csr
- The certificate signing request (CSR) for the certificate you want to issue. You can use the following
OpenSSL command to create the CSR and a 2048 bit RSA private key.
openssl req -new -newkey rsa:2048 -days 365 -keyout private/test_cert_priv_key.pem -out csr/test_cert_.csr
If you have a configuration file, you can use the following OpenSSL command. The usr_cert
block in the configuration file contains your X509 version 3 extensions.
openssl req -new -config openssl_rsa.cnf -extensions usr_cert -newkey rsa:2048 -days -365 -keyout private/test_cert_priv_key.pem -out csr/test_cert_.csr
IssueCertificateRequest.Builder signingAlgorithm(String signingAlgorithm)
The name of the algorithm that will be used to sign the certificate to be issued.
signingAlgorithm
- The name of the algorithm that will be used to sign the certificate to be issued.SigningAlgorithm
,
SigningAlgorithm
IssueCertificateRequest.Builder signingAlgorithm(SigningAlgorithm signingAlgorithm)
The name of the algorithm that will be used to sign the certificate to be issued.
signingAlgorithm
- The name of the algorithm that will be used to sign the certificate to be issued.SigningAlgorithm
,
SigningAlgorithm
IssueCertificateRequest.Builder validity(Validity validity)
The type of the validity period.
validity
- The type of the validity period.default IssueCertificateRequest.Builder validity(Consumer<Validity.Builder> validity)
The type of the validity period.
This is a convenience that creates an instance of theValidity.Builder
avoiding the need to create
one manually via Validity.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its result is
passed to validity(Validity)
.validity
- a consumer that will call methods on Validity.Builder
validity(Validity)
IssueCertificateRequest.Builder idempotencyToken(String idempotencyToken)
Custom string that can be used to distinguish between calls to the IssueCertificate operation. Idempotency tokens time out after one hour. Therefore, if you call IssueCertificate multiple times with the same idempotency token within 5 minutes, ACM PCA recognizes that you are requesting only one certificate and will issue only one. If you change the idempotency token for each call, PCA recognizes that you are requesting multiple certificates.
idempotencyToken
- Custom string that can be used to distinguish between calls to the IssueCertificate operation.
Idempotency tokens time out after one hour. Therefore, if you call IssueCertificate multiple
times with the same idempotency token within 5 minutes, ACM PCA recognizes that you are requesting
only one certificate and will issue only one. If you change the idempotency token for each call, PCA
recognizes that you are requesting multiple certificates.IssueCertificateRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.IssueCertificateRequest.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.