Interface ImportCertificateRequest.Builder
- All Superinterfaces:
AcmRequest.Builder,AwsRequest.Builder,Buildable,CopyableBuilder<ImportCertificateRequest.Builder,,ImportCertificateRequest> SdkBuilder<ImportCertificateRequest.Builder,,ImportCertificateRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
ImportCertificateRequest
-
Method Summary
Modifier and TypeMethodDescriptioncertificate(SdkBytes certificate) The certificate to import.certificateArn(String certificateArn) The Amazon Resource Name (ARN) of an imported certificate to replace.certificateChain(SdkBytes certificateChain) The PEM encoded certificate chain.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.privateKey(SdkBytes privateKey) The private key that matches the public key in the certificate.tags(Collection<Tag> tags) One or more resource tags to associate with the imported certificate.tags(Consumer<Tag.Builder>... tags) One or more resource tags to associate with the imported certificate.One or more resource tags to associate with the imported certificate.Methods inherited from interface software.amazon.awssdk.services.acm.model.AcmRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
certificateArn
The Amazon Resource Name (ARN) of an imported certificate to replace. To import a new certificate, omit this field.
- Parameters:
certificateArn- The Amazon Resource Name (ARN) of an imported certificate to replace. To import a new certificate, omit this field.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
certificate
The certificate to import.
- Parameters:
certificate- The certificate to import.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
privateKey
The private key that matches the public key in the certificate.
- Parameters:
privateKey- The private key that matches the public key in the certificate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
certificateChain
The PEM encoded certificate chain.
- Parameters:
certificateChain- The PEM encoded certificate chain.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
One or more resource tags to associate with the imported certificate.
Note: You cannot apply tags when reimporting a certificate.
- Parameters:
tags- One or more resource tags to associate with the imported certificate.Note: You cannot apply tags when reimporting a certificate.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
One or more resource tags to associate with the imported certificate.
Note: You cannot apply tags when reimporting a certificate.
- Parameters:
tags- One or more resource tags to associate with the imported certificate.Note: You cannot apply tags when reimporting a certificate.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
One or more resource tags to associate with the imported certificate.
Note: You cannot apply tags when reimporting a certificate.
This is a convenience method that creates an instance of theTag.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totags(List<Tag>).- Parameters:
tags- a consumer that will call methods onTag.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
ImportCertificateRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
ImportCertificateRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-