@Generated(value="software.amazon.awssdk:codegen") public final class AttachCertificateToDistributionRequest extends LightsailRequest implements ToCopyableBuilder<AttachCertificateToDistributionRequest.Builder,AttachCertificateToDistributionRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
AttachCertificateToDistributionRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static AttachCertificateToDistributionRequest.Builder |
builder() |
String |
certificateName()
The name of the certificate to attach to a distribution.
|
String |
distributionName()
The name of the distribution that the certificate will be attached to.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends AttachCertificateToDistributionRequest.Builder> |
serializableBuilderClass() |
AttachCertificateToDistributionRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final 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.
Use the GetDistributions action to get a list of distribution names that you can specify.
public final 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.
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.
public AttachCertificateToDistributionRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<AttachCertificateToDistributionRequest.Builder,AttachCertificateToDistributionRequest>toBuilder in class LightsailRequestpublic static AttachCertificateToDistributionRequest.Builder builder()
public static Class<? extends AttachCertificateToDistributionRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2022. All rights reserved.