Cloneable, ReadLimitInfo, ToCopyableBuilder<ImportCertificateRequest.Builder,ImportCertificateRequest>@Generated("software.amazon.awssdk:codegen") public class ImportCertificateRequest extends AmazonWebServiceRequest implements ToCopyableBuilder<ImportCertificateRequest.Builder,ImportCertificateRequest>
| Modifier and Type | Class | Description |
|---|---|---|
static interface |
ImportCertificateRequest.Builder |
NOOP| Modifier and Type | Method | Description |
|---|---|---|
static ImportCertificateRequest.Builder |
builder() |
|
ByteBuffer |
certificate() |
The certificate to import.
|
String |
certificateArn() |
The Amazon Resource Name
(ARN) of an imported certificate to replace.
|
ByteBuffer |
certificateChain() |
The certificate chain.
|
boolean |
equals(Object obj) |
|
int |
hashCode() |
|
ByteBuffer |
privateKey() |
The private key that matches the public key in the certificate.
|
static Class<? extends ImportCertificateRequest.Builder> |
serializableBuilderClass() |
|
ImportCertificateRequest.Builder |
toBuilder() |
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
clone, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeoutpublic String certificateArn()
The Amazon Resource Name (ARN) of an imported certificate to replace. To import a new certificate, omit this field.
public 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).
ByteBuffers are stateful. Calling their get methods changes their position. We recommend
using ByteBuffer.asReadOnlyBuffer() to create a read-only view of the buffer with an independent
position, and calling get methods on this rather than directly on the returned ByteBuffer
. Doing so will ensure that anyone else using the ByteBuffer will not be affected by changes to the
position.
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).
public 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.
ByteBuffers are stateful. Calling their get methods changes their position. We recommend
using ByteBuffer.asReadOnlyBuffer() to create a read-only view of the buffer with an independent
position, and calling get methods on this rather than directly on the returned ByteBuffer
. Doing so will ensure that anyone else using the ByteBuffer will not be affected by changes to the
position.
Must be PEM-encoded.
Must be unencrypted. You cannot import a private key that is protected by a password or passphrase.
public ByteBuffer certificateChain()
The certificate chain. It must be PEM-encoded.
ByteBuffers are stateful. Calling their get methods changes their position. We recommend
using ByteBuffer.asReadOnlyBuffer() to create a read-only view of the buffer with an independent
position, and calling get methods on this rather than directly on the returned ByteBuffer
. Doing so will ensure that anyone else using the ByteBuffer will not be affected by changes to the
position.
public ImportCertificateRequest.Builder toBuilder()
ToCopyableBuildertoBuilder in interface ToCopyableBuilder<ImportCertificateRequest.Builder,ImportCertificateRequest>public static ImportCertificateRequest.Builder builder()
public static Class<? extends ImportCertificateRequest.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.