public static interface ImportCertificateRequest.Builder extends AcmRequest.Builder, CopyableBuilder<ImportCertificateRequest.Builder,ImportCertificateRequest>
Modifier and Type | Method and Description |
---|---|
ImportCertificateRequest.Builder |
certificate(SdkBytes certificate)
The certificate to import.
|
ImportCertificateRequest.Builder |
certificateArn(String certificateArn)
The Amazon Resource Name
(ARN) of an imported certificate to replace.
|
ImportCertificateRequest.Builder |
certificateChain(SdkBytes certificateChain)
The certificate chain.
|
ImportCertificateRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
ImportCertificateRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
ImportCertificateRequest.Builder |
privateKey(SdkBytes privateKey)
The private key that matches the public key in the certificate.
|
build
overrideConfiguration
copy
applyMutation, build
ImportCertificateRequest.Builder certificateArn(String certificateArn)
The Amazon Resource Name (ARN) of an imported certificate to replace. To import a new certificate, omit this field.
certificateArn
- The Amazon
Resource Name (ARN) of an imported certificate to replace. To import a new certificate, omit this
field.ImportCertificateRequest.Builder certificate(SdkBytes certificate)
The certificate to import. It must meet the following requirements:
Must be PEM-encoded.
Must contain a 1024-bit or 2048-bit RSA public key.
Must be valid at the time of import. You cannot import a certificate before its validity period begins (the
certificate's NotBefore
date) or after it expires (the certificate's NotAfter
date).
certificate
- The certificate to import. It must meet the following requirements:
Must be PEM-encoded.
Must contain a 1024-bit or 2048-bit RSA public key.
Must be valid at the time of import. You cannot import a certificate before its validity period begins
(the certificate's NotBefore
date) or after it expires (the certificate's
NotAfter
date).
ImportCertificateRequest.Builder privateKey(SdkBytes privateKey)
The private key that matches the public key in the certificate. It must meet the following requirements:
Must be PEM-encoded.
Must be unencrypted. You cannot import a private key that is protected by a password or passphrase.
privateKey
- The private key that matches the public key in the certificate. It must meet the following
requirements:
Must be PEM-encoded.
Must be unencrypted. You cannot import a private key that is protected by a password or passphrase.
ImportCertificateRequest.Builder certificateChain(SdkBytes certificateChain)
The certificate chain. It must be PEM-encoded.
certificateChain
- The certificate chain. It must be PEM-encoded.ImportCertificateRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.ImportCertificateRequest.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.