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
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.lightsail.model.LightsailRequest.Builder
build
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
-
distributionName
The name of the distribution that the certificate will be attached to.
Use the
GetDistributions
action 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
GetDistributions
action 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
ISSUED
can be attached to a distribution.Use the
GetCertificates
action 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-Certificate
and 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
ISSUED
can be attached to a distribution.Use the
GetCertificates
action 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-Certificate
and 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.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
AttachCertificateToDistributionRequest.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.
-