Class Certificate
- java.lang.Object
-
- software.amazon.awssdk.services.databasemigration.model.Certificate
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<Certificate.Builder,Certificate>
@Generated("software.amazon.awssdk:codegen") public final class Certificate extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Certificate.Builder,Certificate>
The SSL certificate that can be used to encrypt connections between the endpoints and the replication instance.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceCertificate.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Certificate.Builderbuilder()StringcertificateArn()The Amazon Resource Name (ARN) for the certificate.InstantcertificateCreationDate()The date that the certificate was created.StringcertificateIdentifier()A customer-assigned name for the certificate.StringcertificateOwner()The owner of the certificate.StringcertificatePem()The contents of a.pemfile, which contains an X.509 certificate.SdkBytescertificateWallet()The location of an imported Oracle Wallet certificate for use with SSL.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()IntegerkeyLength()The key length of the cryptographic algorithm being used.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends Certificate.Builder>serializableBuilderClass()StringsigningAlgorithm()The signing algorithm for the certificate.Certificate.BuildertoBuilder()StringtoString()Returns a string representation of this object.InstantvalidFromDate()The beginning date that the certificate is valid.InstantvalidToDate()The final date that the certificate is valid.-
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
-
certificateIdentifier
public final String certificateIdentifier()
A customer-assigned name for the certificate. Identifiers must begin with a letter and must contain only ASCII letters, digits, and hyphens. They can't end with a hyphen or contain two consecutive hyphens.
- Returns:
- A customer-assigned name for the certificate. Identifiers must begin with a letter and must contain only ASCII letters, digits, and hyphens. They can't end with a hyphen or contain two consecutive hyphens.
-
certificateCreationDate
public final Instant certificateCreationDate()
The date that the certificate was created.
- Returns:
- The date that the certificate was created.
-
certificatePem
public final String certificatePem()
The contents of a
.pemfile, which contains an X.509 certificate.- Returns:
- The contents of a
.pemfile, which contains an X.509 certificate.
-
certificateWallet
public final SdkBytes certificateWallet()
The location of an imported Oracle Wallet certificate for use with SSL. Example:
filebase64("${path.root}/rds-ca-2019-root.sso")- Returns:
- The location of an imported Oracle Wallet certificate for use with SSL. Example:
filebase64("${path.root}/rds-ca-2019-root.sso")
-
certificateArn
public final String certificateArn()
The Amazon Resource Name (ARN) for the certificate.
- Returns:
- The Amazon Resource Name (ARN) for the certificate.
-
certificateOwner
public final String certificateOwner()
The owner of the certificate.
- Returns:
- The owner of the certificate.
-
validFromDate
public final Instant validFromDate()
The beginning date that the certificate is valid.
- Returns:
- The beginning date that the certificate is valid.
-
validToDate
public final Instant validToDate()
The final date that the certificate is valid.
- Returns:
- The final date that the certificate is valid.
-
signingAlgorithm
public final String signingAlgorithm()
The signing algorithm for the certificate.
- Returns:
- The signing algorithm for the certificate.
-
keyLength
public final Integer keyLength()
The key length of the cryptographic algorithm being used.
- Returns:
- The key length of the cryptographic algorithm being used.
-
toBuilder
public Certificate.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<Certificate.Builder,Certificate>
-
builder
public static Certificate.Builder builder()
-
serializableBuilderClass
public static Class<? extends Certificate.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
-
-