public static interface ImportCertificateRequest.Builder extends TransferRequest.Builder, SdkPojo, CopyableBuilder<ImportCertificateRequest.Builder,ImportCertificateRequest>
| Modifier and Type | Method and Description |
|---|---|
ImportCertificateRequest.Builder |
activeDate(Instant activeDate)
An optional date that specifies when the certificate becomes active.
|
ImportCertificateRequest.Builder |
certificate(String certificate)
|
ImportCertificateRequest.Builder |
certificateChain(String certificateChain)
An optional list of certificates that make up the chain for the certificate that's being imported.
|
ImportCertificateRequest.Builder |
description(String description)
A short description that helps identify the certificate.
|
ImportCertificateRequest.Builder |
inactiveDate(Instant inactiveDate)
An optional date that specifies when the certificate becomes inactive.
|
ImportCertificateRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
ImportCertificateRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
ImportCertificateRequest.Builder |
privateKey(String privateKey)
|
ImportCertificateRequest.Builder |
tags(Collection<Tag> tags)
Key-value pairs that can be used to group and search for certificates.
|
ImportCertificateRequest.Builder |
tags(Consumer<Tag.Builder>... tags)
Key-value pairs that can be used to group and search for certificates.
|
ImportCertificateRequest.Builder |
tags(Tag... tags)
Key-value pairs that can be used to group and search for certificates.
|
ImportCertificateRequest.Builder |
usage(CertificateUsageType usage)
Specifies whether this certificate is used for signing or encryption.
|
ImportCertificateRequest.Builder |
usage(String usage)
Specifies whether this certificate is used for signing or encryption.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildImportCertificateRequest.Builder usage(String usage)
Specifies whether this certificate is used for signing or encryption.
usage - Specifies whether this certificate is used for signing or encryption.CertificateUsageType,
CertificateUsageTypeImportCertificateRequest.Builder usage(CertificateUsageType usage)
Specifies whether this certificate is used for signing or encryption.
usage - Specifies whether this certificate is used for signing or encryption.CertificateUsageType,
CertificateUsageTypeImportCertificateRequest.Builder certificate(String certificate)
For the CLI, provide a file path for a certificate in URI format. For example,
--certificate file://encryption-cert.pem. Alternatively, you can provide the raw content.
For the SDK, specify the raw content of a certificate file. For example,
--certificate "`cat encryption-cert.pem`".
certificate -
For the CLI, provide a file path for a certificate in URI format. For example,
--certificate file://encryption-cert.pem. Alternatively, you can provide the raw content.
For the SDK, specify the raw content of a certificate file. For example,
--certificate "`cat encryption-cert.pem`".
ImportCertificateRequest.Builder certificateChain(String certificateChain)
An optional list of certificates that make up the chain for the certificate that's being imported.
certificateChain - An optional list of certificates that make up the chain for the certificate that's being imported.ImportCertificateRequest.Builder privateKey(String privateKey)
For the CLI, provide a file path for a private key in URI format.For example,
--private-key file://encryption-key.pem. Alternatively, you can provide the raw content of the
private key file.
For the SDK, specify the raw content of a private key file. For example,
--private-key "`cat encryption-key.pem`"
privateKey -
For the CLI, provide a file path for a private key in URI format.For example,
--private-key file://encryption-key.pem. Alternatively, you can provide the raw content
of the private key file.
For the SDK, specify the raw content of a private key file. For example,
--private-key "`cat encryption-key.pem`"
ImportCertificateRequest.Builder activeDate(Instant activeDate)
An optional date that specifies when the certificate becomes active.
activeDate - An optional date that specifies when the certificate becomes active.ImportCertificateRequest.Builder inactiveDate(Instant inactiveDate)
An optional date that specifies when the certificate becomes inactive.
inactiveDate - An optional date that specifies when the certificate becomes inactive.ImportCertificateRequest.Builder description(String description)
A short description that helps identify the certificate.
description - A short description that helps identify the certificate.ImportCertificateRequest.Builder tags(Collection<Tag> tags)
Key-value pairs that can be used to group and search for certificates.
tags - Key-value pairs that can be used to group and search for certificates.ImportCertificateRequest.Builder tags(Tag... tags)
Key-value pairs that can be used to group and search for certificates.
tags - Key-value pairs that can be used to group and search for certificates.ImportCertificateRequest.Builder tags(Consumer<Tag.Builder>... tags)
Key-value pairs that can be used to group and search for certificates.
This is a convenience method that creates an instance of theTag.Builder avoiding the need to create one manually
via Tag.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and its
result is passed to #tags(List.
tags - a consumer that will call methods on
Tag.Builder#tags(java.util.Collection) ImportCertificateRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderImportCertificateRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2023. All rights reserved.