Class CertificateOptions
- java.lang.Object
-
- software.amazon.awssdk.services.acm.model.CertificateOptions
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<CertificateOptions.Builder,CertificateOptions>
@Generated("software.amazon.awssdk:codegen") public final class CertificateOptions extends Object implements SdkPojo, Serializable, ToCopyableBuilder<CertificateOptions.Builder,CertificateOptions>
Structure that contains options for your certificate. You can use this structure to specify whether to opt in to or out of certificate transparency logging and export your certificate.
Some browsers require that public certificates issued for your domain be recorded in a log. Certificates that are not logged typically generate a browser error. Transparency makes it possible for you to detect SSL/TLS certificates that have been mistakenly or maliciously issued for your domain. For general information, see Certificate Transparency Logging.
You can export public ACM certificates to use with Amazon Web Services services as well as outside Amazon Web Services Cloud. For more information, see Certificate Manager exportable public certificate.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceCertificateOptions.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CertificateOptions.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)CertificateExportexport()You can opt in to allow the export of your certificates by specifyingENABLED.StringexportAsString()You can opt in to allow the export of your certificates by specifyingENABLED.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends CertificateOptions.Builder>serializableBuilderClass()CertificateOptions.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
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
-
certificateTransparencyLoggingPreference
public final CertificateTransparencyLoggingPreference certificateTransparencyLoggingPreference()
You can opt out of certificate transparency logging by specifying the
DISABLEDoption. Opt in by specifyingENABLED.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. - See Also:
CertificateTransparencyLoggingPreference
-
certificateTransparencyLoggingPreferenceAsString
public final String certificateTransparencyLoggingPreferenceAsString()
You can opt out of certificate transparency logging by specifying the
DISABLEDoption. Opt in by specifyingENABLED.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. - See Also:
CertificateTransparencyLoggingPreference
-
export
public final CertificateExport export()
You can opt in to allow the export of your certificates by specifying
ENABLED.If the service returns an enum value that is not available in the current SDK version,
exportwill returnCertificateExport.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromexportAsString().- Returns:
- You can opt in to allow the export of your certificates by specifying
ENABLED. - See Also:
CertificateExport
-
exportAsString
public final String exportAsString()
You can opt in to allow the export of your certificates by specifying
ENABLED.If the service returns an enum value that is not available in the current SDK version,
exportwill returnCertificateExport.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromexportAsString().- Returns:
- You can opt in to allow the export of your certificates by specifying
ENABLED. - See Also:
CertificateExport
-
toBuilder
public CertificateOptions.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<CertificateOptions.Builder,CertificateOptions>
-
builder
public static CertificateOptions.Builder builder()
-
serializableBuilderClass
public static Class<? extends CertificateOptions.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
-
-