Interface ExportCertificateRequest.Builder
- All Superinterfaces:
AcmRequest.Builder
,AwsRequest.Builder
,Buildable
,CopyableBuilder<ExportCertificateRequest.Builder,
,ExportCertificateRequest> SdkBuilder<ExportCertificateRequest.Builder,
,ExportCertificateRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
ExportCertificateRequest
-
Method Summary
Modifier and TypeMethodDescriptioncertificateArn
(String certificateArn) An Amazon Resource Name (ARN) of the issued certificate.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.passphrase
(SdkBytes passphrase) Passphrase to associate with the encrypted exported private key.Methods inherited from interface software.amazon.awssdk.services.acm.model.AcmRequest.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 Details
-
certificateArn
An Amazon Resource Name (ARN) of the issued certificate. This must be of the form:
arn:aws:acm:region:account:certificate/12345678-1234-1234-1234-123456789012
- Parameters:
certificateArn
- An Amazon Resource Name (ARN) of the issued certificate. This must be of the form:arn:aws:acm:region:account:certificate/12345678-1234-1234-1234-123456789012
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
passphrase
Passphrase to associate with the encrypted exported private key.
When creating your passphrase, you can use any ASCII character except #, $, or %.
If you want to later decrypt the private key, you must have the passphrase. You can use the following OpenSSL command to decrypt a private key. After entering the command, you are prompted for the passphrase.
openssl rsa -in encrypted_key.pem -out decrypted_key.pem
- Parameters:
passphrase
- Passphrase to associate with the encrypted exported private key.When creating your passphrase, you can use any ASCII character except #, $, or %.
If you want to later decrypt the private key, you must have the passphrase. You can use the following OpenSSL command to decrypt a private key. After entering the command, you are prompted for the passphrase.
openssl rsa -in encrypted_key.pem -out decrypted_key.pem
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
ExportCertificateRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
ExportCertificateRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-