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 SummaryFields
- 
Constructor SummaryConstructorsConstructorDescriptionOracleCloudCertificationsConfiguration(String certificateId, Long versionNumber, String certificateVersionName, Boolean enabled) Creates an instance of aOracleCloudCertificationsConfigurationrecord class.
- 
Method SummaryModifier 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- 
OracleCloudCertificationsConfigurationpublic OracleCloudCertificationsConfiguration(String certificateId, @Nullable Long versionNumber, @Nullable String certificateVersionName, @Nullable Boolean enabled) Creates an instance of aOracleCloudCertificationsConfigurationrecord class.- Parameters:
- certificateId- the value for the- certificateIdrecord component
- versionNumber- the value for the- versionNumberrecord component
- certificateVersionName- the value for the- certificateVersionNamerecord component
- enabled- the value for the- enabledrecord component
 
 
- 
- 
Method Details- 
isEnabledpublic boolean isEnabled()If Oracle Cloud certificate background and setup process should be enabled.- Specified by:
- isEnabledin interface- io.micronaut.core.util.Toggleable
- Returns:
- True if Oracle Cloud certificate process is enabled.
 
- 
toStringReturns 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.
- 
hashCodepublic 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.
- 
equalsIndicates 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).
- 
certificateIdReturns the value of thecertificateIdrecord component.- Returns:
- the value of the certificateIdrecord component
 
- 
versionNumberReturns the value of theversionNumberrecord component.- Returns:
- the value of the versionNumberrecord component
 
- 
certificateVersionNameReturns the value of thecertificateVersionNamerecord component.- Returns:
- the value of the certificateVersionNamerecord component
 
- 
enabledReturns the value of theenabledrecord component.- Returns:
- the value of the enabledrecord component
 
 
-