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.util.Toggleable

@ConfigurationProperties("oci.certificates") public record OracleCloudCertificationsConfiguration(String certificateId, @Nullable Long versionNumber, @Nullable String certificateVersionName, @Nullable Boolean enabled) extends Record implements io.micronaut.core.util.Toggleable
Allows the configuration of the Oracle Cloud certificate process.
  • Field Details

  • Constructor Details

    • OracleCloudCertificationsConfiguration

      public OracleCloudCertificationsConfiguration(String certificateId, @Nullable Long versionNumber, @Nullable String certificateVersionName, @Nullable Boolean enabled)
      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

    • isEnabled

      public boolean isEnabled()
      If Oracle Cloud certificate background and setup process should be enabled.
      Specified by:
      isEnabled in interface io.micronaut.core.util.Toggleable
      Returns:
      True if Oracle Cloud certificate process is enabled.
    • toString

      public final String toString()
      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()
      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)
      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. All components in this record class are compared with Objects::equals(Object,Object).
      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

      public String certificateId()
      Returns the value of the certificateId record component.
      Returns:
      the value of the certificateId record component
    • versionNumber

      @Nullable public Long versionNumber()
      Returns the value of the versionNumber record component.
      Returns:
      the value of the versionNumber record component
    • certificateVersionName

      @Nullable public String certificateVersionName()
      Returns the value of the certificateVersionName record component.
      Returns:
      the value of the certificateVersionName record component
    • enabled

      @Nullable public Boolean enabled()
      Returns the value of the enabled record component.
      Returns:
      the value of the enabled record component