Record Class OracleCloudCertificationsConfiguration

java.lang.Object
java.lang.Record
io.micronaut.oraclecloud.certificates.OracleCloudCertificationsConfiguration
Record Components:
certificateId - ocid of certificate
versionNumber - version number of certificate
certificateVersionName - certificate name
enabled - flag for enabling feature
All Implemented Interfaces:
io.micronaut.core.naming.Named, io.micronaut.core.util.Toggleable, OracleCloudCertificateProperties

@ConfigurationProperties("oci.certificates") @Deprecated(forRemoval=true) @Requires(property="oci.certificates.certificate-id") @Named("deprecated") public record OracleCloudCertificationsConfiguration(@NonNull String certificateId, @Nullable Long versionNumber, @Nullable String certificateVersionName, boolean enabled) extends Record implements io.micronaut.core.util.Toggleable, OracleCloudCertificateProperties
Deprecated, for removal: This API element is subject to removal in a future version.
Allows the configuration of the default Oracle Cloud certificate to use.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    static final String
    Deprecated, for removal: This API element is subject to removal in a future version.
     

    Fields inherited from interface io.micronaut.oraclecloud.certificates.config.OracleCloudCertificateProperties

    PREFIX
  • Constructor Summary

    Constructors
    Constructor
    Description
    OracleCloudCertificationsConfiguration(@NonNull String certificateId, Long versionNumber, String certificateVersionName, boolean enabled)
    Deprecated, for removal: This API element is subject to removal in a future version.
    Creates an instance of a OracleCloudCertificationsConfiguration record class.
  • Method Summary

    Modifier and Type
    Method
    Description
    @NonNull String
    Deprecated, for removal: This API element is subject to removal in a future version.
    Returns the value of the certificateId record component.
    Deprecated, for removal: This API element is subject to removal in a future version.
    Returns the value of the certificateVersionName record component.
    boolean
    Deprecated, for removal: This API element is subject to removal in a future version.
    Returns the value of the enabled record component.
    final boolean
    Deprecated, for removal: This API element is subject to removal in a future version.
    Indicates whether some other object is "equal to" this one.
    @NonNull String
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    final int
    Deprecated, for removal: This API element is subject to removal in a future version.
    Returns a hash code value for this object.
    final String
    Deprecated, for removal: This API element is subject to removal in a future version.
    Returns a string representation of this record class.
    Deprecated, for removal: This API element is subject to removal in a future version.
    Returns the value of the versionNumber record component.

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface io.micronaut.oraclecloud.certificates.config.OracleCloudCertificateProperties

    isEnabled
  • Field Details

    • CERTIFICATE_ID

      public static final String CERTIFICATE_ID
      Deprecated, for removal: This API element is subject to removal in a future version.
      See Also:
    • ENABLED_PROPERTY

      public static final String ENABLED_PROPERTY
      Deprecated, for removal: This API element is subject to removal in a future version.
      See Also:
  • Constructor Details

    • OracleCloudCertificationsConfiguration

      public OracleCloudCertificationsConfiguration(@NonNull @NonNull String certificateId, @Nullable Long versionNumber, @Nullable String certificateVersionName, boolean enabled)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Creates an instance of a OracleCloudCertificationsConfiguration record class.
      Parameters:
      certificateId - the value for the certificateId record component
      versionNumber - the value for the versionNumber record component
      certificateVersionName - the value for the certificateVersionName record component
      enabled - the value for the enabled record component
  • Method Details

    • getName

      @NonNull public @NonNull String getName()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      getName in interface io.micronaut.core.naming.Named
    • toString

      public final String toString()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • hashCode

      public final int hashCode()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Returns a hash code value for this object. The value is derived from the hash code of each of the record components.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. Reference components are compared with Objects::equals(Object,Object); primitive components are compared with '=='.
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • certificateId

      @NonNull public @NonNull String certificateId()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Returns the value of the certificateId record component.
      Specified by:
      certificateId in interface OracleCloudCertificateProperties
      Returns:
      the value of the certificateId record component
    • versionNumber

      @Nullable public Long versionNumber()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Returns the value of the versionNumber record component.
      Specified by:
      versionNumber in interface OracleCloudCertificateProperties
      Returns:
      the value of the versionNumber record component
    • certificateVersionName

      @Nullable public String certificateVersionName()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Returns the value of the certificateVersionName record component.
      Specified by:
      certificateVersionName in interface OracleCloudCertificateProperties
      Returns:
      the value of the certificateVersionName record component
    • enabled

      public boolean enabled()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Returns the value of the enabled record component.
      Specified by:
      enabled in interface OracleCloudCertificateProperties
      Returns:
      the value of the enabled record component