Interface AttachCertificateToDistributionRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<AttachCertificateToDistributionRequest.Builder,,AttachCertificateToDistributionRequest> LightsailRequest.Builder,SdkBuilder<AttachCertificateToDistributionRequest.Builder,,AttachCertificateToDistributionRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
AttachCertificateToDistributionRequest
-
Method Summary
Modifier and TypeMethodDescriptioncertificateName(String certificateName) The name of the certificate to attach to a distribution.distributionName(String distributionName) The name of the distribution that the certificate will be attached to.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.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.lightsail.model.LightsailRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
distributionName
The name of the distribution that the certificate will be attached to.
Use the
GetDistributionsaction to get a list of distribution names that you can specify.- Parameters:
distributionName- The name of the distribution that the certificate will be attached to.Use the
GetDistributionsaction to get a list of distribution names that you can specify.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
certificateName
The name of the certificate to attach to a distribution.
Only certificates with a status of
ISSUEDcan be attached to a distribution.Use the
GetCertificatesaction to get a list of certificate names that you can specify.This is the name of the certificate resource type and is used only to reference the certificate in other API actions. It can be different than the domain name of the certificate. For example, your certificate name might be
WordPress-Blog-Certificateand the domain name of the certificate might beexample.com.- Parameters:
certificateName- The name of the certificate to attach to a distribution.Only certificates with a status of
ISSUEDcan be attached to a distribution.Use the
GetCertificatesaction to get a list of certificate names that you can specify.This is the name of the certificate resource type and is used only to reference the certificate in other API actions. It can be different than the domain name of the certificate. For example, your certificate name might be
WordPress-Blog-Certificateand the domain name of the certificate might beexample.com.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
AttachCertificateToDistributionRequest.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
AttachCertificateToDistributionRequest.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.
-