CopyableBuilder<ImportCertificateRequest.Builder,ImportCertificateRequest>
, SdkBuilder<ImportCertificateRequest.Builder,ImportCertificateRequest>
public static interface ImportCertificateRequest.Builder extends CopyableBuilder<ImportCertificateRequest.Builder,ImportCertificateRequest>
Modifier and Type | Method | Description |
---|---|---|
ImportCertificateRequest.Builder |
certificate(ByteBuffer certificate) |
The certificate to import.
|
ImportCertificateRequest.Builder |
certificateArn(String certificateArn) |
The Amazon Resource Name
(ARN) of an imported certificate to replace.
|
ImportCertificateRequest.Builder |
certificateChain(ByteBuffer certificateChain) |
The certificate chain.
|
ImportCertificateRequest.Builder |
privateKey(ByteBuffer privateKey) |
The private key that matches the public key in the certificate.
|
copy
apply, 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(ByteBuffer 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(ByteBuffer 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(ByteBuffer certificateChain)
The certificate chain. It must be PEM-encoded.
certificateChain
- The certificate chain. It must be PEM-encoded.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.