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.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
FieldsModifier and TypeFieldDescriptionstatic final StringDeprecated, for removal: This API element is subject to removal in a future version.static final StringDeprecated, 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
ConstructorsConstructorDescriptionOracleCloudCertificationsConfiguration(@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 aOracleCloudCertificationsConfigurationrecord class. -
Method Summary
Modifier and TypeMethodDescription@NonNull StringDeprecated, for removal: This API element is subject to removal in a future version.Returns the value of thecertificateIdrecord component.Deprecated, for removal: This API element is subject to removal in a future version.Returns the value of thecertificateVersionNamerecord component.booleanenabled()Deprecated, for removal: This API element is subject to removal in a future version.Returns the value of theenabledrecord component.final booleanDeprecated, for removal: This API element is subject to removal in a future version.Indicates whether some other object is "equal to" this one.@NonNull StringgetName()Deprecated, for removal: This API element is subject to removal in a future version.final inthashCode()Deprecated, for removal: This API element is subject to removal in a future version.Returns a hash code value for this object.final StringtoString()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 theversionNumberrecord component.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface io.micronaut.oraclecloud.certificates.config.OracleCloudCertificateProperties
isEnabled
-
Field Details
-
CERTIFICATE_ID
Deprecated, for removal: This API element is subject to removal in a future version.- See Also:
-
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 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
-
getName
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
getNamein interfaceio.micronaut.core.naming.Named
-
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. -
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. -
equals
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 withObjects::equals(Object,Object); primitive components are compared with '=='. -
certificateId
Deprecated, for removal: This API element is subject to removal in a future version.Returns the value of thecertificateIdrecord component.- Specified by:
certificateIdin interfaceOracleCloudCertificateProperties- Returns:
- the value of the
certificateIdrecord component
-
versionNumber
Deprecated, for removal: This API element is subject to removal in a future version.Returns the value of theversionNumberrecord component.- Specified by:
versionNumberin interfaceOracleCloudCertificateProperties- Returns:
- the value of the
versionNumberrecord component
-
certificateVersionName
Deprecated, for removal: This API element is subject to removal in a future version.Returns the value of thecertificateVersionNamerecord component.- Specified by:
certificateVersionNamein interfaceOracleCloudCertificateProperties- Returns:
- the value of the
certificateVersionNamerecord component
-
enabled
public boolean enabled()Deprecated, for removal: This API element is subject to removal in a future version.Returns the value of theenabledrecord component.- Specified by:
enabledin interfaceOracleCloudCertificateProperties- Returns:
- the value of the
enabledrecord component
-