Class ManagedCertificateRequest
- java.lang.Object
-
- software.amazon.awssdk.services.cloudfront.model.ManagedCertificateRequest
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ManagedCertificateRequest.Builder,ManagedCertificateRequest>
@Generated("software.amazon.awssdk:codegen") public final class ManagedCertificateRequest extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ManagedCertificateRequest.Builder,ManagedCertificateRequest>
An object that represents the request for the Amazon CloudFront managed ACM certificate.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceManagedCertificateRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ManagedCertificateRequest.Builderbuilder()CertificateTransparencyLoggingPreferencecertificateTransparencyLoggingPreference()You can opt out of certificate transparency logging by specifying thedisabledoption.StringcertificateTransparencyLoggingPreferenceAsString()You can opt out of certificate transparency logging by specifying thedisabledoption.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringprimaryDomainName()The primary domain name associated with the CloudFront managed ACM certificate.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends ManagedCertificateRequest.Builder>serializableBuilderClass()ManagedCertificateRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.ValidationTokenHostvalidationTokenHost()Specify how the HTTP validation token will be served when requesting the CloudFront managed ACM certificate.StringvalidationTokenHostAsString()Specify how the HTTP validation token will be served when requesting the CloudFront managed ACM certificate.-
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
-
validationTokenHost
public final ValidationTokenHost validationTokenHost()
Specify how the HTTP validation token will be served when requesting the CloudFront managed ACM certificate.
-
For
cloudfront, CloudFront will automatically serve the validation token. Choose this mode if you can point the domain's DNS to CloudFront immediately. -
For
self-hosted, you serve the validation token from your existing infrastructure. Choose this mode when you need to maintain current traffic flow while your certificate is being issued. You can place the validation token at the well-known path on your existing web server, wait for ACM to validate and issue the certificate, and then update your DNS to point to CloudFront.
If the service returns an enum value that is not available in the current SDK version,
validationTokenHostwill returnValidationTokenHost.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromvalidationTokenHostAsString().- Returns:
- Specify how the HTTP validation token will be served when requesting the CloudFront managed ACM
certificate.
-
For
cloudfront, CloudFront will automatically serve the validation token. Choose this mode if you can point the domain's DNS to CloudFront immediately. -
For
self-hosted, you serve the validation token from your existing infrastructure. Choose this mode when you need to maintain current traffic flow while your certificate is being issued. You can place the validation token at the well-known path on your existing web server, wait for ACM to validate and issue the certificate, and then update your DNS to point to CloudFront.
-
- See Also:
ValidationTokenHost
-
-
validationTokenHostAsString
public final String validationTokenHostAsString()
Specify how the HTTP validation token will be served when requesting the CloudFront managed ACM certificate.
-
For
cloudfront, CloudFront will automatically serve the validation token. Choose this mode if you can point the domain's DNS to CloudFront immediately. -
For
self-hosted, you serve the validation token from your existing infrastructure. Choose this mode when you need to maintain current traffic flow while your certificate is being issued. You can place the validation token at the well-known path on your existing web server, wait for ACM to validate and issue the certificate, and then update your DNS to point to CloudFront.
If the service returns an enum value that is not available in the current SDK version,
validationTokenHostwill returnValidationTokenHost.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromvalidationTokenHostAsString().- Returns:
- Specify how the HTTP validation token will be served when requesting the CloudFront managed ACM
certificate.
-
For
cloudfront, CloudFront will automatically serve the validation token. Choose this mode if you can point the domain's DNS to CloudFront immediately. -
For
self-hosted, you serve the validation token from your existing infrastructure. Choose this mode when you need to maintain current traffic flow while your certificate is being issued. You can place the validation token at the well-known path on your existing web server, wait for ACM to validate and issue the certificate, and then update your DNS to point to CloudFront.
-
- See Also:
ValidationTokenHost
-
-
primaryDomainName
public final String primaryDomainName()
The primary domain name associated with the CloudFront managed ACM certificate.
- Returns:
- The primary domain name associated with the CloudFront managed ACM certificate.
-
certificateTransparencyLoggingPreference
public final CertificateTransparencyLoggingPreference certificateTransparencyLoggingPreference()
You can opt out of certificate transparency logging by specifying the
disabledoption. Opt in by specifyingenabled. For more information, see Certificate Transparency Logging in the Certificate Manager User Guide.If the service returns an enum value that is not available in the current SDK version,
certificateTransparencyLoggingPreferencewill returnCertificateTransparencyLoggingPreference.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromcertificateTransparencyLoggingPreferenceAsString().- Returns:
- You can opt out of certificate transparency logging by specifying the
disabledoption. Opt in by specifyingenabled. For more information, see Certificate Transparency Logging in the Certificate Manager User Guide. - See Also:
CertificateTransparencyLoggingPreference
-
certificateTransparencyLoggingPreferenceAsString
public final String certificateTransparencyLoggingPreferenceAsString()
You can opt out of certificate transparency logging by specifying the
disabledoption. Opt in by specifyingenabled. For more information, see Certificate Transparency Logging in the Certificate Manager User Guide.If the service returns an enum value that is not available in the current SDK version,
certificateTransparencyLoggingPreferencewill returnCertificateTransparencyLoggingPreference.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromcertificateTransparencyLoggingPreferenceAsString().- Returns:
- You can opt out of certificate transparency logging by specifying the
disabledoption. Opt in by specifyingenabled. For more information, see Certificate Transparency Logging in the Certificate Manager User Guide. - See Also:
CertificateTransparencyLoggingPreference
-
toBuilder
public ManagedCertificateRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ManagedCertificateRequest.Builder,ManagedCertificateRequest>
-
builder
public static ManagedCertificateRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends ManagedCertificateRequest.Builder> serializableBuilderClass()
-
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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-