Interface ImportCertificateAuthorityCertificateRequest.Builder
- All Superinterfaces:
AcmPcaRequest.Builder
,AwsRequest.Builder
,Buildable
,CopyableBuilder<ImportCertificateAuthorityCertificateRequest.Builder,
,ImportCertificateAuthorityCertificateRequest> SdkBuilder<ImportCertificateAuthorityCertificateRequest.Builder,
,ImportCertificateAuthorityCertificateRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
ImportCertificateAuthorityCertificateRequest
-
Method Summary
Modifier and TypeMethodDescriptioncertificate
(SdkBytes certificate) The PEM-encoded certificate for a private CA.certificateAuthorityArn
(String certificateAuthorityArn) The Amazon Resource Name (ARN) that was returned when you called CreateCertificateAuthority.certificateChain
(SdkBytes certificateChain) A PEM-encoded file that contains all of your certificates, other than the certificate you're importing, chaining up to your root CA.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Methods inherited from interface software.amazon.awssdk.services.acmpca.model.AcmPcaRequest.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, sdkFields
-
Method Details
-
certificateAuthorityArn
ImportCertificateAuthorityCertificateRequest.Builder certificateAuthorityArn(String certificateAuthorityArn) The Amazon Resource Name (ARN) that was returned when you called CreateCertificateAuthority. This must be of the form:
arn:aws:acm-pca:region:account:certificate-authority/12345678-1234-1234-1234-123456789012
- Parameters:
certificateAuthorityArn
- The Amazon Resource Name (ARN) that was returned when you called CreateCertificateAuthority. This must be of the form:arn:aws:acm-pca:region:account:certificate-authority/12345678-1234-1234-1234-123456789012
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
certificate
The PEM-encoded certificate for a private CA. This may be a self-signed certificate in the case of a root CA, or it may be signed by another CA that you control.
- Parameters:
certificate
- The PEM-encoded certificate for a private CA. This may be a self-signed certificate in the case of a root CA, or it may be signed by another CA that you control.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
certificateChain
A PEM-encoded file that contains all of your certificates, other than the certificate you're importing, chaining up to your root CA. Your Amazon Web Services Private CA-hosted or on-premises root certificate is the last in the chain, and each certificate in the chain signs the one preceding.
This parameter must be supplied when you import a subordinate CA. When you import a root CA, there is no chain.
- Parameters:
certificateChain
- A PEM-encoded file that contains all of your certificates, other than the certificate you're importing, chaining up to your root CA. Your Amazon Web Services Private CA-hosted or on-premises root certificate is the last in the chain, and each certificate in the chain signs the one preceding.This parameter must be supplied when you import a subordinate CA. When you import a root CA, there is no chain.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
ImportCertificateAuthorityCertificateRequest.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
ImportCertificateAuthorityCertificateRequest.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.
-