Interface ImportCertificateRequest.Builder
-
- All Superinterfaces:
AcmRequest.Builder,AwsRequest.Builder,Buildable,CopyableBuilder<ImportCertificateRequest.Builder,ImportCertificateRequest>,SdkBuilder<ImportCertificateRequest.Builder,ImportCertificateRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- ImportCertificateRequest
@Mutable @NotThreadSafe public static interface ImportCertificateRequest.Builder extends AcmRequest.Builder, SdkPojo, CopyableBuilder<ImportCertificateRequest.Builder,ImportCertificateRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ImportCertificateRequest.Buildercertificate(SdkBytes certificate)The certificate to import.ImportCertificateRequest.BuildercertificateArn(String certificateArn)The Amazon Resource Name (ARN) of an imported certificate to replace.ImportCertificateRequest.BuildercertificateChain(SdkBytes certificateChain)The PEM encoded certificate chain.ImportCertificateRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)ImportCertificateRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)ImportCertificateRequest.BuilderprivateKey(SdkBytes privateKey)The private key that matches the public key in the certificate.ImportCertificateRequest.Buildertags(Collection<Tag> tags)One or more resource tags to associate with the imported certificate.ImportCertificateRequest.Buildertags(Consumer<Tag.Builder>... tags)One or more resource tags to associate with the imported certificate.ImportCertificateRequest.Buildertags(Tag... tags)One or more resource tags to associate with the imported certificate.-
Methods inherited from interface software.amazon.awssdk.services.acm.model.AcmRequest.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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
certificateArn
ImportCertificateRequest.Builder certificateArn(String 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
ImportCertificateRequest.Builder certificate(SdkBytes 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
ImportCertificateRequest.Builder privateKey(SdkBytes 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
ImportCertificateRequest.Builder certificateChain(SdkBytes 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
ImportCertificateRequest.Builder tags(Collection<Tag> 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
ImportCertificateRequest.Builder tags(Tag... 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
ImportCertificateRequest.Builder tags(Consumer<Tag.Builder>... 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 to#tags(List.) - 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:
#tags(java.util.Collection)
-
overrideConfiguration
ImportCertificateRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
ImportCertificateRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-