public static interface AttachCertificateToDistributionRequest.Builder extends LightsailRequest.Builder, SdkPojo, CopyableBuilder<AttachCertificateToDistributionRequest.Builder,AttachCertificateToDistributionRequest>
Modifier and Type | Method and Description |
---|---|
AttachCertificateToDistributionRequest.Builder |
certificateName(String certificateName)
The name of the certificate to attach to a distribution.
|
AttachCertificateToDistributionRequest.Builder |
distributionName(String distributionName)
The name of the distribution that the certificate will be attached to.
|
AttachCertificateToDistributionRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
AttachCertificateToDistributionRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
build
overrideConfiguration
equalsBySdkFields, sdkFields
copy
applyMutation, build
AttachCertificateToDistributionRequest.Builder distributionName(String 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.
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.
AttachCertificateToDistributionRequest.Builder certificateName(String 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 be
example.com
.
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 be example.com
.
AttachCertificateToDistributionRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.AttachCertificateToDistributionRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.