Interface AttachCertificateToDistributionRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<AttachCertificateToDistributionRequest.Builder,AttachCertificateToDistributionRequest>,LightsailRequest.Builder,SdkBuilder<AttachCertificateToDistributionRequest.Builder,AttachCertificateToDistributionRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- AttachCertificateToDistributionRequest
public static interface AttachCertificateToDistributionRequest.Builder extends LightsailRequest.Builder, SdkPojo, CopyableBuilder<AttachCertificateToDistributionRequest.Builder,AttachCertificateToDistributionRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AttachCertificateToDistributionRequest.BuildercertificateName(String certificateName)The name of the certificate to attach to a distribution.AttachCertificateToDistributionRequest.BuilderdistributionName(String distributionName)The name of the distribution that the certificate will be attached to.AttachCertificateToDistributionRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)AttachCertificateToDistributionRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)-
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 Detail
-
distributionName
AttachCertificateToDistributionRequest.Builder distributionName(String 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
AttachCertificateToDistributionRequest.Builder certificateName(String 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)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
AttachCertificateToDistributionRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-