Record Class OracleCloudCertificationsConfiguration
java.lang.Object
java.lang.Record
io.micronaut.oraclecloud.certificates.OracleCloudCertificationsConfiguration
- Record Components:
certificateId- ocid of certificateversionNumber- version number of certificatecertificateVersionName- certificate nameenabled- 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 Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionOracleCloudCertificationsConfiguration(String certificateId, Long versionNumber, String certificateVersionName, Boolean enabled) Creates an instance of aOracleCloudCertificationsConfigurationrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thecertificateIdrecord component.Returns the value of thecertificateVersionNamerecord component.enabled()Returns the value of theenabledrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.booleanIf Oracle Cloud certificate background and setup process should be enabled.final StringtoString()Returns a string representation of this record class.Returns the value of theversionNumberrecord component.
-
Field Details
-
PREFIX
- See Also:
-
-
Constructor Details
-
OracleCloudCertificationsConfiguration
public OracleCloudCertificationsConfiguration(String certificateId, @Nullable Long versionNumber, @Nullable String certificateVersionName, @Nullable Boolean enabled) Creates an instance of aOracleCloudCertificationsConfigurationrecord class.- Parameters:
certificateId- the value for thecertificateIdrecord componentversionNumber- the value for theversionNumberrecord componentcertificateVersionName- the value for thecertificateVersionNamerecord componentenabled- the value for theenabledrecord component
-
-
Method Details
-
isEnabled
public boolean isEnabled()If Oracle Cloud certificate background and setup process should be enabled.- Specified by:
isEnabledin interfaceio.micronaut.core.util.Toggleable- Returns:
- True if Oracle Cloud certificate process is enabled.
-
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. -
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. -
equals
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 withObjects::equals(Object,Object). -
certificateId
Returns the value of thecertificateIdrecord component.- Returns:
- the value of the
certificateIdrecord component
-
versionNumber
Returns the value of theversionNumberrecord component.- Returns:
- the value of the
versionNumberrecord component
-
certificateVersionName
Returns the value of thecertificateVersionNamerecord component.- Returns:
- the value of the
certificateVersionNamerecord component
-
enabled
Returns the value of theenabledrecord component.- Returns:
- the value of the
enabledrecord component
-