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:
  • Method Details

    • 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 .pem file, which contains an X.509 certificate.

      Returns:
      The contents of a .pem file, 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()
      Description copied from interface: ToCopyableBuilder
      Take this object and create a builder that contains all of the current property values of this object.
      Specified by:
      toBuilder in interface ToCopyableBuilder<Certificate.Builder,Certificate>
      Returns:
      a builder for type T
    • builder

      public static Certificate.Builder builder()
    • serializableBuilderClass

      public static Class<? extends Certificate.Builder> serializableBuilderClass()
    • hashCode

      public final int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public final boolean equals(Object obj)
      Overrides:
      equals in class Object
    • equalsBySdkFields

      public final boolean equalsBySdkFields(Object obj)
      Description copied from interface: SdkPojo
      Indicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in an SdkPojo class, and is generated based on a service model.

      If an SdkPojo class does not have any inherited fields, equalsBySdkFields and equals are essentially the same.

      Specified by:
      equalsBySdkFields in interface SdkPojo
      Parameters:
      obj - the object to be compared with
      Returns:
      true if the other object equals to this object by sdk fields, false otherwise.
    • 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.
      Overrides:
      toString in class Object
    • getValueForField

      public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
    • sdkFields

      public final List<SdkField<?>> sdkFields()
      Specified by:
      sdkFields in interface SdkPojo
      Returns:
      List of SdkField in this POJO. May be empty list but should never be null.