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
-
Constructor Summary
ConstructorDescriptionOracleCloudCertificationsConfiguration
(String certificateId, Long versionNumber, String certificateVersionName, Boolean enabled) Creates an instance of aOracleCloudCertificationsConfiguration
record class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thecertificateId
record component.Returns the value of thecertificateVersionName
record component.enabled()
Returns the value of theenabled
record component.final boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.boolean
If Oracle Cloud certificate background and setup process should be enabled.final String
toString()
Returns a string representation of this record class.Returns the value of theversionNumber
record 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 aOracleCloudCertificationsConfiguration
record class.- Parameters:
certificateId
- the value for thecertificateId
record componentversionNumber
- the value for theversionNumber
record componentcertificateVersionName
- the value for thecertificateVersionName
record componentenabled
- the value for theenabled
record component
-
-
Method Details
-
isEnabled
public boolean isEnabled()If Oracle Cloud certificate background and setup process should be enabled.- Specified by:
isEnabled
in 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 thecertificateId
record component.- Returns:
- the value of the
certificateId
record component
-
versionNumber
Returns the value of theversionNumber
record component.- Returns:
- the value of the
versionNumber
record component
-
certificateVersionName
Returns the value of thecertificateVersionName
record component.- Returns:
- the value of the
certificateVersionName
record component
-
enabled
Returns the value of theenabled
record component.- Returns:
- the value of the
enabled
record component
-