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 SummaryModifier 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.BuilderbuildMethods inherited from interface software.amazon.awssdk.awscore.AwsRequest.BuilderoverrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
certificateArnThe 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.
 
- 
certificateThe certificate to import. - Parameters:
- certificate- The certificate to import.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
privateKeyThe 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.
 
- 
certificateChainThe 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.
 
- 
tagsOne 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.
 
- 
tagsOne 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.
 
- 
tagsOne 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 on- Tag.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
overrideConfigurationImportCertificateRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
- overrideConfigurationin interface- AwsRequest.Builder
- Parameters:
- overrideConfiguration- The override configuration.
- Returns:
- This object for method chaining.
 
- 
overrideConfigurationImportCertificateRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
- overrideConfigurationin interface- AwsRequest.Builder
- Parameters:
- builderConsumer- A- Consumerto which an empty- AwsRequestOverrideConfiguration.Builderwill be given.
- Returns:
- This object for method chaining.
 
 
-