Class AttachCertificateToDistributionRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.lightsail.model.LightsailRequest
-
- software.amazon.awssdk.services.lightsail.model.AttachCertificateToDistributionRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<AttachCertificateToDistributionRequest.Builder,AttachCertificateToDistributionRequest>
@Generated("software.amazon.awssdk:codegen") public final class AttachCertificateToDistributionRequest extends LightsailRequest implements ToCopyableBuilder<AttachCertificateToDistributionRequest.Builder,AttachCertificateToDistributionRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceAttachCertificateToDistributionRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AttachCertificateToDistributionRequest.Builderbuilder()StringcertificateName()The name of the certificate to attach to a distribution.StringdistributionName()The name of the distribution that the certificate will be attached to.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()List<SdkField<?>>sdkFields()static Class<? extends AttachCertificateToDistributionRequest.Builder>serializableBuilderClass()AttachCertificateToDistributionRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
distributionName
public final 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.- Returns:
- 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.
-
certificateName
public final 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.- Returns:
- 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.
-
toBuilder
public AttachCertificateToDistributionRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<AttachCertificateToDistributionRequest.Builder,AttachCertificateToDistributionRequest>- Specified by:
toBuilderin classLightsailRequest
-
builder
public static AttachCertificateToDistributionRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends AttachCertificateToDistributionRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkRequest
-
-