Record Class CertificateRefreshConfiguration
java.lang.Object
java.lang.Record
io.micronaut.oraclecloud.certificates.config.CertificateRefreshConfiguration
- Record Components:
frequency
- The frequency. Default 24 hours.delay
- The initial delay. Default 24 hours.retry
- The retry configuration.
@ConfigurationProperties("oci.certificates.refresh")
public record CertificateRefreshConfiguration(Duration frequency, Duration delay, @Nullable io.micronaut.oraclecloud.certificates.config.CertificateRefreshConfiguration.RetryConfiguration retry)
extends Record
Configuration for certificate refresh frequency.
-
Constructor Summary
ConstructorsConstructorDescriptionCertificateRefreshConfiguration
(Duration frequency, Duration delay, io.micronaut.oraclecloud.certificates.config.CertificateRefreshConfiguration.RetryConfiguration retry) Creates an instance of aCertificateRefreshConfiguration
record class. -
Method Summary
Modifier and TypeMethodDescriptiondelay()
Returns the value of thedelay
record component.final boolean
Indicates whether some other object is "equal to" this one.Returns the value of thefrequency
record component.final int
hashCode()
Returns a hash code value for this object.io.micronaut.oraclecloud.certificates.config.CertificateRefreshConfiguration.RetryConfiguration
retry()
Returns the value of theretry
record component.final String
toString()
Returns a string representation of this record class.
-
Constructor Details
-
CertificateRefreshConfiguration
public CertificateRefreshConfiguration(@Bindable(defaultValue="24h") Duration frequency, @Bindable(defaultValue="24h") Duration delay, @Nullable io.micronaut.oraclecloud.certificates.config.CertificateRefreshConfiguration.RetryConfiguration retry) Creates an instance of aCertificateRefreshConfiguration
record class.
-
-
Method Details
-
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)
. -
frequency
Returns the value of thefrequency
record component.- Returns:
- the value of the
frequency
record component
-
delay
Returns the value of thedelay
record component.- Returns:
- the value of the
delay
record component
-
retry
@Nullable public io.micronaut.oraclecloud.certificates.config.CertificateRefreshConfiguration.RetryConfiguration retry()Returns the value of theretry
record component.- Returns:
- the value of the
retry
record component
-