Class CertificateSettings
- java.lang.Object
-
- software.amazon.awssdk.services.amplify.model.CertificateSettings
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<CertificateSettings.Builder,CertificateSettings>
@Generated("software.amazon.awssdk:codegen") public final class CertificateSettings extends Object implements SdkPojo, Serializable, ToCopyableBuilder<CertificateSettings.Builder,CertificateSettings>
The type of SSL/TLS certificate to use for your custom domain. If a certificate type isn't specified, Amplify uses the default
AMPLIFY_MANAGEDcertificate.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceCertificateSettings.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CertificateSettings.Builderbuilder()StringcustomCertificateArn()The Amazon resource name (ARN) for the custom certificate that you have already added to Certificate Manager in your Amazon Web Services account.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends CertificateSettings.Builder>serializableBuilderClass()CertificateSettings.BuildertoBuilder()StringtoString()Returns a string representation of this object.CertificateTypetype()The certificate type.StringtypeAsString()The certificate type.-
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
-
type
public final CertificateType type()
The certificate type.
Specify
AMPLIFY_MANAGEDto use the default certificate that Amplify provisions for you.Specify
CUSTOMto use your own certificate that you have already added to Certificate Manager in your Amazon Web Services account. Make sure you request (or import) the certificate in the US East (N. Virginia) Region (us-east-1). For more information about using ACM, see Importing certificates into Certificate Manager in the ACM User guide.If the service returns an enum value that is not available in the current SDK version,
typewill returnCertificateType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtypeAsString().- Returns:
- The certificate type.
Specify
AMPLIFY_MANAGEDto use the default certificate that Amplify provisions for you.Specify
CUSTOMto use your own certificate that you have already added to Certificate Manager in your Amazon Web Services account. Make sure you request (or import) the certificate in the US East (N. Virginia) Region (us-east-1). For more information about using ACM, see Importing certificates into Certificate Manager in the ACM User guide. - See Also:
CertificateType
-
typeAsString
public final String typeAsString()
The certificate type.
Specify
AMPLIFY_MANAGEDto use the default certificate that Amplify provisions for you.Specify
CUSTOMto use your own certificate that you have already added to Certificate Manager in your Amazon Web Services account. Make sure you request (or import) the certificate in the US East (N. Virginia) Region (us-east-1). For more information about using ACM, see Importing certificates into Certificate Manager in the ACM User guide.If the service returns an enum value that is not available in the current SDK version,
typewill returnCertificateType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtypeAsString().- Returns:
- The certificate type.
Specify
AMPLIFY_MANAGEDto use the default certificate that Amplify provisions for you.Specify
CUSTOMto use your own certificate that you have already added to Certificate Manager in your Amazon Web Services account. Make sure you request (or import) the certificate in the US East (N. Virginia) Region (us-east-1). For more information about using ACM, see Importing certificates into Certificate Manager in the ACM User guide. - See Also:
CertificateType
-
customCertificateArn
public final String customCertificateArn()
The Amazon resource name (ARN) for the custom certificate that you have already added to Certificate Manager in your Amazon Web Services account.
This field is required only when the certificate type is
CUSTOM.- Returns:
- The Amazon resource name (ARN) for the custom certificate that you have already added to Certificate
Manager in your Amazon Web Services account.
This field is required only when the certificate type is
CUSTOM.
-
toBuilder
public CertificateSettings.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<CertificateSettings.Builder,CertificateSettings>
-
builder
public static CertificateSettings.Builder builder()
-
serializableBuilderClass
public static Class<? extends CertificateSettings.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
-
-